FreeBSD Port: mplayer-0.92.0
Jason Andresen
jandrese at mitre.org
Mon Feb 23 13:44:00 PST 2004
I'm having some trouble with libdvdnav and the latest mplayer.
I have libdvdnav 0.1.9 installed, and configure very nicely puts
#define DVDNAVVERSION 019
in config.h. Oops. 019 is interperted as an illegal octal number in C,
and gcc barfs.
I hacked that, but the build dies again further down:
gmake[1]: Leaving directory
`/data/ports/multimedia/mplayer/work/MPlayer-0.92'
cc -c -O -pipe -march=athlon-xp -O3 -ffast-math -fomit-frame-pointer
-D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux
-Iloader -Ilibvo -I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include
-I-I/usr/local/include -I/usr/local/include/dvdnav -I/usr/local/include
-D_THREAD_SAFE -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/SDL11
-I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -o mplayer.o mplayer.c
mplayer.c: In function `main':
mplayer.c:720: warning: passing arg 2 of `m_config_register_options'
from incompatible pointer type
mplayer.c:2911: error: structure has no member named `new_cell'
mplayer.c:2942: error: `DVDNAV_SEEK_DONE' undeclared (first use in this
function)
mplayer.c:2942: error: (Each undeclared identifier is reported only once
mplayer.c:2942: error: for each function it appears in.)
mplayer.c:2961: error: too few arguments to function
`dvdnav_upper_button_select'
mplayer.c:2964: error: too few arguments to function
`dvdnav_lower_button_select'
mplayer.c:2967: error: too few arguments to function
`dvdnav_left_button_select'
mplayer.c:2970: error: too few arguments to function
`dvdnav_right_button_select'
mplayer.c:2977: error: too few arguments to function
`dvdnav_button_activate'
gmake: *** [mplayer.o] Error 1
*** Error code 2
Stop in /data/ports/multimedia/mplayer.
Apparently libdvdnav 0.1.9 is just completely broken in mplayer. In fact:
http://zebra.fh-weingarten.de/~maxi/html/mplayer-users/2003-06/msg00351.html
It looks like the best option is just to remove the WITH_LIBDVDNAV flag
from the makefile entirely for the time being.
--
\ |_ _|__ __|_ \ __| Jason Andresen jandrese at mitre.org
|\/ | | | / _| Network and Distributed Systems Engineer
_| _|___| _| _|_\___| Office: 703-883-7755
More information about the freebsd-ports
mailing list