[MPlayer-dev-eng] [PATCH] Darwin dvdkit fixes

Klokan Petr Pridal xpridal at informatics.muni.cz
Tue Jun 11 03:01:45 CEST 2002


Hello,

I have applied all patches and there is still bugs in the dvd_reader.c..
Error messages:

cc -I. -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER  -D_LARGEFILE64_SOURCE -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -ffast-math -fomit-frame-pointer  -c -o dvd_reader.o dvd_reader.c
dvd_reader.c:56: syntax error before `typedef'
dvd_reader.c: In function `DVDOpenImageFile':
dvd_reader.c:168: warning: assignment makes pointer from integer without a cast
dvd_reader.c: In function `DVDOpen':
dvd_reader.c:293: warning: assignment discards qualifiers from pointer target type
dvd_reader.c: In function `DVDReadBlocksPath':
dvd_reader.c:801: `off64_t' undeclared (first use in this function)
dvd_reader.c:801: (Each undeclared identifier is reported only once
dvd_reader.c:801: for each function it appears in.)
dvd_reader.c:801: parse error before `off'
dvd_reader.c:810: `off' undeclared (first use in this function)
dvd_reader.c:840: parse error before `0'
make: *** [dvd_reader.o] Error 1

[localhost:~/Desktop/MPlayer-20020610.my/libmpdvdkit] klokan% cc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
Apple Computer, Inc. version gcc-934.3, based on gcc version 2.95.2 19991024 (release)

Klokan
-- 
 (\_/)    Klokan Petr Pridal
 (o o)    ----------------------------
  (.)     student FI MU Brno, webmaster http://www.linux.cz/
 (] [) _  mailto:klokan at seznam.cz
 {~~~}/ ) ICQ:3674202
(')  (')  http://klokan.misto.cz/
 \_)-(_)  Look at http://www.fi.muni.cz/~xpridal/



More information about the MPlayer-dev-eng mailing list