[vls-devel] compile error on recent subversion

Mike's Mail urbansound at sbcglobal.net
Mon Jun 14 15:23:11 CEST 2004


Please note:

The following was submitted to the forum page but has gained no response as
yet.

I don't know if the devel-team monitors the forum fully, so I have included
the request here.

Please see.. http://forum.videolan.org/viewtopic.php?t=3068 or the entirety
is included below

Thank you,

Mike

p.s the errors are related to parsing libavcodec.a, addressing lcl.o and
mp3lame.

****clipped from forum****




I've searched everywhere for this problem, which seems to be called from
avcodec.a , subfile lcl.o, to no avail. Can someone please get me back on
track again?



Linux Slackware 9.1 on a 586 intel

The configuration is as follows

ffmpeg is configured as...


./configure --enable-mp3lame --enable-pp --disable-ffplay --enable-gpl --ena
ble-shared --enable-gpl --disable-ffserver --disable-debug --prefix=/usr


VLS (current subversion, yesterday) is configured (and installed) as...


./configure --disable-dvd --disable-dvb --enable-v4l --with-ffmpeg=/home/bin
/ffmpeg-cvs-2004-05-31


I did have to do a mod to "v4lreader.cpp" which was to add "ffmpeg" in line
60 as #include <ffmpeg/avcodec.h> //for palette

Now, when I run make, I get the following string of errors, [clipped]...

g++ -Wall -O2 -o vls vls-application.o
[clipped]modules/tcpinput/.libs/tcpinput.a
modules/tcpreader/.libs/tcpreader.a modules/v4linput/.libs/v4linput.a
modules/v4lreader/.libs/v4lreader.a
modules/raw2ts/.libs/raw2ts.a -ldl -lcrypt -lpthread -ldvbpsi -L/home/bin/ff
mpeg-cvs-2004-05-31/libavcodec
/home/bin/ffmpeg-cvs-2004-05-31/libavcodec/libavcodec.a
/home/bin/ffmpeg-cvs-2004-05-31/libavcodec/libavcodec.a(lcl.o)(.text+0xe5):
In function `decode_frame':
: undefined reference to `inflateReset'
/home/bin/ffmpeg-cvs-2004-05-31/libavcodec/libavcodec.a(lcl.o)(.text+0x134):
In function `decode_frame':
: undefined reference to `inflate'

[clipped]
/home/bin/ffmpeg-cvs-2004-05-31/libavcodec/libavcodec.a(mp3lameaudio.o)(.tex
t+0x215): In function `MP3lame_encode_frame':
: undefined reference to `lame_encode_buffer'
/home/bin/ffmpeg-cvs-2004-05-31/libavcodec/libavcodec.a(mp3lameaudio.o)(.tex
t+0x241): In function `MP3lame_encode_close':
: undefined reference to `lame_close'
/home/bin/ffmpeg-cvs-2004-05-31/libavcodec/libavcodec.a(mp3lameaudio.o)(.tex
t+0x28e): In function `MP3lame_encode_init':
: undefined reference to `lame_init'
/home/bin/ffmpeg-cvs-2004-05-31/libavcodec/libavcodec.a(mp3lameaudio.o)(.tex
t+0x2a8): In function `MP3lame_encode_init':
: undefined reference to `lame_set_in_samplerate'
/home/bin/ffmpeg-cvs-2004-05-31/libavcodec/libavcodec.a(mp3lameaudio.o)(.tex
t+0x2b6): In function `MP3lame_encode_init':
: undefined reference to `lame_set_out_samplerate'

[clipped]
(mp3lameaudio.o)(.text+0x34b): In function `MP3lame_encode_init':
: undefined reference to `lame_close'
collect2: ld returned 1 exit status
make[4]: *** [vls] Error 1
make[4]: Leaving directory `/home/bin/vls/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bin/vls/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/bin/vls/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bin/vls'
make: *** [all] Error 2

Thanks in advance,

Mike

-- 
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vls-devel mailing list