I have spent hours searching and trying different options. Still no luck. Here's what I do:./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `InitPostproc__ffmpeg':
postprocess.c: (.text+0x2dd): undefined reference to `pp_get_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `PostprocPict__ffmpeg':
postprocess.c: (.text+0x516): undefined reference to `pp_postprocess'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `ClosePostproc__ffmpeg':
postprocess.c: (.text+0x583): undefined reference to `pp_free_mode'
postprocess.c: (.text+0x590): undefined reference to `pp_free_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `PPQCallback':
postprocess.c: (.text+0x60b): undefined reference to `pp_get_mode_by_name_and_quality'
postprocess.c: (.text+0x699): undefined reference to `pp_get_mode_by_name_and_quality'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
1. Configure and compile ffmpeg. Here's what I do:
Code: Select all
./configure --enable-mp3lame --enable-libogg --enable-faad --enable-faac --enable-pp --enable-gpl --prefix=/usr
make
make install
Code: Select all
./configure --prefix=/usr
make
make install
Code: Select all
./configure --enable-faad --with-faad-tree=/files2/src/faad2/faad2 --enable-livedotcom --with-livedotcom-tree=/usr/bin/live --with-ffmpeg-tree=/files2/src/ffmpeg_all/ffmpeg --disable-hal --prefix=/usr
Here are a few random thoughts:
First, I have postprocess.h in /usr/include/postproc. I read somewhere that vlc might look for postprocess.h in /usr/include/libpostproc, so I symlinked the postproc directory to libpostproc.
Second, I'm running suse 10 amd64. I've had problems in the past unintentionally trying to link 32-bit applications to 64-bit libraries and vice-versa, or having an application look for libraries in lib instead of lib64 and vice-versa. I don't see that happening here, but who knows, it might be a factor.
Third, I have installed binary versions of some libraries, e.g., ffmpeg. I'm pretty sure I have uninstalled all of the old rpms, but I don't know if that might be causing a problem.
Anyone know why I'm getting these postproc errors?