Closed
Bug 260336
Opened 20 years ago
Closed 20 years ago
Fail to build on solaris
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 260337
People
(Reporter: eagle.lu, Assigned: bryner)
Details
I have checked out firefox 1.0 (tag NFIREFOX_0_10_RELEASE) and built it
successfully on linux But when I try to use the same configure options on
solaris. Firefox failed to build. I encounted two errors:
1. When I include the line ". $topsrcdir/browser/config/mozconfig" in .mozconfig
I was told that export MOZ_PHOENIX=1 is invalid.
2. During compiling, I encounted following errors:
CC -o mozilla-installer-bin -I/usr/openwin/include -xO2 -xlibmil -xlibmopt
-features=tmplife -xbuiltin=%all -mt -xbuiltin=%all -features=tmplife -mt
-DNDEBUG -DTRIMMED -xO2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include
-I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include nsINIParser.o nsXInstallerDlg.o nsComponent.o
nsSetupType.o nsComponentList.o nsRunApp.o nsLicenseDlg.o nsWelcomeDlg.o
nsSetupTypeDlg.o nsComponentsDlg.o nsInstallDlg.o nsZipExtractor.o nsXIOptions.o
nsXIContext.o nsXInstaller.o nsXIEngine.o -xildoff -zlazyload -zcombreloc
-L../../../../../dist/bin -L../../../../../dist/lib -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../../../../../dist/lib/libjar50_s.a
../../../../../dist/lib/libxpnet_s.a -lpthread -lsocket -ldl -lm
Undefined first referenced
symbol in file
gethostbyaddr
../../../../../dist/lib/libxpnet_s.a(nsSocket.o) (symbol belongs to implicit
dependency /usr/lib/libnsl.so.1)
gethostbyname
../../../../../dist/lib/libxpnet_s.a(nsSocket.o) (symbol belongs to implicit
dependency /usr/lib/libnsl.so.1)
inet_addr
../../../../../dist/lib/libxpnet_s.a(nsSocket.o) (symbol belongs to implicit
dependency /usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to mozilla-installer-bin
I use the following configure options to build firefox:
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-single-profile
ac_add_options --disable-profilesharing
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options
--enable-extensions="cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,gnomevfs,negotiateauth"
ac_add_options --enable-crypto
ac_add_options --disable-composer
ac_add_options --disable-debug
ac_add_options --enable-optimize="-xO2"
ac_add_options --disable-tests
ac_add_options --disable-static
ac_add_options --enable-shared
ac_add_options --enable-timeline
# ac_add_options --disable-gtktest
# ac_add_options --disable-glibtest
# ac_add_options --disable-libIDLtest
ac_add_options --without-system-nspr
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 --x-includes=/usr/openwin/include
ac_add_options --x-libraries=/usr/openwin/lib
mk_add_options MOZ_PHOENIX=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 260337 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Summary: Fail to build on solaris → Fail to build on solaris
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•