Good morning As I compiled mplayer this weekend, I discovered dvdnav was under work again, so tried it. It compiles well (just one weird thing is that configure is called configure2), but it doesn't work any better with mplayer : I install libdvdnav on its own (making a package), and I then compile mplayer (for which I have to modify configure, line 7308, replace minilibs by libs, otherwise mplayer couldn't find dvdnav) but I get messages complaining that it can't find some reference in a function (sorry I didn't copy the messages). Could you please just modify the Install file so that everybody could know if there is anything special to do to compile libdvdnav itself and/or mplayer ? Thanks for your good work anyway, Have a nice day, Guillaume
gui42@free.fr wrote:
Good morning
As I compiled mplayer this weekend, I discovered dvdnav was under work again, so tried it. It compiles well (just one weird thing is that configure is called configure2), but it doesn't work any better with mplayer :
there's been a considerable amount of cleanup and several bugfixes related to seeking
I install libdvdnav on its own (making a package), and I then compile mplayer (for which I have to modify configure, line 7308, replace minilibs by libs, otherwise mplayer couldn't find dvdnav) but I get messages complaining that it can't find some reference in a function (sorry I didn't copy the messages).
you did the wrong thing. I modified mplayer to use dvdnav-config --minilibs for a very good reason (remove the embedded dvdread and permit to use the system-wide one, more likely to be up to date). You must have configured mplayer incorrectly, read configure.log to see why dvdnav wasn't enabled
Could you please just modify the Install file so that everybody could know if there is anything special to do to compile libdvdnav itself and/or mplayer ?
Thanks for your good work anyway,
Have a nice day,
Guillaume
ok -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Prestiti personali fino a 30.000 Euro. Clicca qui per un preventivo immediato, richiedi subito l�importo e la rata che desideri! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6833&d=19-7
Hi
you did the wrong thing. I modified mplayer to use dvdnav-config --minilibs for a very good reason (remove the embedded dvdread and permit to use the system-wide one, more likely to be up to date).
ok, here is what I tried this morning : 1) Install a libdvdcss package 2) Compile libdvdread ./configure --prefix=/usr --with-libdvdcss=/usr make make install cd .. 3) Compile libdvdnav svn checkout svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav cd libdvdnav ./configure2 --prefix=/usr --enable-shared --disable-static --with-dvdread=/usr/include/dvdread/ make make install cd .. ldconfig 4) Compile mplayer (or try, btw !) svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/ cd trunk ./configure --enable-gui --enable-menu --prefix=/usr --confdir=/etc --language=fr --disable-dvbhead --disable-arts --disable-ossaudio --disable-esd --disable-polyp --disable-jack --disable-smb --disable-ftp --disable-tv-v4l2 --enable-dynamic-plugins --disable-dvdread-internal --with-dvdnav-config=/usr/bin/dvdnav-config and here is the result in configure.log : ============ Checking for DVD support (libdvdnav) ============ 4.1.1 -L/usr/lib -ldvdnav -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-26075-29314.o /tmp/mplayer-conf-26592-29314.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-26592-29314.c: In function 'main': /tmp/mplayer-conf-26592-29314.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 ################################## What is wrong with what I do ? :-( Thanks, have a nice day, Guillaume
gui42 wrote:
Hi
you did the wrong thing. I modified mplayer to use dvdnav-config --minilibs for a very good reason (remove the embedded dvdread and permit to use the system-wide one, more likely to be up to date).
what's the output of /usr/bin/dvdnav-config --help and /usr/bin/dvdnav-config --minilibs
what's the output of /usr/bin/dvdnav-config --help and /usr/bin/dvdnav-config --minilibs ~$ dvdnav-config --help Usage: dvdnav-config [OPTIONS] [LIBRARIES] Options: [--prefix[=DIR]] [--version] [--libs] [--cflags] [--minilibs --minicflags]
~$ dvdnav-config --minilibs -L/usr/lib -ldvdnav -lpthread Thanks Guillaume
gui42 wrote:
what's the output of /usr/bin/dvdnav-config --help and /usr/bin/dvdnav-config --minilibs
~$ dvdnav-config --help Usage: dvdnav-config [OPTIONS] [LIBRARIES] Options: [--prefix[=DIR]] [--version] [--libs] [--cflags] [--minilibs --minicflags]
~$ dvdnav-config --minilibs -L/usr/lib -ldvdnav -lpthread
my fault, just fixed in svn: svn update && make && make install
my fault, just fixed in svn: svn update && make && make install just did but still the same answer :-(
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-28482-8307.o /tmp/mplayer-conf-21169-8307.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-21169-8307.c: In function 'main': /tmp/mplayer-conf-21169-8307.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 ##########################################
gui42 wrote:
my fault, just fixed in svn: svn update && make && make install
just did but still the same answer :-(
Thanks Guillaume
please, report the output of dvdnav-config --minilibs -L/usr/lib -ldvdnav -lpthread if it doesn't show something like: $ ./obj/dvdnav-config --minilibs -L/usr/local/lib -ldvdnavmini -lpthread you are using an old version. (did you read this morning's -svnlog? )
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 ##########################################
gui42 wrote:
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]
correct
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
correct
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".
it's normal
Maybe it is "looking for" -ldvdnav instead of -ldvdnavmini ?!
at check yes, because at link time the linker can use either the internal dvdread or the external one. Please, verify that in /usr/lib there are both dvdnav.so and dvdnavmini.so
participants (4)
-
gui42 -
gui42@free.fr -
Nico Sabbi -
Nico Sabbi