[vlc] Re: vlc-0.7.0-test1 compile error
Gildas Bazin
gbazin at netcourrier.com
Sat Nov 29 12:41:25 CET 2003
On Saturday 29 November 2003 10:52, Jean Ribiere wrote:
>
> gcc -Wsign-compare -Wall -finline-limit-30000 -pipe -o vlc src/vlc-vlc.o
> lib/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a
> ./modules/video_chroma/libi420_rgb_mmx.a
> ./modules/video_chroma/libi422_yuy2_mmx.a
> ./modules/video_chroma/libi420_ymga_mmx.a
> ./modules/video_chroma/libi420_yuy2_mmx.a
> ./modules/misc/memcpy/libmemcpymmxext.a
> ./modules/misc/memcpy/libmemcpy3dn.a ./modules/codec/ffmpeg/libffmpeg.a
> ./modules/stream_out/libstream_out_transcode.a -L/usr/lib -lrt -lpthread
> -ldl -lavcodec -lmp3lame -lm -lm
> /usr/lib/libavcodec.a(oggvorbis.o)(.text+0x1d): dans la fonction «
> oggvorbis_init_encoder »:
> /instsrc/src/ffmpeg-0.4.8/libavcodec/oggvorbis.c:39: undefined reference
> to `vorbis_encode_init'
> ....
>
> In fact two libraries -lvorbisenc and -lvorbis are missing for the link,
> and if I add these libraries I can finish the installation.
>
Your libavcodec (ffmpeg) is built with vorbis support so it needs to be
linked with -lvorbisenc and -lvorbis. The configure doesn't deal with this
as it isn't possible to know with which libraries libavcodec was built.
Maybe we should add a --with-ffmpeg-vorbis switch.
--
Gildas
--
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