Am Samstag, den 16.04.2011, 14:28 +0200 schrieb Paul Menzel: > Am Freitag, den 15.04.2011, 22:40 +0200 schrieb Denis 'GNUtoo' Carikli: > > On Fri, 2011-04-15 at 18:42 +0200, Patrik Dahlström wrote: > > > * autoconf does not fill in any CFLAGS or LIBS for libIDL-2.0. This > > > patch sets the appropriate flags in autoconf.mk.in for > > > HOST_LIBIDL_CFLAGS and HOST_LIBIDL_LIBS. > > What error did you get? > > Maybe you could add something like: > > This patch fixes the following error: > > [ERROR here] > > To the commit message. > > I get the following error message. > > make[7]: Entering directory > `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/xpcom/typelib/xpidl' > xpidl.c > gcc -o host_xpidl.o -c > -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include > -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I. -I../../.. > /dist/include -I../../../dist/include/nsprpub > -I/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr > -I/hom > > e/paul/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss > -I/oe/build-minimal-eglibc/minimal-dev/work/a > > rmv7a-oe-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr > xpidl.c > > In file included from xpidl.c:42: > xpidl.h:49:18: error: glib.h: No such file or directory > In file included from xpidl_idl.c:43: > xpidl.h:49:18: error: glib.h: No such file or directory > In file included from xpidl_util.c:42: > xpidl.h:49:18: error: glib.h: No such file or directory > In file included from xpidl_header.c:42: > xpidl.h:49:18: error: glib.h: No such file or directory > xpidl.h:52:24: error: libIDL/IDL.h: No such file or directory > xpidl.h:52:24: error: libIDL/IDL.h: No such file or directory > xpidl.h:52:24: error: libIDL/IDL.h: No such file or directory > In file included from xpidl.c:42: > xpidl.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'enable_debug' > xpidl.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'enable_warnings' > xpidl.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'verbose_mode' > xpidl.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'emit_typelib_annotations' > xpidl.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'explicit_output_filename' > In file included from xpidl_idl.c:43: > xpidl.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'enable_debug' > xpidl.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'enable_warnings' > xpidl.h:94: error: expected declaration specifiers or '...' before > '*' tokenxpidl.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'verbose_mode' > > xpidl.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'emit_typelib_annotations' > xpidl.h:94: error: 'gboolean' declared as function returning a > function > xpidl.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'explicit_output_filename' > xpidl.h:100: error: expected specifier-qualifier-list before > 'nodeHandler' > xpidl.h:94: error: expected declaration specifiers or '...' before > '*' token > xpidl.h:94: error: 'gboolean' declared as function returning a > function > xpidl.h:100: error: expected specifier-qualifier-list before > 'nodeHandler' > xpidl.h:130: error: expected specifier-qualifier-list before 'IDL_ns' > xpidl.h:138: error: expected specifier-qualifier-list before > 'GHashTable' > xpidl.h:130: error: expected specifier-qualifier-list before 'IDL_ns' > xpidl.h:156: error: expected ')' before 'p' > xpidl.h:138: error: expected specifier-qualifier-list before > 'GHashTable' > xpidl.h:177: error: 'xpidl_process_node' declared as function > returning a function > xpidl.h:156: error: expected ')' before 'p' > xpidl.h:202: error: 'xpidl_sprint_iid' declared as function returning > a function > xpidl.h:177: error: 'xpidl_process_node' declared as function > returning a functionxpidl.h:209: error: 'xpidl_parse_iid' declared as > function returning a function > > xpidl.h:202: error: 'xpidl_sprint_iid' declared as function returning > a function > xpidl.h:241: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'find_underlying_type'xpidl.h:209: error: 'xpidl_parse_iid' declared > as function returning a function > > xpidl.h:248: error: expected ')' before 'const_tree' > xpidl.h:254: error: expected ')' before 'method_tree' > xpidl.h:260: error: expected ')' before 'method_tree' > xpidl.h:266: error: expected ')' before 'method_tree'xpidl.h:241: > error: expected '=', ',', ';', 'asm' or '__attribute__' before > 'find_underlying_type' > > xpidl.h:273: error: 'check_native' declared as function returning a > functionxpidl.h:248: error: expected ')' before 'const_tree' > > xpidl.h:254: error: expected ')' before 'method_tree' > xpidl.h:276: error: expected declaration specifiers or '...' before > 'GSList' > xpidl.h:260: error: expected ')' before 'method_tree' > xpidl.h:279: error: expected ')' before 'method_tree'xpidl.h:266: > error: expected ')' before 'method_tree' > > xpidl.h:273: error: 'check_native' declared as function returning a > function > xpidl.h:276: error: expected declaration specifiers or '...' before > 'GSList' > xpidl.h:279: error: expected ')' before 'method_tree' > > > By the way, thanks a lot for the fix. > > I am testing this patch right now and will see if also a dependency on > `glib-2.0` is needed.
Patrik’s patch worked just fine.
Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "gitorious"
METADATA_REVISION = "2acbb95"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "minimal"
DISTRO_VERSION = "dev-snapshot-20110416"
TARGET_FPU = "hard"
Thanks,
Paul
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
