From: Neil MacMunn <neil@gumstix.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: firefox fails at xpidl: missing glib
Date: Mon, 11 Apr 2011 17:43:03 -0700 [thread overview]
Message-ID: <4DA3A017.1030004@gumstix.com> (raw)
In-Reply-To: <4D9F7C9E.9000202@gumstix.com>
On 11-04-08 02:22 PM, Neil MacMunn wrote:
> On 11-04-08 11:23 AM, Neil MacMunn wrote:
>> I'm trying to bitbake firefox with this configuration.
>>
>>> Build Configuration:
>>> BB_VERSION = "1.12.0"
>>> METADATA_BRANCH = "unstable"
>>> METADATA_REVISION = "219f1e9"
>>> TARGET_ARCH = "arm"
>>> TARGET_OS = "linux-gnueabi"
>>> MACHINE = "overo"
>>> DISTRO = "angstrom"
>>> DISTRO_VERSION = "v20110408"
>>> TARGET_FPU = "hard"
>>
>> But it fails in the directory
>> ...work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/xpcom/typelib/xpidl
>>
>>
>>
>>> gcc -o host_xpidl.o -c
>>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>>>
>>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>>> -I../../../dist/include -I../../../dist/include/nsprpub
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> xpidl.c
>>> xpidl_idl.c
>>> gcc -o host_xpidl_idl.o -c
>>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>>>
>>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>>> -I../../../dist/include -I../../../dist/include/nsprpub
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> xpidl_idl.c
>>> xpidl_util.c
>>> gcc -o host_xpidl_util.o -c
>>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>>>
>>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>>> -I../../../dist/include -I../../../dist/include/nsprpub
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> xpidl_util.c
>>> xpidl_header.c
>>> gcc -o host_xpidl_header.o -c
>>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>>>
>>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>>> -I../../../dist/include -I../../../dist/include/nsprpub
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> xpidl_header.c
>>> In file included from xpidl.c:42:
>>> xpidl.h:49: fatal error: glib.h: No such file or directoryIn file
>>> included from xpidl_util.c:42:
>>> xpidl.h:49: fatal error: glib.h: No such file or directory
>>
>> cp sysroots/x86_64-linux/usr/include/glib-2.0/glib.h
>> sysroots/x86_64-linux/usr/include/ got me to another missing header
>> error. Comparing the log of my last successful build, this is missing.
>>
>>> -pthread
>>> -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libIDL-2.0
>>>
>>> -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0
>>>
>>> -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include
>>>
>>>
>>
>> What would cause these includes to be omitted?
>>
>> --
>> Neil
>>
>>
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> I manually changed this line
>
>> HOST_LIBIDL_CFLAGS =
> to
>> HOST_LIBIDL_CFLAGS = -pthread
>> -I/home/neil/overo-oe/tmp-overo/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libIDL-2.0
>> -I/home/neil/overo-oe/tmp-overo/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0
>> -I/home/neil/overo-oe/tmp-overo/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include
>>
>
> in autoconf.mk and the compile succeeded. autoconf.mk.in hasn't changed
> since my previous successful build. This is a clean build so maybe
> libIDL was missing?
>
I hit this problem again on another machine and found that
>
> HOST_LIBIDL_LIBS = -pthread -lIDL-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
also needs to be added and building libIDL first doesn't change anything.
prev parent reply other threads:[~2011-04-12 0:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 18:23 firefox fails at xpidl: missing glib Neil MacMunn
2011-04-08 20:56 ` Henning Heinold
2011-04-08 21:22 ` Neil MacMunn
2011-04-12 0:43 ` Neil MacMunn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DA3A017.1030004@gumstix.com \
--to=neil@gumstix.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.