LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 02-04-2005, 01:50 AM   #1
montylee
Member
 
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168

Rep: Reputation: 30
Mozilla Firefox Build on AIX Problem


Hi,

I am trying to build Mozilla Firefox from the Mozilla source (Version: 0.9.3).
The version of AIX is 5, the output of 'uname -a' command is:
% uname -a
AIX rook 1 5 0007831C4C00

compiler version:
% xlc
VisualAge C++ Professional / C for AIX Compiler, Version 5

My .mozconfig file is:
. $topsrcdir/browser/config/mozconfig
ac_add_options --disable-tests
ac_add_options --disable-auto-deps
ac_add_options --enable-crypto
ac_add_options --enable-extensions
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-opt
ac_add_options --disable-debug
ac_add_options --enable-optimize="-O2 -qmaxmem=-1 -qalias=noansi"
ac_add_options --enable-default-toolkit=gtk2
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
CC=xlc
CXX=xlC
LANG=C
LDFLAGS="-brtl -bso -bh:5"

Also, $topsrcdir/browser/config/mozconfig file is:

# This file specifies the build flags for Firefox. You can use it by adding:
# . $topsrcdir/browser/config/mozconfig
# to the top of your mozconfig file.

export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1

ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,typeaheadf
ind,webservices,inspector,gnomevfs,negotiateauth
ac_add_options --enable-crypto
ac_add_options --disable-composer
ac_add_options --enable-single-profile
ac_add_options --disable-profilesharing

Then, i run the build using the following command:
% gmake -f client.mk build

I get an error, here is the main part of the error:
gmake[5]: Entering directory `/home1/oie/mozi/riaj/mozilla/xpcom/reflect/xptinfo/src'
xptiInterfaceInfoManager.cpp
xlC -o xptiInterfaceInfoManager.o -c -DOSTYPE=\"AIX5.1\" -DOSARCH=\"AIX\" -DEXPORT_XPTI_API -DEXPORT_XPT_API -D_IMPL_NS_COM -D_IMPL_NS_BASE -I./../../../ds -I../../../../dist/include/string -I../../../../dist/include/xpcom -I../../../../dist/include -I/home1/oie/mozi/riaj/mozilla/dist/include/nspr -qflag=w:w -DNDEBUG -DTRIMMED -O2 -qmaxmem=-1 -qalias=noansi -DMOZILLA_CLIENT -D_MOZILLA_CONFIG_H_ -DMOZILLA_VERSION=\"1.7\" -DAIX=1 -DHAVE_SYS_INTTYPES_H=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_INT64=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_LIBC_R=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBC_R=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_RES_NINIT=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk2\" -DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_PHOENIX=1 -DMOZ_XUL_APP=1 -DMOZ_APP_NAME=\"firefox\" -DMOZ_ENABLE_COREXFONTS=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_LOCALE_VERSION=\"1.7\" -DMOZILLA_REGION_VERSION=\"1.7\" -DMOZILLA_SKIN_VERSION=\"1.5\" xptiInterfaceInfoManager.cpp
xlC: 1501-224 fatal error in /usr/vacpp/exe/xlCentry: signal 11 received
gmake[5]: *** [xptiInterfaceInfoManager.o] Error 251
gmake[5]: Leaving directory `/home1/oie/mozi/riaj/mozilla/xpcom/reflect/xptinfo/src'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/home1/oie/mozi/riaj/mozilla/xpcom/reflect/xptinfo'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/home1/oie/mozi/riaj/mozilla/xpcom/reflect'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/home1/oie/mozi/riaj/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/home1/oie/mozi/riaj/mozilla'
gmake: *** [default] Error 2


Somebody please help !!!
 
Old 02-04-2005, 11:12 AM   #2
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
I would say that /usr/vacpp/exe/xlCentry is a part of the IBM C compiler, and that gmake is for use with gcc compiler. Don't you have a mix between the gcc world and the xlC world compilers and libraries ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mozilla Firefox Installation problem on AIX 5.2 rylaix AIX 8 09-24-2005 12:34 PM
Build firefox on HP-UX Problem montylee Other *NIX 3 03-17-2005 07:10 AM
problem with mozilla/firefox gordonbrown63 Linux - Software 0 12-17-2004 05:55 PM
Serious Problem with Mozilla Firefox Mrrrr. Nice Guy Linux - Software 17 12-01-2004 06:33 PM
I have a problem with Mozilla Firefox RJARRRPCGP Linux - Newbie 7 11-20-2004 06:58 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration