[MPlayer-users] CVS compile problems: undefined reference to get_rl_index

Henning Holtschneider hh at holtschneider.com
Sun Dec 16 16:57:10 CET 2001


Hi,

I'm trying to compile MPlayer on a SuSE Linux 7.1 system equipped with a DVB
card. I checked out the current CVS main and ffmpeg but the build process
fails to link mplayer:

gcc -I/usr/src/dvb/DVB-CVS/ost/include -D_REENTRANT -Ilibmpdemux -Iloader -I
libvo   -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 -Llibavcodec -lavcodec -Llibmpdemux -lmpdemux -Llibvo
 -lvo -Llibao2 -lao2 -Lloader -lloader -Lloader/dshow -lDS_Filter  -Llinux -
losdep -Lpostproc -lpostproc  -lasound  -lmad   -L/usr/X11R6/lib -lX11 -lXex
t  -lnsl  -lXxf86dga -lXv -lXxf86vm -lXinerama -lmad  -lnsl -Llibmp1e -lmp1e
   -lpng -lz -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread    -llirc_client
  -lpthread -ldl   -ldivxdecore opendivx/postprocess.o    -lpng -lz -lz -lm
libavcodec/libavcodec.a(mpeg12.o): In function `mpeg1_encode_block':
/usr/src/MPlayer/libavcodec/mpeg12.c:396: undefined reference to
`get_rl_index'
libavcodec/libavcodec.a(h263.o): In function `h263_encode_block':
/usr/src/MPlayer/libavcodec/h263.c:447: undefined reference to
`get_rl_index'
libavcodec/libavcodec.a(h263.o): In function `mpeg4_encode_block':
/usr/src/MPlayer/libavcodec/h263.c:671: undefined reference to
`get_rl_index'
/usr/src/MPlayer/libavcodec/h263.c:678: undefined reference to
`get_rl_index'
/usr/src/MPlayer/libavcodec/h263.c:687: undefined reference to
`get_rl_index'
libavcodec/libavcodec.a(msmpeg4.o):/usr/src/MPlayer/libavcodec/msmpeg4.c:509
: more undefined references to `get_rl_index' follow
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

get_rl_index is defined in libavcodec/mpegvideo.h and 'strings libavcodec.a'
shows references to get_rl_index but it doesn't work. What's wrong there?

Thanks for your help
hh




More information about the MPlayer-users mailing list