[Bug 4200] test bug after moving from Greg's server to amethyst

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Fri Aug 29 06:44:53 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4200


Bill Tzanoudakis <vtzan at teilam.gr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
            Version|unspecified                 |Angstrom 2008.x
         Resolution|FIXED                       |
           Severity|enhancement                 |normal




--- Comment #4 from Bill Tzanoudakis <vtzan at teilam.gr>  2008-08-29 08:44:52 ---
Hi is this bug solved? if yes could you please tell me where is the solution?


thanks


http://bugs.openembedded.net/show_bug.cgi?id=4200

           Summary: firefox 2.0.0.3 - compile problem glib/libIDL issue
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: vtzan at teilam.gr


I see those missing glib.h and IDL.h which are indeed exist in different path

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


[avr at dev org.openembedded.dev]$ ls
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

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list