[MPlayer-users] Compile fails

David Holm dholm at telia.com
Tue Dec 11 10:58:28 CET 2001


Dirk Vornheder wrote:

>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>Hi !
>
>After download latest version from cvs compile fails:
>
>gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer 
>-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
>-Ilibmpdemux -Iloader -Ilibvo -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
>-I/usr/lib/glib/include -I/usr/X11R6/include  -o mplayer mplayer.o ima4.o 
>xacodec.o cpudetect.o mp_msg.o ac3-iec958.o dec_audio.o dec_video.o msvidc.o 
>fli.o codec-cfg.o cfgparser.o my_profile.o find_sub.o subreader.o lirc_mp.o 
>mixer.o spudec.o dll_init.o -Lg72x -lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 
>-Lliba52 -la52 -Lxa -lxa -Llibmpeg2 -lmpeg2 -Llibmp1e -lmp1e  -Llibmpdemux 
>-lmpdemux -Llibvo -lvo -Llibao2 -lao2 -Lloader -lloader -Lloader/DirectShow 
>-lDS_Filter -lstdc++ -LGui -lgui -Llinux -losdep -Lpostproc -lpostproc  
>-lasound  -lmad -lvorbis -logg  -L/usr/X11R6/lib -lX11 -lXext  -lnsl -lGL 
>-lXxf86dga -lXv -lXxf86vm -lXinerama -lmad  -lnsl    -lpng -lz 
>-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lvgagl -lvga -laa 
>-ldirectfb -llirc_client -ldvdread -lpthread -ldl -rdynamic  -ldivxdecore 
>opendivx/postprocess.o   -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic 
>-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -lpng -lz -lz 
>-lm
>libvo/libvo.a(vo_dxr3.o): In function `init':
>vo_dxr3.o(.text+0x15e): undefined reference to `rte_init'
>vo_dxr3.o(.text+0x216): undefined reference to `rte_context_new'
>vo_dxr3.o(.text+0x226): undefined reference to `rte_set_verbosity'
>vo_dxr3.o(.text+0x27a): undefined reference to `rte_set_format'
>vo_dxr3.o(.text+0x29e): undefined reference to `rte_set_mode'
>vo_dxr3.o(.text+0x2b2): undefined reference to `rte_codec_set'
>vo_dxr3.o(.text+0x3ad): undefined reference to `rte_set_video_parameters'
>vo_dxr3.o(.text+0x3d8): undefined reference to `rte_set_input'
>vo_dxr3.o(.text+0x3ef): undefined reference to `rte_set_output'
>vo_dxr3.o(.text+0x3fd): undefined reference to `rte_init_context'
>vo_dxr3.o(.text+0x41f): undefined reference to `rte_context_delete'
>vo_dxr3.o(.text+0x5ee): undefined reference to `rte_start_encoding'
>libvo/libvo.a(vo_dxr3.o): In function `draw_frame':
>vo_dxr3.o(.text+0xb24): undefined reference to `rte_push_video_buffer'
>libvo/libvo.a(vo_dxr3.o): In function `flip_page':
>vo_dxr3.o(.text+0xd64): undefined reference to `rte_push_video_buffer'
>collect2: ld returned 1 exit status
>make: *** [mplayer] Error 1
>gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer 
>-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
>-Ilibmpdemux -Iloader -Ilibvo -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
>-I/usr/lib/glib/include -I/usr/X11R6/include  -o mplayer mplayer.o ima4.o 
>xacodec.o cpudetect.o mp_msg.o ac3-iec958.o dec_audio.o dec_video.o msvidc.o 
>fli.o codec-cfg.o cfgparser.o my_profile.o find_sub.o subreader.o lirc_mp.o 
>mixer.o spudec.o dll_init.o -Lg72x -lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 
>-Lliba52 -la52 -Lxa -lxa -Llibmpeg2 -lmpeg2 -Llibmp1e -lmp1e  -Llibmpdemux 
>-lmpdemux -Llibvo -lvo -Llibao2 -lao2 -Lloader -lloader -Lloader/DirectShow 
>-lDS_Filter -lstdc++ -LGui -lgui -Llinux -losdep -Lpostproc -lpostproc  
>-lasound  -lmad -lvorbis -logg  -L/usr/X11R6/lib -lX11 -lXext  -lnsl -lGL 
>-lXxf86dga -lXv -lXxf86vm -lXinerama -lmad  -lnsl    -lpng -lz 
>-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lvgagl -lvga -laa 
>-ldirectfb -llirc_client -ldvdread -lpthread -ldl -rdynamic  -ldivxdecore 
>opendivx/postprocess.o   -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic 
>-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -lpng -lz -lz 
>-lm
>libvo/libvo.a(vo_dxr3.o): In function `init':
>vo_dxr3.o(.text+0x15e): undefined reference to `rte_init'
>vo_dxr3.o(.text+0x216): undefined reference to `rte_context_new'
>vo_dxr3.o(.text+0x226): undefined reference to `rte_set_verbosity'
>vo_dxr3.o(.text+0x27a): undefined reference to `rte_set_format'
>vo_dxr3.o(.text+0x29e): undefined reference to `rte_set_mode'
>vo_dxr3.o(.text+0x2b2): undefined reference to `rte_codec_set'
>vo_dxr3.o(.text+0x3ad): undefined reference to `rte_set_video_parameters'
>vo_dxr3.o(.text+0x3d8): undefined reference to `rte_set_input'
>vo_dxr3.o(.text+0x3ef): undefined reference to `rte_set_output'
>vo_dxr3.o(.text+0x3fd): undefined reference to `rte_init_context'
>vo_dxr3.o(.text+0x41f): undefined reference to `rte_context_delete'
>vo_dxr3.o(.text+0x5ee): undefined reference to `rte_start_encoding'
>libvo/libvo.a(vo_dxr3.o): In function `draw_frame':
>vo_dxr3.o(.text+0xb24): undefined reference to `rte_push_video_buffer'
>libvo/libvo.a(vo_dxr3.o): In function `flip_page':
>vo_dxr3.o(.text+0xd64): undefined reference to `rte_push_video_buffer'
>collect2: ld returned 1 exit status
>make: *** [mplayer] Error 1
>
>Dirk
>
>_______________________________________________
>RTFM!!!  http://www.MPlayerHQ.hu/DOCS
>Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
How new is your mplayer? Try with the latest CVS and if this linker 
error persists let me know. But this looks like an old version to me as 
I've adressed linking issues with libmp1e long ago.

//David Holm





More information about the MPlayer-users mailing list