[DVDnav-discuss] quick explanation needed

gui42 gui42 at free.fr
Sun Jul 29 10:20:59 CEST 2007


Good morning

> please, report the output of
> dvdnav-config --minilibs -L/usr/lib -ldvdnav -lpthread

$ dvdnav-config --minilibs -L/usr/lib -ldvdnav -lpthread
Usage: dvdnav-config [OPTIONS] [LIBRARIES]
Options:
         [--prefix[=DIR]]
         [--version]
         [--libs]
         [--cflags]
         [--minilibs --minicflags]


> if it doesn't show something like:
> $ ./obj/dvdnav-config --minilibs
> -L/usr/local/lib -ldvdnavmini -lpthread
As I am not sure of the first output you asked, here is :
$ dvdnav-config --minilibs
-L/usr/lib -ldvdnavmini -lpthread


> you are using an old version. (did you read this morning's -svnlog? )
I delete my libdvdnav folder this morning and downloaded the SVN again, 
just to be really sure ?

I don't know anything about programming but, I wonder if it is normal 
that in the "cc check" during configure of mplayer, we find this :
"ld: cannot find -ldvdnav".
Maybe it is "looking for" -ldvdnav instead of -ldvdnavmini ?!

Thanks
Guillaume



============ Checking for DVD support (libdvdnav) ============
4.1.1
-L/usr/lib -ldvdnavmini -lpthread

#include <inttypes.h>
#include <dvdnav.h>
int main(void) { dvdnav_t *dvd=0; return 0; }

cc -Wdisabled-optimization -Wno-pointer-sign 
-Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch 
-Wpointer-arith -Wredundant-decls -O4 -march=k8 -mtune=k8 -pipe 
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/usr/X11/include 
-I/usr/include/ -I/usr/include/SDL  -D_REENTRANT 
-I/usr/include/freetype2 -I/usr/include -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/libpng12    -L/usr/lib -L/usr/lib -Wl,-z,noexecstack 
/usr/lib/live/liveMedia/libliveMedia.a 
/usr/lib/live/groupsock/libgroupsock.a 
/usr/lib/live/UsageEnvironment/libUsageEnvironment.a 
/usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a 
            -lncurses -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread 
-ldvdread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig 
-L/usr/lib -lfribidi -lz -lmad  -ltheora -logg   -lmpcdec  -lstdc++ -ldv 
-lxvidcore -lm -lpthread -ldl -rdynamic  -lXext -lX11 -lpthread -lXv 
-lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -lcaca -lcucul -lvga 
-Wl,-rpath,/usr/lib -lSDL -lpthread -lfaac -lx264 -lpthread -lmp3lame 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0 -lglib-2.0  -lfaac -lx264 -lpthread -lmp3lame -o 
/tmp/mplayer-conf-24619-4787.o /tmp/mplayer-conf-17780-4787.c 
-I/usr/include -I/usr/include/dvdnav -I/usr/include/dvdread/ 
-DDVDNAV_USES_EXTERNAL_DVDREAD -L/usr/lib -ldvdnav -ldvdread -lpthread 
-ldl -lpthread
/tmp/mplayer-conf-17780-4787.c: In function 'main':
/tmp/mplayer-conf-17780-4787.c:3: warning: unused variable 'dvd'
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld: 
cannot find -ldvdnav
collect2: ld returned 1 exit status


Result is: no
##########################################



More information about the DVDnav-discuss mailing list