VLC 0.8.6f "undefined reference" errors. UPDATED

*nix specific usage questions
oscord
Blank Cone
Blank Cone
Posts: 13
Joined: 12 Sep 2007 23:17

VLC 0.8.6f "undefined reference" errors. UPDATED

Postby oscord » 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.
Last edited by oscord on 29 May 2008 18:45, edited 2 times in total.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: VLC 0.8.6f "undefined reference" errors.

Postby dionoea » 23 Apr 2008 11:11

You're missing some --with-ffmpeg-<some lib name> flags from VLC. (Btw, you don't need to compile x264 support in FFmpeg since VLC already has a native codec module)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

oscord
Blank Cone
Blank Cone
Posts: 13
Joined: 12 Sep 2007 23:17

Re: VLC 0.8.6f "undefined reference" errors. UPADATED

Postby oscord » 28 May 2008 19:20

tried with "--with-ffmpeg-amrnb" still same error.
I tried older ffmpeg versions from 11000, 11100, 11150, 12200, 13000 + latest.

Please let me know if there's anything else missing.

oscord
Blank Cone
Blank Cone
Posts: 13
Joined: 12 Sep 2007 23:17

Re: VLC 0.8.6f "undefined reference" errors. UPDATED

Postby oscord » 29 May 2008 21:37



Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 51 guests