[MEncoder-users] Problem building mplayer svn 28284 or 28285 on Mac OS X 10.5.6

L Lee llee040 at sbcglobal.net
Mon Jan 12 18:34:05 CET 2009


On 1/10/09 3:45 AM, "Reimar Döffinger"
<Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

>... and where the -I/sw/include that is probably in
> that came from.

I used Fink to remove its version of libdvdread4 and mplayer once again
compiled without errors with no configuration options specified. That may be
the best solution for me, because I don't believe there is a specific reason
for me to have the Fink package for libdvdread4 installed. Anyway, does the
following information provide what you have asked for regarding where the
-I/sw/include came from?

-----
libdvdread4
Library which provides functions for reading DVD video disks

Unstable:    0.9.4-15

libdvdread provides a simple foundation for reading DVD video disks. It
provides the functionality that is required to access many DVDs. It parses
IFO files, reads NAV-blocks, and performs CSS authentication and
descrambling.

Usage Notes:
Use libdvdread.3/libdvdread.3-shlibs instead.

Web site: http://www.dtek.chalmers.se/~dvd/downloads.shtml

Maintainer: Justin F. Hallett <thesin at users.sourceforge.net>
-----


> It would help us if you could post the gcc commandline that was used in
> the case that failed...

I'm up to svn 28293 now. Here's the command that fails, if I understand your
request correctly. If not, please explain further. Thanks.


-----
cc -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
-std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer
-mdynamic-no-pic -falign-loops=16 -shared-libgcc -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -I/usr/local/include
-I/usr/X11/include -I/sw/include -Ilibdvdread4
-I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include
-I/sw/include -I/sw/include   -Ilibdvdnav -D__USE_UNIX98 -D_GNU_SOURCE
-DHAVE_CONFIG_H -Ilibdvdcss -DHAVE_DVDCSS_DVDCSS_H   -c -o
libdvdread4/dvd_reader.o libdvdread4/dvd_reader.c
In file included from libdvdread4/dvd_reader.c:70:
libdvdread4/dvdread/dvd_reader.h:65: error: redefinition of typedef
'dvd_reader_t'
/sw/include/dvdread/dvd_reader.h:55: error: previous declaration of
'dvd_reader_t' was here
libdvdread4/dvdread/dvd_reader.h:70: error: redefinition of typedef
'dvd_file_t'
/sw/include/dvdread/dvd_reader.h:60: error: previous declaration of
'dvd_file_t' was here
libdvdread4/dvdread/dvd_reader.h:94: warning: redundant redeclaration of
'DVDOpen'
/sw/include/dvdread/dvd_reader.h:84: warning: previous declaration of
'DVDOpen' was here
libdvdread4/dvdread/dvd_reader.h:105: warning: redundant redeclaration of
'DVDClose'
/sw/include/dvdread/dvd_reader.h:95: warning: previous declaration of
'DVDClose' was here
libdvdread4/dvdread/dvd_reader.h:111: error: redeclaration of enumerator
'DVD_READ_INFO_FILE'
/sw/include/dvdread/dvd_reader.h:101: error: previous definition of
'DVD_READ_INFO_FILE' was here
libdvdread4/dvdread/dvd_reader.h:112: error: redeclaration of enumerator
'DVD_READ_INFO_BACKUP_FILE'
/sw/include/dvdread/dvd_reader.h:102: error: previous definition of
'DVD_READ_INFO_BACKUP_FILE' was here
libdvdread4/dvdread/dvd_reader.h:113: error: redeclaration of enumerator
'DVD_READ_MENU_VOBS'
/sw/include/dvdread/dvd_reader.h:103: error: previous definition of
'DVD_READ_MENU_VOBS' was here
libdvdread4/dvdread/dvd_reader.h:117: error: redeclaration of enumerator
'DVD_READ_TITLE_VOBS'
/sw/include/dvdread/dvd_reader.h:107: error: previous definition of
'DVD_READ_TITLE_VOBS' was here
libdvdread4/dvdread/dvd_reader.h:117: error: conflicting types for
'dvd_read_domain_t'
/sw/include/dvdread/dvd_reader.h:107: error: previous declaration of
'dvd_read_domain_t' was here
libdvdread4/dvdread/dvd_reader.h:132: error: conflicting types for
'DVDOpenFile'
/sw/include/dvdread/dvd_reader.h:122: error: previous declaration of
'DVDOpenFile' was here
libdvdread4/dvdread/dvd_reader.h:141: warning: redundant redeclaration of
'DVDCloseFile'
/sw/include/dvdread/dvd_reader.h:131: warning: previous declaration of
'DVDCloseFile' was here
libdvdread4/dvdread/dvd_reader.h:158: warning: redundant redeclaration of
'DVDReadBlocks'
/sw/include/dvdread/dvd_reader.h:148: warning: previous declaration of
'DVDReadBlocks' was here
libdvdread4/dvdread/dvd_reader.h:172: warning: redundant redeclaration of
'DVDFileSeek'
/sw/include/dvdread/dvd_reader.h:162: warning: previous declaration of
'DVDFileSeek' was here
libdvdread4/dvdread/dvd_reader.h:186: warning: redundant redeclaration of
'DVDReadBytes'
/sw/include/dvdread/dvd_reader.h:176: warning: previous declaration of
'DVDReadBytes' was here
libdvdread4/dvdread/dvd_reader.h:196: warning: redundant redeclaration of
'DVDFileSize'
/sw/include/dvdread/dvd_reader.h:186: warning: previous declaration of
'DVDFileSize' was here
libdvdread4/dvdread/dvd_reader.h:211: warning: redundant redeclaration of
'DVDDiscID'
/sw/include/dvdread/dvd_reader.h:201: warning: previous declaration of
'DVDDiscID' was here
libdvdread4/dvdread/dvd_reader.h:232: warning: redundant redeclaration of
'DVDUDFVolumeInfo'
/sw/include/dvdread/dvd_reader.h:222: warning: previous declaration of
'DVDUDFVolumeInfo' was here
libdvdread4/dvdread/dvd_reader.h:258: warning: redundant redeclaration of
'DVDISOVolumeInfo'
/sw/include/dvdread/dvd_reader.h:246: warning: previous declaration of
'DVDISOVolumeInfo' was here
libdvdread4/dvdread/dvd_reader.h:272: warning: redundant redeclaration of
'DVDUDFCacheLevel'
/sw/include/dvdread/dvd_reader.h:260: warning: previous declaration of
'DVDUDFCacheLevel' was here
libdvdread4/dvd_reader.c:823: error: conflicting types for 'DVDOpenFile'
/sw/include/dvdread/dvd_reader.h:122: error: previous declaration of
'DVDOpenFile' was here
make: *** [libdvdread4/dvd_reader.o] Error 1
-----



-- 
Laine Lee





More information about the MEncoder-users mailing list