Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

need help in building mozilla for arm

7 views
Skip to first unread message

tintin

unread,
Dec 26, 2008, 1:57:34 AM12/26/08
to
Hi all,

Im trying to build firefox-2.0.0.17 on my fc-7 system for arm . My
mozconfig file is as follows .

CROSS_COMPILE=1
HOST_LIBIDL_CONFIG=/usr/local/bin/libIDL-config-2
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --disable-gtktest
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-png
ac_add_options --without-system-mng
ac_add_options --disable-freetype2
ac_add_options --disable-accessibility
ac_add_options --with-pthreads
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-application=browser
ac_add_options --disable-canvas
ac_add_options --disable-mailnews
ac_add_options --disable-ldap
ac_add_options --enable-pango
ac_add_options --disable-composer
ac_add_options --disable-extensions
ac_add_options --enable-image-decoders
ac_add_options --enable-image-encoders
ac_add_options --disable-svg
ac_add_options --disable-javaxpcom
ac_add_options --disable-xpcom-fastload
ac_add_options --disable-xprint
ac_add_options --disable-plugins
ac_add_options --disable-oji
ac_add_options --disable-ctl
ac_add_options --disable-xpfe-components
ac_add_options --disable-xpcom-lea
ac_add_options --disable-storage
ac_add_options --disable-libxul

ac_add_options --disable-logging
ac_add_options --disable-xpcom-obsolete
ac_add_options --disable-xpinstall
ac_add_options --disable-gnomeui
ac_add_options --disable-jsloader
ac_add_options --disable-jsd
ac_add_options --disable-cookies
ac_add_options --without-system-nss
ac_add_options --disable-leaky
ac_add_options --disable-xpctools
ac_add_options --disable-js-ultrasparc
ac_add_options --disable-efence
ac_add_options --disable-jprof
ac_add_options --disable-prebinding
ac_add_options --disable-quantify
ac_add_options --without-libIDL
ac_add_options --without-x
ac_add_options --disable-xinerama
ac_add_options --disable-native-uconv
ac_add_options --disable-ctl
ac_add_options --disable-ui-locale


i enter the mozilla folder(main directory) and do make , i get the
following error

gmake[4]: Entering directory `/root/Desktop/TGZ/mozilla-test/xpcom/
typelib/xpidl'
gmake[5]: Entering directory `/root/Desktop/TGZ/mozilla-test/xpcom/
typelib/xpidl'
xpidl.c
gcc -o host_xpidl.o -c -DXP_UNIX -O3 -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:27: error: glib.h: No such file or directory
xpidl.h:53:32: 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’
gmake[5]: *** [host_xpidl.o] Error 1
gmake[5]: Leaving directory `/root/Desktop/TGZ/mozilla-test/xpcom/
typelib/xpidl'


i am totally new to linux and the cross compilation could someone help
me solve this error and tell me why im getting this error .
thanks in advance

Lucien Hantute

unread,
Jan 24, 2009, 7:21:07 AM1/24/09
to
tintin wrote:
> xpidl.h:49:27: error: glib.h: No such file or directory
> xpidl.h:53:32: error: libIDL/IDL.h: No such file or directory

These lines indicate that you are missing the "devel" part of some
libraries (I'd say glib and libIDL).

You should first try to install those.

Lucien

0 new messages