FreeBSD Port: mplayer-0.92.0

Jason Andresen jandrese at
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

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 
cc -c -O -pipe -march=athlon-xp -O3 -ffast-math -fomit-frame-pointer 
-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 
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 
mplayer.c:2964: error: too few arguments to function 
mplayer.c:2967: error: too few arguments to function 
mplayer.c:2970: error: too few arguments to function 
mplayer.c:2977: error: too few arguments to function 
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:

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
  |\/ |  |    |    / _|  Network and Distributed Systems Engineer
_|  _|___|  _| _|_\___| Office: 703-883-7755

More information about the freebsd-ports mailing list