/mozilla/security/nss/lib/freebl/SunOS5.9_OPT.OBJ/libfreebl_hybrid_3.so failed to build

RESOLVED DUPLICATE of bug 93206

Status

--
blocker
RESOLVED DUPLICATE of bug 93206
15 years ago
15 years ago

People

(Reporter: mkhusid, Assigned: mscott)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

cd freebl; /usr/athena/bin/gmake -j1 libs
gmake[5]: Entering directory `/mozilla/security/nss/lib/freebl'
../../../coreconf/nsinstall/SunOS5.9_OPT.OBJ/nsinstall -R -m 664
SunOS5.9_OPT.OBJ/libfreebl.a /mozilla/dist/lib/usr/athena/bin/gmake -j1
FREEBL_RECURSIVE_BUILD=1 USE_HYBRID=1 libs
gmake[6]: Entering directory `/mozilla/security/nss/lib/freebl'
rm -f SunOS5.9_OPT.OBJ/libfreebl_hybrid_3.so
gcc -shared -h libfreebl_hybrid_3.so
-Wl,-Bsymbolic,-z,defs,-z,now,-z,text,--version-script,mapfile.Solaris -o
SunOS5.9_OPT.OBJ/libfreebl_hybrid_3.so SunOS5.9_OPT.OBJ/ldvector.o
SunOS5.9_OPT.OBJ/prng_fips1861.o SunOS5.9_OPT.OBJ/sysrand.o
SunOS5.9_OPT.OBJ/sha_fast.o SunOS5.9_OPT.OBJ/md2.o SunOS5.9_OPT.OBJ/md5.o
SunOS5.9_OPT.OBJ/sha512.o SunOS5.9_OPT.OBJ/alg2268.o SunOS5.9_OPT.OBJ/arcfour.o
SunOS5.9_OPT.OBJ/arcfive.o SunOS5.9_OPT.OBJ/desblapi.o SunOS5.9_OPT.OBJ/des.o
SunOS5.9_OPT.OBJ/rijndael.o SunOS5.9_OPT.OBJ/aeskeywrap.o SunOS5.9_OPT.OBJ/dh.o
SunOS5.9_OPT.OBJ/ec.o SunOS5.9_OPT.OBJ/GFp_ecl.o SunOS5.9_OPT.OBJ/GF2m_ecl.o
SunOS5.9_OPT.OBJ/pqg.o SunOS5.9_OPT.OBJ/dsa.o SunOS5.9_OPT.OBJ/rsa.o
SunOS5.9_OPT.OBJ/shvfy.o SunOS5.9_OPT.OBJ/mpprime.o SunOS5.9_OPT.OBJ/mpmontg.o
SunOS5.9_OPT.OBJ/mplogic.o SunOS5.9_OPT.OBJ/mpi.o SunOS5.9_OPT.OBJ/mp_gf2m.o
SunOS5.9_OPT.OBJ/mpi_sparc.o SunOS5.9_OPT.OBJ/mpv_sparcv8.o
SunOS5.9_OPT.OBJ/montmulfv8.o   /mozilla/dist/lib/libsecutil.a 
-L/mozilla/dist/lib/ -lplc4 -lplds4 -lnspr4 -lc
/mozilla/dist/lib//libnspr4.so: undefined reference to `getipnodebyaddr'
/mozilla/dist/lib//libnspr4.so: undefined reference to `dlerror'
/mozilla/dist/lib//libnspr4.so: undefined reference to `recv'
/mozilla/dist/lib//libnspr4.so: undefined reference to `connect'
/mozilla/dist/lib//libnspr4.so: undefined reference to `inet_pton'
/mozilla/dist/lib//libnspr4.so: undefined reference to `shm_open'
/usr/lib/libc.so: undefined reference to `_dlclose'
/mozilla/dist/lib//libnspr4.so: undefined reference to `getipnodebyname'
/usr/lib/libc.so: undefined reference to `_dlsym'
/mozilla/dist/lib//libnspr4.so: undefined reference to `recvfrom'
/mozilla/dist/lib//libnspr4.so: undefined reference to `sem_wait'
/mozilla/dist/lib//libnspr4.so: undefined reference to `sem_post'
/mozilla/dist/lib//libnspr4.so: undefined reference to `gethostbyname_r'
/mozilla/dist/lib//libnspr4.so: undefined reference to `socket'
/mozilla/dist/lib//libnspr4.so: undefined reference to `sem_unlink'
/mozilla/dist/lib//libnspr4.so: undefined reference to `dladdr'
/mozilla/dist/lib//libnspr4.so: undefined reference to `dlclose'
/mozilla/dist/lib//libnspr4.so: undefined reference to `freeaddrinfo'
/mozilla/dist/lib//libnspr4.so: undefined reference to `accept'
/usr/lib/libc.so: undefined reference to `_dlopen'
/mozilla/dist/lib//libnspr4.so: undefined reference to `h_errno'
/usr/lib/libc.so: undefined reference to `dladdr1'
/mozilla/dist/lib//libnspr4.so: undefined reference to `sem_close'
/mozilla/dist/lib//libnspr4.so: undefined reference to `dlopen'
/mozilla/dist/lib//libnspr4.so: undefined reference to `sendto'
/mozilla/dist/lib//libnspr4.so: undefined reference to `listen'
/mozilla/dist/lib//libnspr4.so: undefined reference to `getprotobynumber_r'
/mozilla/dist/lib//libnspr4.so: undefined reference to `dlsym'
/mozilla/dist/lib//libnspr4.so: undefined reference to `sigtimedwait'
/mozilla/dist/lib//libnspr4.so: undefined reference to `freehostent'
/mozilla/dist/lib//libnspr4.so: undefined reference to `shm_unlink'
/mozilla/dist/lib//libnspr4.so: undefined reference to `shutdown'
/mozilla/dist/lib//libnspr4.so: undefined reference to `sem_open'
/mozilla/dist/lib//libnspr4.so: undefined reference to `getpeername'
/mozilla/dist/lib//libnspr4.so: undefined reference to `getsockopt'
/mozilla/dist/lib//libnspr4.so: undefined reference to `getaddrinfo'
/mozilla/dist/lib//libnspr4.so: undefined reference to `socketpair'
/mozilla/dist/lib//libnspr4.so: undefined reference to `inet_ntop'
/mozilla/dist/lib//libnspr4.so: undefined reference to `sched_yield'
/mozilla/dist/lib//libnspr4.so: undefined reference to `getsockname'
collect2: ld returned 1 exit status
gmake[6]: *** [SunOS5.9_OPT.OBJ/libfreebl_hybrid_3.so] Error 1
gmake[6]: Leaving directory `/mozilla/security/nss/lib/freebl'


Reproducible: Always

Steps to Reproduce:
1. gmake -f client.mk build_all

Actual Results:  
Build error.

Expected Results:  
Either
-- Makefile should have taken CC and CXX settings into account and used the
right version of ld (see Bug 219458) 
or 
-- Makefile should have not needed the Sun ld instead of Gnu ld
or
-- The problem has nothing to do with ld.

Computer configuration:
Kernel Architecture is    sun4u
OS Name is                SunOS
OS Version is             5.9
OS Distribution is        Solaris 9 12/02 s9s_u2wos_10 SPARC
Kernel Version is         SunOS Release 5.9 Version Generic_112233-05 64-bit

.mozconfig details:
# sh
# Build configuration script
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#

# Options for 'configure' (same as command-line options).

ac_add_options --enable-crypto
ac_add_options --disable-mathml
ac_add_options --disable-installer
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-tests
ac_add_options --disable-oji
ac_add_options --disable-necko-disk-cache

# Note: remove enable-optmize and disable debug if you want a debug build
ac_add_options --enable-optimize
ac_add_options --disable-debug

ac_add_options --disable-profilesharing
ac_add_options --enable-extensions=wallet,spellcheck
ac_add_options --enable-necko-protocols=http,file,jar,viewsource,res,data

# Note: Only include icon for mac, windows and os2
#ac_add_options --enable-image-decoders=icon,png,gif,jpeg

#export MOZ_THUNDERBIRD=1
setenv MOZ_THUNDERBIRD 1

mk_add_options MOZ_THUNDERBIRD=1



Additoinal options (see Bug 219458)
setenv CC 'gcc -B/usr/ccs/bin/'
setenv CXX 'g++ -B/usr/ccs/bin/'
(Reporter)

Updated

15 years ago
OS: other → SunOS
Hardware: Other → Sun

Comment 1

15 years ago
Does your build tree have the file security/manager/Makefile?
Is it being used?

(Note: I am asking about "Makefile", not "Makefile.in")

If the answers are both yes, this is a duplicate of bug 93206.

Comment 2

15 years ago
I found the answers to my questions in bug 219727.

*** This bug has been marked as a duplicate of 93206 ***
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.