Closed
Bug 247010
Opened 22 years ago
Closed 21 years ago
Build failure while linking "mozilla-installer-bin"
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 260337
People
(Reporter: roland.mainz, Assigned: bryner)
Details
Attachments
(1 obsolete file)
Mozilla FireFox 0.9 GTK2 release build - the build fails like this due a missing
"-lnsl" statement:
-- snip --
nsXIEngine.cpp
Building deps for
../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp
/opt/SUNWspro/bin/CC -o nsXIEngine.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\"
-I../../../../../../mozilla/xpinstall/stub -I../../../../../dist/include/xpcom
-I../../../../../dist/include/jar -I../../../../../dist/include/xpnet
-I../../../../../dist/include -I../../../../../dist/include
-I/shared/bigtmp/mozilla/firefox_0_9_build/gtk2/objdir_gtk1/dist/include/nspr
-I/usr/openwin/include -I/usr/openwin/include
-DNS_DISABLE_LITERAL_TEMPLATE=1 -features=tmplife -xbuiltin=%all -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/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/openwin/include
-DMOZILLA_VERSION=\"1.7\" -DSOLARIS=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_UINT=1 -DHAVE_UINT_T=1
-DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1
-DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=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_VERSION=\"1.7\" -DMOZILLA_SKIN_VERSION=\"1.5\"
-D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT
../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp
"../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp",
line 376: Warning: String literal converted to char* in formal argument URL in
call to nsXIEngine::CheckConn(char*, int, _conn*, int).
"../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp",
line 378: Warning: String literal converted to char* in formal argument dlPath
in call to nsXIEngine::CRCCheckDownloadedArchives(char*, short, nsComponent*,
int, int).
"../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp",
line 485: Warning: String literal converted to char* in formal argument aSrc in
call to nsZipExtractor::nsZipExtractor(char*, char*).
"../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp",
line 578: Warning: String literal converted to char* in assignment.
"../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp",
line 692: Warning (Anachronism): Formal argument progressCB of type extern "C"
void(*)(const char*,int,int) is being passed void(*)(const char*,int,int).
"../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp",
line 1092: Warning: String literal converted to char* in initialization.
"../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp",
line 1092: Warning: String literal converted to char* in initialization.
"../../../../../../mozilla/toolkit/mozapps/installer/unix/wizard/nsXIEngine.cpp",
line 1092: Warning: String literal converted to char* in initialization.
8 Warning(s) detected.
/opt/SUNWspro/bin/CC -o mozilla-installer-bin -I/usr/openwin/include
-DNS_DISABLE_LITERAL_TEMPLATE=1 -features=tmplife -xbuiltin=%all -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/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 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
../../../../../dist/lib/libjar50_s.a ../../../../../dist/lib/libxpnet_s.a
-lpthread -lsocket -ldl -lm
Undefined first referenced
symbol in file
gethostbyname
../../../../../dist/lib/libxpnet_s.a(nsSocket.o) (symbol belongs to implicit
dependency /usr/lib/libnsl.so.1)
gethostbyaddr
../../../../../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
gmake[4]: *** [mozilla-installer-bin] Error 1
gmake[4]: Leaving directory
`/shared/bigtmp/mozilla/firefox_0_9_build/gtk2/objdir_gtk1/toolkit/mozapps/installer/unix/wizard'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/shared/bigtmp/mozilla/firefox_0_9_build/gtk2/objdir_gtk1/toolkit/mozapps/installer/unix'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/shared/bigtmp/mozilla/firefox_0_9_build/gtk2/objdir_gtk1/toolkit/mozapps/installer'
gmake[1]: *** [tier_99] Error 2
gmake[1]: Leaving directory
`/shared/bigtmp/mozilla/firefox_0_9_build/gtk2/objdir_gtk1'
gmake: *** [default] Error 2
-- snip --
Comment 1•21 years ago
|
||
(In reply to comment #0)
I get this same issue on Firefox 1.0.1 building on Solaris 10 x86.
Brett
Comment 2•21 years ago
|
||
Attachment #184479 -
Flags: review?
Updated•21 years ago
|
Attachment #184479 -
Flags: review? → review?(benjamin)
Updated•21 years ago
|
Attachment #184479 -
Flags: review?(benjamin) → review+
Updated•21 years ago
|
Attachment #184479 -
Flags: superreview?
Comment 3•21 years ago
|
||
Comment on attachment 184479 [details] [diff] [review]
Add -lnsl when building on Solaris.
[Checkin: See comment 5]
No SR is needed for toolkit/
Attachment #184479 -
Flags: superreview? → approval-aviary1.1a2?
Comment 4•21 years ago
|
||
Comment on attachment 184479 [details] [diff] [review]
Add -lnsl when building on Solaris.
[Checkin: See comment 5]
a=shaver
Attachment #184479 -
Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
Updated•21 years ago
|
Whiteboard: [checkin needed]
Comment 5•21 years ago
|
||
A similar patch has already been committed to the trunk in CVS.
http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/installer/unix/wizard/Makefile.in#80
See bug #260337
Comment 6•21 years ago
|
||
this got fixed in bug 260337, after 1.0.x
*** This bug has been marked as a duplicate of 260337 ***
*** This bug has been marked as a duplicate of 260337 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Attachment #184479 -
Attachment description: Add -lnsl when building on Solaris. → Add -lnsl when building on Solaris.
[Checkin: See comment 5]
Attachment #184479 -
Attachment is obsolete: true
Updated•21 years ago
|
Whiteboard: [checkin needed]
Updated•8 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
•