[poky] chromium browser

Richard Purdie richard.purdie at linuxfoundation.org
Tue Feb 22 03:13:09 PST 2011


Hi,

On Mon, 2011-02-21 at 11:03 +0530, embedded.yogesh wrote:
> I tried to pull Chrome from OpenEmbedded and also pulled in its deps .
> But at the time of building chrome getting following errors can any one 
> have any idea ?
> 
> | + oe_runmake -r BUILDTYPE=Release
> | + '[' xmake = x ']'
> | + oenote make -e MAKEFLAGS= -r BUILDTYPE=Release
> | elease'
> | NOTE: make -e MAKEFLAGS= -r BUILDTYPE=Release
> | + make -e MAKEFLAGS= -r BUILDTYPE=Release
> |   CXX(target) out/Release/obj.target/app_base/ui/base/animation/animation.o
> | cc1plus: warnings being treated as errors
> | cc1plus: error: include location "/usr/include/libpng12" is unsafe for cross-compilation
> | cc1plus: error: include location "/usr/include/gtk-2.0" is unsafe for cross-compilation
> | cc1plus: error: include location "/usr/include/atk-1.0" is unsafe for cross-compilation
> | cc1plus: error: include location

Its accessing parts of the build system (/usr/include) and the compiler
is turning warnings into errors and failing. You need to fix the build
to use the sysroot for cross compiling and not to look at the build
system.

Cheers,

Richard






More information about the poky mailing list