All of lore.kernel.org
 help / color / mirror / Atom feed
From: "lists" <lists@citiwave.net>
To: <openembedded-devel@lists.openembedded.org>
Subject: Firefox 2.0.0.3 - alix - glib2 - libidl2
Date: Tue, 29 Apr 2008 10:56:27 +0300	[thread overview]
Message-ID: <00f901c8a9ce$8937ed00$9ba7c700$@net> (raw)
In-Reply-To: <c384c5ea0804282203n7b743ed7w41e5e4c201b81a13@mail.gmail.com>

I was able to build firefox 2 months ago. 
I see those missing glib.h and IDL.h which are indeed exist in staging inc path

[avr@dev org.openembedded.dev]$ ls tmp/staging/i586-angstrom-linux/usr/include/glib-2.0/glib.h
tmp/staging/i586-angstrom-linux/usr/include/glib-2.0/glib.h

[avr@dev org.openembedded.dev]$ ls tmp/staging/i586-angstrom-linux/usr/include/libIDL-2.0/libIDL/IDL.h
tmp/staging/i586-angstrom-linux/usr/include/libIDL-2.0/libIDL/IDL.h

mozilla configure script :

line 6305
if test ! -f "${_GLIB_PREFIX_DIR}/include/glib.h"; then
        { echo "configure: error: Cannot find $_GLIB_PREFIX_DIR/include/glib.h ." 1>&2; exit 1; }
    Fi

And line 6330

if test ! -f "${_LIBIDL_PREFIX_DIR}/include/libIDL/IDL.h"; then
        { echo "configure: error: Cannot find $_LIBIDL_PREFIX_DIR/include/libIDL/IDL.h ." 1>&2; exit 1; }
    Fi

As you can see those paths are different than the ones installed by glib and libidl.


Below is the error while trying to complile.

Any patch suggestions for those new glib/idl versions?



| ccache gcc -o host_xpidl.o -c -isystem/home/avr/OE/org.openembedded.dev/tmp/staging/i686-linux/usr/include -Os -DXP_UNIX -O3  `PKG_CONFIG_PATH=/home/avr/OE/org.openembedded.dev/tmp/staging/i686-linux/usr/lib/pkgconfig pkg-config libIDL-2.0 --cflags` -DMDCPUCFG=\"md/_linux.cfg\"   -I../../../dist/include/xpcom -I../../../dist/include -I../../../dist/include/nspr    -I../../../dist/sdk/include -I../../../dist/include/nspr xpidl.c
| In file included from xpidl.c:42:
| xpidl.h:49:18: error: glib.h: No such file or directory
| xpidl.h:53:24: error: libIDL/IDL.h: No such file or directory
| In file included from xpidl.c:42:
| xpidl.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enable_debug'
| xpidl.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enable_warnings'
| xpidl.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'verbose_mode'
| xpidl.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'emit_typelib_annotations'
| xpidl.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'explicit_output_filename'
| xpidl.h:97: error: expected declaration specifiers or '...' before '*' token
| xpidl.h:97: error: 'gboolean' declared as function returning a function
| xpidl.h:103: error: expected specifier-qualifier-list before 'nodeHandler'
| xpidl.h:133: error: expected specifier-qualifier-list before 'IDL_ns'
| xpidl.h:141: error: expected specifier-qualifier-list before 'GHashTable'
| xpidl.h:159: error: expected ')' before 'p'
| xpidl.h:180: error: 'xpidl_process_node' declared as function returning a function
| xpidl.h:205: error: 'xpidl_sprint_iid' declared as function returning a function
| xpidl.h:212: error: 'xpidl_parse_iid' declared as function returning a function
| xpidl.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'find_underlying_type'
| xpidl.h:251: error: expected ')' before 'const_tree'
| xpidl.h:257: error: expected ')' before 'method_tree'
| xpidl.h:263: error: expected ')' before 'method_tree'
| xpidl.h:269: error: expected ')' before 'method_tree'
| xpidl.h:276: error: 'check_native' declared as function returning a function
| xpidl.h:279: error: expected declaration specifiers or '...' before 'GSList'
| xpidl.c:63: error: function 'enable_debug' is initialized like a variable
| xpidl.c:63: error: 'FALSE' undeclared here (not in a function)
| xpidl.c:64: error: function 'enable_warnings' is initialized like a variable
| xpidl.c:65: error: function 'verbose_mode' is initialized like a variable
| xpidl.c:66: error: function 'emit_typelib_annotations' is initialized like a variable
| xpidl.c:67: error: function 'explicit_output_filename' is initialized like a variable
| xpidl.c: In function 'main':
| xpidl.c:107: error: function 'create_old_typelib' is initialized like a variable
| xpidl.c:131: error: 'TRUE' undeclared (first use in this function)
| xpidl.c:131: error: (Each undeclared identifier is reported only once
| xpidl.c:131: error: for each function it appears in.)
| xpidl.c:144: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
| xpidl.c:144: error: 'typelib_version_string' undeclared (first use in this function)
| xpidl.c:157: warning: the address of 'create_old_typelib', will always evaluate as 'true'
| make[6]: *** [host_xpidl.o] Error 1


Thanks

Bill




      parent reply	other threads:[~2008-04-29  7:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28 19:51 Mixed up STAGING_INCDIR's in uclibc.inc? Geoffrey Wossum
2008-04-28 21:39 ` Leon Woestenberg
2008-04-28 21:56   ` Khem Raj
2008-04-28 21:49 ` Holger Freyther
2008-04-28 22:17   ` Geoffrey Wossum
2008-04-28 22:19   ` Leon Woestenberg
2008-04-29  5:03     ` Leon Woestenberg
2008-04-29  7:48       ` Khem Raj
2008-04-29 12:07         ` Leon Woestenberg
2008-04-29 12:24           ` Richard Purdie
2008-04-29 13:08             ` Leon Woestenberg
2008-04-29 14:22             ` Khem Raj
2008-04-29 17:06               ` Richard Purdie
2008-04-29  7:56       ` lists [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='00f901c8a9ce$8937ed00$9ba7c700$@net' \
    --to=lists@citiwave.net \
    --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.