I'm trying to get libsdl_gfx to build. I've created a .bb file which runs and 
installs the relevant headers and libs in tmp/sysroots.

However, I'm getting a QA failure:

NOTE: package libsdl-gfx-2.0.24-r1: task do_populate_sysroot: Succeeded
WARNING: libsdl-gfx: The compile log indicates that host include and/or library 
paths were used.
         Please check the log 
'/media/SSD-RAID/build-denzil-git-sjs-cedartrail/tmp/work/core2-sjs-linux/libsdl-gfx-2.0.24-r1/temp/log.do_compile'
 for more information.

The compile log has instances of:

cc1: warning: include location "/usr/include/SDL" is unsafe for 
cross-compilation [-Wpoison-system-directories]

The source uses autotools. I've had a look round the files, but it's not 
obvious to me where the above path is set (I'm definitely not an autotools 
expert). Can anyone give me an idea what I should be looking for? I suspect it 
may have something to do with a line from Makefile.am:

libSDL_gfxincludedir = $(includedir)/SDL

Chris Tapp

opensou...@keylevel.com
www.keylevel.com



_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to