undefined reference to `avpicture_free'
Posted: 15 Mar 2005 05:44
Hi all,
I am trying to compile VLC-0.8.1 source code on linux machine.
the ./configure --prefix=/usr --enable-wxwindows looks good
but after I type make, I get some errors :
: undefined reference to `avpicture_alloc'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-video_filter.o)(.text+0x9a5): In function `CloseFilter__ffmpeg':
: undefined reference to `avpicture_free'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-chroma.o)(.text+0x17d): In function `OpenChroma__ffmpeg':
: undefined reference to `avpicture_alloc'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-chroma.o)(.text+0x4dd): In function `CloseChroma__ffmpeg':
: undefined reference to `avpicture_free'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/eric/vlc-0.8.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eric/vlc-0.8.1'
make: *** [all] Error 2
Please tell me what I should do to make it pass ...
Thanks
I am trying to compile VLC-0.8.1 source code on linux machine.
the ./configure --prefix=/usr --enable-wxwindows looks good
but after I type make, I get some errors :
: undefined reference to `avpicture_alloc'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-video_filter.o)(.text+0x9a5): In function `CloseFilter__ffmpeg':
: undefined reference to `avpicture_free'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-chroma.o)(.text+0x17d): In function `OpenChroma__ffmpeg':
: undefined reference to `avpicture_alloc'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-chroma.o)(.text+0x4dd): In function `CloseChroma__ffmpeg':
: undefined reference to `avpicture_free'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/eric/vlc-0.8.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eric/vlc-0.8.1'
make: *** [all] Error 2
Please tell me what I should do to make it pass ...
Thanks