[vlc] vlc-0.6.0, compile error if ffmpeg enabled

Jean Ribiere jean.ribiere at wanadoo.fr
Sat Jun 28 12:00:49 CEST 2003


Context :
- slackware -9.0
- kde-3.1

I have started vlc-0.6.0 installation with configure parameters :
  ./configure            \
     --prefix=/usr       \
     --enable-aa         \
     --enable-arts       \
     --enable-dvdplay    \
     --enable-dvdread    \
     --enable-esd        \
     --enable-gnome2     \
     --enable-gtk        \
     --enable-kde        \
     --enable-mad        \
     --enable-ncurses    \
     --enable-oss        \
     --enable-qt

Then I have a lot of errors :
gcc  -Wsign-compare -Wall  -finline-limit-30000 -pipe   -o vlc             \
  src/vlc-vlc.o lib/libvlc.a -ldl -lpthread -lrt                           \
  modules/codec/ffmpeg/libffmpeg.a                                         \
  modules/misc/memcpy/libmemcpymmx.a modules/misc/memcpy/libmemcpymmxext.a \
  modules/misc/memcpy/libmemcpy3dn.a                                       \
  modules/stream_out/libstream_out_transcode.a                             \
  modules/video_chroma/libi420_rgb_mmx.a                                   \
  modules/video_chroma/libi420_yuy2_mmx.a                                  \
  modules/video_chroma/libi422_yuy2_mmx.a                                  \
  modules/video_chroma/libi420_ymga_mmx.a                                  \
  -lm -lavcodec -lm
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../libavcodec.a
  (mp3lameaudio.o)(.text+0x2b):
  In function `MP3lame_encode_frame':
/instsrc/src/ffmpeg-cvs-2003-06-24/libavcodec/mp3lameaudio.c:78:
  référence indéfinie vers « lame_encode_buffer_interleaved »
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../libavcodec.a
  (mp3lameaudio.o)(.text+0x47):
  /instsrc/src/ffmpeg-cvs-2003-06-24/libavcodec/mp3lameaudio.c:81:
  référence indéfinie vers « lame_encode_buffer »
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../libavcodec.a
  (mp3lameaudio.o)(.text+0x6f):
  In function `MP3lame_encode_close':
......

If I add at the end of the command in error :
  -lmp3lame -lvorbis -lvorbisenc
I can compile this module without error, and then restart make 
and finish the installation.

What is wrong in my installation ?

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



More information about the vlc mailing list