Bug#582037: idjc: FTBFS error: ffmpeg/avcodec.h: No such file or directory

Stefano Rivera stefano at rivera.za.net
Mon May 17 20:31:56 UTC 2010


Package: idjc
Version: 0.8.2-2
Severity: important
Justification: fails to build from source

idjc appears to look for libavcodec headers in the wrong place.

Interesting parts in the failed build log:

checking for avcodec.h in legacy ffmpeg directory... yes
checking for avcodec_decode_audio3 in -lavcodec... ffmpeg_avcodec.c:3:28: error: ffmpeg/avcodec.h: No such file or directory
ffmpeg_avcodec.c: In function 'main':
ffmpeg_avcodec.c:7: error: 'LIBAVCODEC_VERSION_INT' undeclared (first use in this function)
ffmpeg_avcodec.c:7: error: (Each undeclared identifier is reported only once
ffmpeg_avcodec.c:7: error: for each function it appears in.)
no


gcc -DHAVE_CONFIG_H -I. -I..    -Wall -std=gnu99 -O2    -I/usr/include/FLAC        -g -O2 -c -o idjcmixer-idjcmixer.o `test -f 'idjcmixer.c' || echo './'`idjcmixer.c
In file included from idjcmixer.c:45:
avcodecdecode.h:26:28: error: ffmpeg/avcodec.h: No such file or directory
avcodecdecode.h:27:29: error: ffmpeg/avformat.h: No such file or directory
In file included from idjcmixer.c:45:
avcodecdecode.h:37: error: expected specifier-qualifier-list before 'AVCodec'


$ dpkg -L libavcodec-dev | grep avcodec.h
/usr/include/libavcodec/avcodec.h
$ dpkg -L libavformat-dev | grep avformat.h
/usr/include/libavformat/avformat.h





More information about the pkg-multimedia-maintainers mailing list