[poky] chromium browser

embedded.yogesh embedded.yogesh at gmail.com
Sun Feb 20 21:33:01 PST 2011


Hi,

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

| + echo NOTE: 'make -e MAKEFLAGS= -r BUILDTYPE=Release'

| 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

| "/usr/include/cairo" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/pango-1.0" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/gio-unix-2.0/" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/glib-2.0" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/pixman-1" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/freetype2" is unsafe for cross-compilation

| cc1plus

| cc1plus: error: include location "/usr/include/cairo" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/pango-1.0" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/gio-unix-2.0/" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/glib-2.0" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/pixman-1" is unsafe for cross-compilation

| cc1plus: error: include location "/usr/include/freetype2" is unsafe for cross-compilation

| : error: include location "/usr/include/directfb" is unsafe for cross-compilation

| make: *** [out/Release/obj.target/app_base/ui/base/animation/animation.o] Error 1

| + die 'oe_runmake failed'

| + oefatal 'oe_runmake failed'

| + echo FATAL: 'oe_runmake failed'

| FATAL: oe_runmake failed

| + exit 1

|

| cc1plus: error: include location "/usr/include/directfb" is unsafe for cross-compilation

| make: *** [out/Release/obj.target/app_base/ui/base/animation/animation.o] Error 1

| + die 'oe_runmake failed'

| + oefatal 'oe_runmake failed'

| + echo FATAL: 'oe_runmake failed'

| FATAL: oe_runmake failed

| + exit 1


Thanks
Yogesh


On Tuesday 08 February 2011 09:32 AM, embedded.yogesh wrote:
> On Tuesday 08 February 2011 12:05 AM, Gary Thomas wrote:
>> On 02/07/2011 11:23 AM, Darren Hart wrote:
>>> On 02/07/2011 04:51 AM, embedded.yogesh wrote:
>>>> On Monday 07 February 2011 05:45 PM, Gary Thomas wrote:
>>>>> On 02/06/2011 09:52 PM, yogesh lal wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I am new to poky, so don't know it will make any sense or not, but
>>>>>> can we build chromium browser using Poky ?
>>>>>
>>>>> What's your target architecture? Last I checked, only x86 and ARM
>>>>> are supported.
>>>>>
>>>>> It can be done, but it's certainly not for the faint of heart :-)
>>>>>
>>>>
>>>> I am working on X86 platform. Can you give some initial start up 
>>>> where I
>>>> have to look ?
>>>
>>> Find and download the Chromium source, then have a look at the Poky 
>>> Reference Guide for how to create an appropriate recipe, using 
>>> recipes for projects with similar source layouts
>>> as examples.
>>>
>>> http://www.yoctoproject.org/docs/poky-ref-manual/poky-ref-manual.html
>>
>> Probably a lot easier to start with the OpenEmbedded recipe
>> since it already works.  The biggest problem is that there
>> are a ton of dependencies, so you'll need to bring in those
>> recipes as well.
>>
>
> Thanks Gary Thomas  and Darren Hart ,
>
> I am look in to poky-ref-manual and OpenEmbedded recipes :)
>
> ---
> Yogesh




More information about the poky mailing list