[vdr] softdevice 0.4.0 won't compile

Darren Wilkinson chipsugar at chipsugar.plus.com
Tue Oct 23 20:26:06 CEST 2007


./configure ends up with an ffmpeg not found error that tells me to 
check config.log. Here are the contents of config.log.

Parameters ''
PKG_CONFIG_PATH '/usr/local/lib/pkgconfig'
Testing system and cpu type.----------------------------
uname -a: Linux lfs 2.6.22.1-xbox-xbox #2 PREEMPT Tue Sep 11 22:21:18 
GMT 2007 i686 pentium3 i386 GNU/Linux
g++ -dumpmache: i686-pc-linux-gnu
Checking for pkg-config.-------------------------------
0.22
Checking for ffmpeg.------------------------------------
try to use pkg-config.
Package libpostproc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpostproc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpostproc' found
/usr/local/include/ffmpeg/avcodec.h:2249: warning: 'ImgReSampleContext' 
is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2243)
/usr/local/include/ffmpeg/avcodec.h:2259: warning: 'ImgReSampleContext' 
is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2243)
/tmp/ccSYN0QX.o: In function `main':
softdevice-conf-24957-6749-13481.c:(.text+0x12): undefined reference to 
`avcodec_init()'
softdevice-conf-24957-6749-13481.c:(.text+0x17): undefined reference to 
`avcodec_register_all()'
collect2: ld returned 1 exit status
pkg-config failed, try the default/parameter path.
/usr/local/include/ffmpeg/avcodec.h:2249: warning: 'ImgReSampleContext' 
is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2243)
/usr/local/include/ffmpeg/avcodec.h:2259: warning: 'ImgReSampleContext' 
is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2243)
/tmp/cc215cp5.o: In function `main':
softdevice-conf-24957-6749-13481.c:(.text+0x12): undefined reference to 
`avcodec_init()'
softdevice-conf-24957-6749-13481.c:(.text+0x17): undefined reference to 
`avcodec_register_all()'
collect2: ld returned 1 exit status
Still failed. Maybe avutils is needed?
/usr/local/include/ffmpeg/avcodec.h:2249: warning: 'ImgReSampleContext' 
is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2243)
/usr/local/include/ffmpeg/avcodec.h:2259: warning: 'ImgReSampleContext' 
is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2243)
/tmp/ccmPArYO.o: In function `main':
softdevice-conf-24957-6749-13481.c:(.text+0x12): undefined reference to 
`avcodec_init()'
softdevice-conf-24957-6749-13481.c:(.text+0x17): undefined reference to 
`avcodec_register_all()'
collect2: ld returned 1 exit status
No. Sorry giving up.

However when ffmpeg is compiled libpostproc is built and installed but 
no libpostproc.pc is made or installed anywhere. There are no errors 
during compilation or installation either and the other libraries in 
ffmpeg make the corresponding *.pc file.

Help!



More information about the vdr mailing list