VLC 0.8.6f "undefined reference" errors. UPDATED
Posted: 23 Apr 2008 00:23
Hi all..
Got RHEL4 with gcc4, i386 Intel:
Compiled ffmepg with latest tar ball SVN-r12920 :
./configure --disable-ffplay --disable-ffserver --enable-pthreads --enable-libfaad --enable-libfaac --enable-libamr_nb --enable-gpl --enable-postproc --enable-libmp3lame --enable-nonfree
Configured VLC 0.8.6g:
./configure --with-live555-tree=/usr/local/lib/live/ --enable-live555 --enable-ffmpeg --with-ffmpeg-tree=/root/src/ffmpeg/ --enable-faad --with-ffmpeg-faac --with-ffmpeg-zlib --disable-gui --disable-wxwidgets --disable-skins2 --with-faad-tree=/root/src/faad2/ --disable-mad --disable-libmpeg2 --with-ffmpeg-mp3lame --with-ffmpeg-amrnb
get following errors:
BUILD : vlc
/root/src/ffmpeg/libavformat/libavformat.a(matroskadec.o)(.text+0x7783): In function `matroska_parse_block':
libavformat/matroskadec.c:2925: undefined reference to `BZ2_bzDecompressInit'
/root/src/ffmpeg/libavformat/libavformat.a(matroskadec.o)(.text+0x77e8):libavformat/matroskadec.c:2934: undefined reference to `BZ2_bzDecompress'
/root/src/ffmpeg/libavformat/libavformat.a(matroskadec.o)(.text+0x7810):libavformat/matroskadec.c:2937: undefined reference to `BZ2_bzDecompressEnd'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x14): In function `amr_nb_decode_init':
libavcodec/libamr.c:369: undefined reference to `Decoder_Interface_init'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0xd4): In function `amr_nb_encode_init':
libavcodec/libamr.c:408: undefined reference to `VADxEncoder_Interface_init'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x169): In function `amr_nb_decode_close':
libavcodec/libamr.c:428: undefined reference to `Decoder_Interface_exit'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x18c): In function `amr_nb_encode_close':
libavcodec/libamr.c:436: undefined reference to `Encoder_Interface_exit'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x1d8): In function `amr_nb_decode_frame':
libavcodec/libamr.c:464: undefined reference to `GP3Decoder_Interface_Decode'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x268): In function `amr_nb_encode_frame':
libavcodec/libamr.c:482: undefined reference to `GP3VADxEncoder_Interface_Encode'
collect2: ld returned 1 exit status
make: *** [all] Error 2
Thanks.
Got RHEL4 with gcc4, i386 Intel:
Compiled ffmepg with latest tar ball SVN-r12920 :
./configure --disable-ffplay --disable-ffserver --enable-pthreads --enable-libfaad --enable-libfaac --enable-libamr_nb --enable-gpl --enable-postproc --enable-libmp3lame --enable-nonfree
Configured VLC 0.8.6g:
./configure --with-live555-tree=/usr/local/lib/live/ --enable-live555 --enable-ffmpeg --with-ffmpeg-tree=/root/src/ffmpeg/ --enable-faad --with-ffmpeg-faac --with-ffmpeg-zlib --disable-gui --disable-wxwidgets --disable-skins2 --with-faad-tree=/root/src/faad2/ --disable-mad --disable-libmpeg2 --with-ffmpeg-mp3lame --with-ffmpeg-amrnb
get following errors:
BUILD : vlc
/root/src/ffmpeg/libavformat/libavformat.a(matroskadec.o)(.text+0x7783): In function `matroska_parse_block':
libavformat/matroskadec.c:2925: undefined reference to `BZ2_bzDecompressInit'
/root/src/ffmpeg/libavformat/libavformat.a(matroskadec.o)(.text+0x77e8):libavformat/matroskadec.c:2934: undefined reference to `BZ2_bzDecompress'
/root/src/ffmpeg/libavformat/libavformat.a(matroskadec.o)(.text+0x7810):libavformat/matroskadec.c:2937: undefined reference to `BZ2_bzDecompressEnd'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x14): In function `amr_nb_decode_init':
libavcodec/libamr.c:369: undefined reference to `Decoder_Interface_init'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0xd4): In function `amr_nb_encode_init':
libavcodec/libamr.c:408: undefined reference to `VADxEncoder_Interface_init'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x169): In function `amr_nb_decode_close':
libavcodec/libamr.c:428: undefined reference to `Decoder_Interface_exit'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x18c): In function `amr_nb_encode_close':
libavcodec/libamr.c:436: undefined reference to `Encoder_Interface_exit'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x1d8): In function `amr_nb_decode_frame':
libavcodec/libamr.c:464: undefined reference to `GP3Decoder_Interface_Decode'
/root/src/ffmpeg/libavcodec/libavcodec.a(libamr.o)(.text+0x268): In function `amr_nb_encode_frame':
libavcodec/libamr.c:482: undefined reference to `GP3VADxEncoder_Interface_Encode'
collect2: ld returned 1 exit status
make: *** [all] Error 2
Thanks.