[yocto] [meta-raspberrypi][PATCH] omxplayer: fix compilation with GCC 6
Andrei Gherzan
andrei at gherzan.ro
Tue Jun 14 09:48:50 PDT 2016
Hi,
On Wed, Jun 08, 2016 at 12:57:13AM +1000, Jonathan Liu wrote:
> Specifying -isystem${STAGING_DIR_HOST}/usr/include in INCLUDES gives:
>
> In file included from utils/PCMRemap.cpp:26:0:
> .../build/tmp/sysroots/raspberrypi2/usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
> #include_next <stdlib.h>
> ^
> compilation terminated.
> Makefile:44: recipe for target 'utils/PCMRemap.o' failed
>
> To resolve this, /usr/include shouldn't be specified as it is already a
> default include path relative to the sysroot.
>
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129.
>
> Signed-off-by: Jonathan Liu <net147 at gmail.com>
Pushed to master. Thanks.
--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160614/caf1522f/attachment.pgp>
More information about the yocto
mailing list