[MPlayer-users] Bug Report: Compilation problem (version numbers/gcc 3.3)

D Richard Felker III dalias at aerifal.cx
Fri Jul 25 18:41:00 CEST 2003


On Fri, Jul 25, 2003 at 05:01:56PM +0200, René-Pierre Lehmann wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> I get a compilation error when I try to build mplayer with 
> './configure --enable-dvdnav' :
> 
> make[1]: Entering directory `/home/ripi/src/mplayer-cvs'
> ./version.sh `gcc -dumpversion`
> gcc -MM -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math 
> -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I-I/usr/include 
> -I/usr/include/dvdnav   -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   
> -DCODECS2HTML mplayer.c mencoder.c mplayer.c mp_msg.c cpudetect.c codec-cfg.c 
> cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c 
> vobsub.c subreader.c sub_cc.c find_sub.c m_config.c m_option.c parser-cfg.c 
> m_struct.c unrarlib.c mixer.c parser-mpcmd.c mencoder.c mp_msg-mencoder.c 
> cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c 
> playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c 
> m_config.c m_option.c parser-cfg.c m_struct.c unrarlib.c libao2/afmt.c 
> divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c 
> libvo/font_load_ft.c xvid_vbr.c parser-mecmd.c 1>.depend
> mplayer.c:3015:5: invalid digit "9" in octal constant
> mplayer.c:3050:5: invalid digit "9" in octal constant
> mplayer.c:3015:5: invalid digit "9" in octal constant
> mplayer.c:3050:5: invalid digit "9" in octal constant
> make[1]: *** [depend] Error 1
> 
> I'm using debian sid with the latest gcc 3.3:
> (GCC) 3.3.1 20030722 (Debian prerelease)
> and libdvdnav 0.1.9 from the 'libdvdnav4' package.
> 
> The line which make this error happen is '#define DVDNAVVERSION 019' in 
> config.h.
> gcc 3.2 only issues a warning on this.

Yes, this is a bug in dvdnav -- apparently the authors don't know C
any better than they know good library design. ;)

OK, the serious answer now. dvdnav has not been supported by mplayer
for a long time, and will not work even if you fix this bug in dvdnav
header. It never worked much, but if you want to play with it, you'll
either have to revert to a very old version of dvdnav (somewhere
between 1 and 2 years old) or do a lot of coding to fix it. There is a
reason dvdnav is disabled by default rather than autodetected.

BTW, to the devs...should we remove dvdnav entirely from the configure
script so we stop getting bug reports like this?

Rich



More information about the MPlayer-users mailing list