Page 1 of 1

VLS cvs compaling problem

Posted: 08 Dec 2003 16:50
by tritron
I am trying to compile latest cvs snapshot of vls. I was geting errors in pvrreader.cpp so I removed it from Makefile. Now I get problem with:



/root/ffmpeg/libavcodec/libavcodec.a(mp3lameaudio.o): In function `MP3lame_encode_frame':
/root/ffmpeg/libavcodec/mp3lameaudio.c:78: undefined reference to `lame_encode_buffer_interleaved'
/root/ffmpeg/libavcodec/mp3lameaudio.c:81: undefined reference to `lame_encode_buffer'
/root/ffmpeg/libavcodec/libavcodec.a(mp3lameaudio.o): In function `MP3lame_encode_close':
/root/ffmpeg/libavcodec/mp3lameaudio.c:94: undefined reference to `lame_close'
/root/ffmpeg/libavcodec/libavcodec.a(mp3lameaudio.o): In function `MP3lame_encode_init':
/root/ffmpeg/libavcodec/mp3lameaudio.c:44: undefined reference to `lame_init'
/root/ffmpeg/libavcodec/mp3lameaudio.c:46: undefined reference to `lame_set_in_samplerate'
/root/ffmpeg/libavcodec/mp3lameaudio.c:47: undefined reference to `lame_set_out_samplerate'
/root/ffmpeg/libavcodec/mp3lameaudio.c:48: undefined reference to `lame_set_num_channels'
/root/ffmpeg/libavcodec/mp3lameaudio.c:50: undefined reference to `lame_set_quality'
/root/ffmpeg/libavcodec/mp3lameaudio.c:52: undefined reference to `lame_set_mode'
/root/ffmpeg/libavcodec/mp3lameaudio.c:53: undefined reference to `lame_set_brate'
/root/ffmpeg/libavcodec/mp3lameaudio.c:54: undefined reference to `lame_init_params'
/root/ffmpeg/libavcodec/mp3lameaudio.c:65: undefined reference to `lame_close'
collect2: ld returned 1 exit status
make[4]: *** [vls] Error 1
make[4]: Leaving directory `/home/linux/vls/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/linux/vls/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/linux/vls/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linux/vls'
make: *** [all] Error 2

Posted: 02 Feb 2004 07:39
by officeuse
I have the same problem while i enable-ffmpeg.... :cry:

Posted: 02 Feb 2004 15:32
by officeuse
I solved
:lol:

Posted: 28 Apr 2004 17:04
by Guest
how?

Posted: 12 May 2004 12:03
by Guest
I met same problem, can anyone tell how to solve it ?

VLS cvs compaling problem

Posted: 31 May 2004 09:50
by kingfisher
We are on the same boot.

Got the latest CVS version of vls. When tried to compile it, at first it complaint the dvdreader, I disabled it.

% ./configure --disable-dvd --enable-v4l --with-ffmpeg=/home/cwy003/Application/ffmpeg-0.4.8
% make
...
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -c pvrreader.cpp -MT pvrreader_la-pvrreader.lo -MD -MP -MF .deps/pvrreader_la-pvrreader.TPlo -fPIC -DPIC
mv -f pvrreader_la-pvrreader.o .libs/pvrreader_la-pvrreader.lo
mv: can't stat source pvrreader_la-pvrreader.o
make[6]: *** [pvrreader_la-pvrreader.lo] Error 1
make[6]: Leaving directory `/home/cwy003/Application/vls/svn_version/vls/src/modules/pvrreader'
make[5]: *** [all-local] Error 2
make[5]: Leaving directory `/home/cwy003/Application/vls/svn_version/vls/src/modules/pvrreader'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/cwy003/Application/vls/svn_version/vls/src/modules'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/cwy003/Application/vls/svn_version/vls/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/cwy003/Application/vls/svn_version/vls/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cwy003/Application/vls/svn_version/vls'
make: *** [all] Error 2

Now I have the pvrreader problem, I disabled it from the Makefiile but same pvrreader problem still there ???

Anyone can give us a hand ?