[x264-devel] compile error
BugMaster
BugMaster at narod.ru
Sat May 12 19:22:05 CEST 2012
On Sat, 12 May 2012 19:16:16 +0800 (CST), 王铁汉 wrote:
> Dear friends:
> I'm sorry to disturb you. When I compiled the last
> version x264(x264-snapshot-20120510-2245),it arise the following errors:
> "
> root at ubuntu:/home/wang/program/x264-snapshot-20120510-2245# make
> gcc -Wshadow -O1 -g -m32 -Wall -I. -I. -std=gnu99
> -I/usr/local/include -I/usr/local/include -fno-tree-vectorize
> -c -o filters/video/resize.o filters/video/resize.c
> filters/video/resize.c: In function ‘pick_closest_supported_csp’:
> filters/video/resize.c:184: error: ‘av_pix_fmt_descriptors’
> undeclared (first use in this function)
> filters/video/resize.c:184: error: (Each undeclared identifier is reported only once
> filters/video/resize.c:184: error: for each function it appears in.)
> make: *** [filters/video/resize.o] 错误 1
> "
> My configure is:./configure --disable-asm.
> I'm looking forward to your help.
This error message tell you that your ffmpeg/libav is old
(av_pix_fmt_descriptors missing from libavutil\pixdesc.h) and you need
to update it. But what is strange is that it should fail at
./configure time not at compile time. Did you made something between
configure and make (like updating sources or installing librayies)?
Also it can be problem with multiple versions of ffmpeg/libav headers
in different directories so during ./configure and make it looks in
different places. It is problematic to say anything more because you
didn't attach config.log file.
More information about the x264-devel
mailing list