Date: Mon, 23 Feb 2004 16:43:53 -0500 From: Jason Andresen <jandrese@mitre.org> To: riggs@rrr.de Cc: ports@freebsd.org Subject: FreeBSD Port: mplayer-0.92.0 Message-ID: <403A7419.1070804@mitre.org>
next in thread | raw e-mail | index | archive | help
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@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403A7419.1070804>