[MPlayer-users] mplayer svn with dvdnav svn udefined reference

klaas.decanniere at telenet.be klaas.decanniere at telenet.be
Fri Apr 18 18:59:54 CEST 2008



Hello,

I tried both libdvdnav and libdvdnav2 from the svn repository to try and compile mplayer-svn (dev-SVN-r26456-4.1.2) with dvdnav support on a x86_64 machine (gentoo x86_86, system dvdread and dvdnav eliminated).

configured mplayer-svn with:

./configure --disable-dvdread-internal --with-dvdnav-config=/home/klaas/bin/dvdnav-config --enable-gui    --prefix=/home/klaas

It dies just before the finish (see below).

Changing the last 3 lines of dvdnav-config to

  if test "$echo_minilibs" = "yes"; then
        echo -L${exec_prefix}/lib -ldvdnavmini -ldvdread -lpthread
  fi

eliminates the undefined reference messages related to fill_buffer, but the messages about open_s ( dvd_audio_stream_channels dvd_audio_stream, dvd_angle) remain. 

Is there a way to fix this?

Thanks!

Klaas


error messages of mplayer-svn make:
cc -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o parser-mpcmd.o command.o input/input.o gui/app.o gui/bitmap.o gui/cfg.o gui/interface.o gui/mplayer/gui_common.o gui/mplayer/menu.o gui/mplayer/mw.o gui/mplayer/pb.o gui/mplayer/play.o gui/mplayer/sw.o gui/mplayer/widgets.o gui/mplayer/gtk/about.o gui/mplayer/gtk/eq.o gui/mplayer/gtk/fs.o gui/mplayer/gtk/gtk_common.o gui/mplayer/gtk/gtk_url.o gui/mplayer/gtk/mb.o gui/mplayer/gtk/menu.o gui/mplayer/gtk/opts.o gui/mplayer/gtk/pl.o gui/mplayer/gtk/sb.o gui/skin/cut.o gui/skin/font.o gui/skin/skin.o gui/wm/ws.o gui/wm/wsxdnd.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o get_path.o m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subopt-helper.o subreader.o vobsub.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o osdep/getch2.o osdep/timer-linux.o osdep/mmap_anon.o libaf/af_export.o libass/ass.o libass/ass_bitmap.o libass/ass_cache.o libass/ass_font.o libass/ass_fontconfig.o libass/ass_library.o libass/ass_mp.o libass/ass_render.o libass/ass_utils.o libaf/af_lavcresample.o libaf/af_lavcac3enc.o osdep/shmem.o unrar_exec.o libvo/libvo.a libao2/libao2.a vidix/libvidix.a libmpcodecs/libmpcodecs.a libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a -lXext -lX11 -lpthread -lXss -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -lSDL -lpthread -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -lfaac -lx264 -lpthread -lmp3lame -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0 -L/usr/kde/3.5/lib64 -Wl,-z,noexecstack    -lncurses -lsmbclient -lpng -lz -ljpeg -lgif -lasound -ldl -lpthread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig  -lz -llzo2 -lmad  -ltheora -logg   -ldts -lmpcdec -lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++ -ldv -lxvidcore -lm -lpthread -ldl -rdynamic -L/home/klaas/lib -ldvdnavmini -lpthread  -lm
stream/stream.a(stream_dvdnav.o): In function `identify_chapters':
stream_dvdnav.c:(.text+0x184): undefined reference to `dvdnav_describe_title_chapters'
stream/stream.a(stream_dvdnav.o): In function `open_s':
stream_dvdnav.c:(.text+0xbdd): undefined reference to `dvd_audio_stream_channels'
stream_dvdnav.c:(.text+0xbe8): undefined reference to `dvd_audio_stream_types'
stream_dvdnav.c:(.text+0xce2): undefined reference to `dvd_angle'
stream/stream.a(stream_dvdnav.o): In function `fill_buffer':
stream_dvdnav.c:(.text+0x18cf): undefined reference to `mp_dvdtimetomsec'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoRead_VOBU_ADMAP'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `DVDReadBlocks'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoRead_VTS_ATRT'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `DVDCloseFile'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoRead_TT_SRPT'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `navRead_PCI'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `DVDClose'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoClose'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoOpenVMGI'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoOpenVTSI'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoRead_PGCIT'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `DVDOpenFile'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoRead_VTS_PTT_SRPT'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoRead_PGCI_UT'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoRead_PTL_MAIT'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `DVDOpen'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoRead_TITLE_VOBU_ADMAP'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `ifoRead_FP_PGC'
/home/klaas/lib/libdvdnavmini.so: undefined reference to `navRead_DSI'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1







More information about the MPlayer-users mailing list