Problem building vlc on FC3

*nix specific usage questions
mapryan
New Cone
New Cone
Posts: 2
Joined: 16 Dec 2005 15:38

Problem building vlc on FC3

Postby mapryan » 16 Dec 2005 15:49

Hi

I've got a problem trying to build vlc on a Fedore Core 3 system.

Aware of the old adage RTFM, I've been trawling through web pages, bugging the mailing list and searching through this forum for an answer. My problem is that when I try to compile vlc I get the following errors:

./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x378): In function `InitPostproc__ffmpeg': : undefined reference to `pp_get_context' ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x58b): In function `PostprocPict__ffmpeg': : undefined reference to `pp_postprocess' ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x5f8): In function `ClosePostproc__ffmpeg': : undefined reference to `pp_free_mode' ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x606): In function `ClosePostproc__ffmpeg': : undefined reference to `pp_free_context' ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x669): In function `PPQCallback': : undefined reference to `pp_get_mode_by_name_and_quality' ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x70c): In function `PPQCallback': : undefined reference to `pp_get_mode_by_name_and_quality'

(The full details of my build and error messages can be found here http://www.londoncrime.org/vlc/complete_make.txt )

Reading through the forums the often suggested solution is to use the --enable-pp option when compiling ffmpeg which I did. I also noted that someone suggested --enable-a52 which I tried and didn't make any difference either.

So, to make sure everything was clean and new, I deleted all the build dirs and then went through the following steps:
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
wget http://downloads.videolan.org/pub/video ... .4a.tar.gz
tar xvzf vlc-0.8.4a.tar.gz
cd ffmpeg
./configure --enable-mp3lame --enable-pp --enable-shared-pp --enable-gpl
make
cd ../vlc-0.8.4a
./configure --disable-mad --with-ffmpeg-mp3lame --with-ffmpeg-tree=/root/ffmpeg --disable-libmpeg2 --disable-wxwidgets --disable-faac
make

Unfortunately, I still get the same error. Any suggestions?

Thanks in advance

Mike

mapryan
New Cone
New Cone
Posts: 2
Joined: 16 Dec 2005 15:38

Got it to compile

Postby mapryan » 17 Dec 2005 13:57

ok, I got this to work. After doing the ffmpeg configure and make, I then moved onto the configure of vlc:
./configure --disable-mad --with-ffmpeg-mp3lame --with-ffmpeg-tree=/root/ffmpeg --disable-libmpeg2 --disable-wxwidgets --disable-faac

At this point, I edited the vlc-config file and changed this line from:

ldflags="${ldflags} /root/ffmpeg/libavcodec/libavcodec.a /root/ffmpeg/libavutil/libavutil.a /root/ffmpeg/libavformat/libavformat.a -lm -lmp3lame -lz -ldl -lmp3lame -lm"

to

ldflags="${ldflags} /root/ffmpeg/libavcodec/libavcodec.a /root/ffmpeg/libavutil/libavutil.a /root/ffmpeg/libavformat/libavformat.a -lm -lmp3lame -lz -ldl -lmp3lame -lm -L/root/ffmpeg/libavcodec/libpostproc"

which allowed the vlc make to find the libpostproc file.

Mind you, vlc still doesn't seem to recognise my nuv/dvb file, but at least it now compiles so I can move on and play around with the different options

Cheers

Mike


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

Who is online

Users browsing this forum: No registered users and 68 guests