[MPlayer-dev-eng] compile error in fli stuff in current cvs

Felix Buenemann atmosfear at users.sourceforge.net
Wed Nov 28 13:17:02 CET 2001


Hi,

I get the following error:
make[1]: Leaving directory `/home/atmosfear/develop/mplayer/main/xa'
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   -o mencoder libao2/afmt.o divx4_vbr.o 
mencoder.o libvo/aclib.o libvo/img_format.o ima4.o xacodec.o cpudetect.o 
mp_msg.o ac3-iec958.o dec_audio.o dec_video.o msvidc.o codec-cfg.o 
cfgparser.o my_profile.o dll_init.o -Llibmpeg2 -lmpeg2 -Llibmpdemux -lmpdemux 
 -Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++ -Llibavcodec 
-lavcodec -lmp3lame -Lmp3lib -lMP3 -Llibac3 -lac3   -lvorbis -logg -lm  
-ldvdread  -lpng -lz -lz -lpthread -ldl   -Llinux -losdep -Lpostproc 
-lpostproc -Lxa -lxa -ldivxdecore opendivx/postprocess.o -lmp3lame 
-ldivxencore -lm -lvorbis -logg -lm   -lm
dec_video.o: In function `decode_video':
dec_video.o(.text+0xca6): undefined reference to `AVI_Decode_Fli'
collect2: ld returned 1 exit status
make: *** [mencoder] Error 1

Note that fli.o is missing here...

some greps:
Makefile:27:SRCS_MPLAYER = mplayer.c ima4.c xacodec.c cpudetect.c mp_msg.c 
ac3-iec958.c find_sub.c dec_audio.c dec_video.c msvidc.c fli.c codec-cfg.c 
subreader.c lirc_mp.c cfgparser.c mixer.c spudec.c my_profile.c

dec_video.c:126:void AVI_Decode_Fli(
dec_video.c:824:      AVI_Decode_Fli(
Matches in binary dec_video.o.
fli.c:23:void AVI_Decode_Fli(
Matches in binary fli.o.
Matches in binary mplayer.

I tried changing lin in dec_video to extern void ... but no luck.

If I manually add the fli.o to the objects in the makefile I get:
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   -o mplayer mplayer.o 
ima4.o xacodec.o cpudetect.o mp_msg.o ac3-iec958.o
find_sub.o dec_audio.o dec_video.o msvidc.o fli.o codec-cfg.o subreader.o 
lirc_mp.o cfgparser.o mixer.o spudec.o my_profile.o
dll_init.o fli.o -Llibmpdemux -lmpdemux -Llibavcodec -lavcodec  -llirc_client 
-Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++ -Llibmpeg2 -lmpeg2 
-Llibao2 -lao2 -Lmp3lib -lMP3 -Llibac3 -lac3   -lvorbis -logg -lm  -Llibvo 
-lvo -L/usr/X11R6/lib -lX11 -lXext  -lnsl -lGL -lm -lXxf86dga -lXxf86vm 
-lXxf86dga -lXxf86vm -lXv -lXxf86vm -lXinerama   -lnsl     -lpng -lz 
-L/opt/SDL/lib -Wl,-rpath,/opt/SDL/lib -lSDL -lpthread -lvgagl -lvga -laa 
-ldvdread -lpthread -ldl   -Llinux -losdep -Lpostproc -lpostproc -Lxa -lxa 
-ldivxdecore opendivx/postprocess.o  -lm   -lpng -lz -lz
fli.o: In function `AVI_Decode_Fli':
fli.o(.text+0x0): multiple definition of `AVI_Decode_Fli'
fli.o(.text+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

-- 
Best Regards,
	Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________




More information about the MPlayer-dev-eng mailing list