[MPlayer-users] Error on compile w/new Twolame
Stephen Stocker
lpar at par1.net
Sat Nov 26 02:55:32 CET 2005
Hi,
I'm not really sure whether this belongs here or on the Twolame mailing
list, but the recent update of Twolame has broken the compile of MPlayer
if you're using it. I reverted my CVS update of Twolame to Nov 17, and
there's no problem with it.
For anyone wishing to check this, the new Twolame home page is
http://www.twolame.org . I think I see the problem in twolame.h, but I'm
not sure what to do about it.
Using Slackware 10, gcc 3.3.4 gives this output:
mencoder.c:1160: warning: passing arg 2 of `dec_audio' from incompatible pointer
type
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=pentium-mmx -mcpu=pentium-mm
x -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64 -I. -I/usr/local/include/freetype2 -I/usr/local/include
-I./libavutil -I./libavcodec -o mp_msg-mencoder.o mp_msg-mencoder.c
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=pentium-mmx -mcpu=pentium-mm
x -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64 -I. -I/usr/local/include/freetype2 -I/usr/local/include
-I./libavutil -I./libavcodec -o divx4_vbr.o divx4_vbr.c
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=pentium-mmx -mcpu=pentium-mm
x -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64 -I. -I/usr/local/include/freetype2 -I/usr/local/include
-I./libavutil -I./libavcodec -o parser-mecmd.o parser-mecmd.c
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=pentium-mmx -mcpu=pentium-mm
x -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64 -I. -I/usr/local/include/freetype2 -I/usr/local/include
-I./libavutil -I./libavcodec -o xvid_vbr.o xvid_vbr.c
cc -I../libvo -I../../libvo -fno-PIC -O4 -march=pentium-mmx -mcpu=pentium-mmx -
pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O
FFSET_BITS=64 -I. -I/usr/local/include/freetype2 -I/usr/local/include
-I./libavutil -I./libavcodec -o mencoder mencoder.o mp_msg-mencoder.o asxparse
r.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o pa
rser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o u
nrarlib.o divx4_vbr.o libvo/aclib.o libvo/font_load.o libvo/font_load_ft.o libvo
/osd.o libvo/sub.o parser-mecmd.o xvid_vbr.o libmpcodecs/libmpencoders.a -lmp3l
ame libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a lo
ader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a
postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavformat/lib
avformat.a libavcodec/libavcodec.a libavutil/libavutil.a -lmad -lfaad -lmp3
lame -lpng -lz -lz -ljpeg -lasound -ldl -lpthread -ltwolame -L/usr/local
/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -ltermcap -lcdda_interface -l
cdda_paranoia /usr/lib/live/liveMedia/libliveMedia.a /usr/lib/live/groupsock/lib
groupsock.a /usr/lib/live/UsageEnvironment/libUsageEnvironment.a /usr/lib/live/B
asicUsageEnvironment/libBasicUsageEnvironment.a -lstdc++ -lnsl -lgif mp3
lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a -Wl,-z,n
oexecstack -lposix -lpthread -ldl -rdynamic -lm
libmpcodecs/libmpencoders.a(ae_twolame.o)(.text+0x172): In function `mpae_init_t
wolame':
: undefined reference to `twolame_set_VBR_q'
collect2: ld returned 1 exit status
make: *** [mencoder] Error 1
Thanks,
Steve
More information about the MPlayer-users
mailing list