[FFmpeg-devel] [PATCH 3/3] configure: Remove -Wredundant-decls on OS/2 to suppress noise.

Dmitriy Kuminov coding at dmik.org
Thu Apr 28 19:51:34 CEST 2016

On 2016-04-28 12:13:21 +0000, KO Myung-Hun said:

> Then, it may be a problem of pkg-config. pkg-config does not output
> system header directories such as /usr/include unless
> PKG_CONFIG_ALLOW_SYSTEM_CFLAGS is set. However, pkg-config seems not to
> think of /@unixroot/usr/include as a system header directory.

Thanks for the hint, I had such a guess. I checked it now, our 
pkgconfig port is still 0.25 (6 years old) and it indeed uses a 
hardcoded "/usr/include" value for this. They fixed it in 2011 so it 
can be now specified via ./configure --with-system-include path. So 
basically updating our sources to the recent ones and rebuilding the 
RPM should solve the issue.
> As a result, the correct way is to fix pkg-config itself to understand
> /@unixroot notation. Or remove /@unixroot prefix from .pc files as a
> workaround.

I completely agree that we should fix pkg-config in this case, so 
finally no need to apply this patch.

Kind regards,
Dmitriy Kuminov
CPO of bww bitwise works GmbH

More information about the ffmpeg-devel mailing list