Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jul 2004 16:47:13 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Randy Sato <rsato@mac.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Mozilla Build Fails
Message-ID:  <1089406032.9119.7.camel@shumai.marcuscom.com>
In-Reply-To: <5244EC5D-D1E2-11D8-ABD6-000393033E38@mac.com>
References:  <20040708120050.DF9A316A4EE@hub.freebsd.org> <6F47E145-D181-11D8-A4A7-000393033E38@mac.com> <1089388883.854.7.camel@gyros> <5244EC5D-D1E2-11D8-ABD6-000393033E38@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-r3dxlAnE2DsUVTRYDvEF
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2004-07-09 at 15:58, Randy Sato wrote:
> I thought I should have updated again before sending a message.
>=20
> But, now I get...

Hmmmm...environ is defined in /usr/lib/crt1.o.  You could try editing
patch-security::coreconf::FreeBSD.mk, and adding /usr/lib/crt1.o to the
MKSHLIB line for alpha.

Joe

>=20
> cc -o FreeBSD5.2.1_64_OPT.OBJ/rawhash.o -c -O -fPIC -ansi -Wall=20
> -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX=20
> -DSHLIB_SUFFIX=3D\"so\" -DSHLIB_PREFIX=3D\"lib\"=20
> -DSOFTOKEN_LIB_NAME=3D\"libsoftokn3.so\" -UDEBUG -DNDEBUG -D_THREAD_SAFE=20
> -D_REENTRANT -I/usr/X11R6/include=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include =20
> -I../../../../dist/public/nss -I../../../../dist/private/nss=20
> -I../../../../dist/include=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include/dbm=20
> -I../../../../dist/public/dbm  rawhash.c
> cc -o FreeBSD5.2.1_64_OPT.OBJ/rsawrapr.o -c -O -fPIC -ansi -Wall=20
> -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX=20
> -DSHLIB_SUFFIX=3D\"so\" -DSHLIB_PREFIX=3D\"lib\"=20
> -DSOFTOKEN_LIB_NAME=3D\"libsoftokn3.so\" -UDEBUG -DNDEBUG -D_THREAD_SAFE=20
> -D_REENTRANT -I/usr/X11R6/include=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include =20
> -I../../../../dist/public/nss -I../../../../dist/private/nss=20
> -I../../../../dist/include=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include/dbm=20
> -I../../../../dist/public/dbm  rsawrapr.c
> cc -o FreeBSD5.2.1_64_OPT.OBJ/softkver.o -c -O -fPIC -ansi -Wall=20
> -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX=20
> -DSHLIB_SUFFIX=3D\"so\" -DSHLIB_PREFIX=3D\"lib\"=20
> -DSOFTOKEN_LIB_NAME=3D\"libsoftokn3.so\" -UDEBUG -DNDEBUG -D_THREAD_SAFE=20
> -D_REENTRANT -I/usr/X11R6/include=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include =20
> -I../../../../dist/public/nss -I../../../../dist/private/nss=20
> -I../../../../dist/include=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include/dbm=20
> -I../../../../dist/public/dbm  softkver.c
> cc -o FreeBSD5.2.1_64_OPT.OBJ/tlsprf.o -c -O -fPIC -ansi -Wall=20
> -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX=20
> -DSHLIB_SUFFIX=3D\"so\" -DSHLIB_PREFIX=3D\"lib\"=20
> -DSOFTOKEN_LIB_NAME=3D\"libsoftokn3.so\" -UDEBUG -DNDEBUG -D_THREAD_SAFE=20
> -D_REENTRANT -I/usr/X11R6/include=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include =20
> -I../../../../dist/public/nss -I../../../../dist/private/nss=20
> -I../../../../dist/include=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr=20
> -I/usr/ports/www/mozilla/work/mozilla/dist/include/dbm=20
> -I../../../../dist/public/dbm  tlsprf.c
> rm -f FreeBSD5.2.1_64_OPT.OBJ/libsoftokn.a
> ar cr FreeBSD5.2.1_64_OPT.OBJ/libsoftokn.a=20
> FreeBSD5.2.1_64_OPT.OBJ/alghmac.o FreeBSD5.2.1_64_OPT.OBJ/dbinit.o=20
> FreeBSD5.2.1_64_OPT.OBJ/dbmshim.o FreeBSD5.2.1_64_OPT.OBJ/ecdecode.o=20
> FreeBSD5.2.1_64_OPT.OBJ/fipstest.o FreeBSD5.2.1_64_OPT.OBJ/fipstokn.o=20
> FreeBSD5.2.1_64_OPT.OBJ/keydb.o FreeBSD5.2.1_64_OPT.OBJ/lowcert.o=20
> FreeBSD5.2.1_64_OPT.OBJ/lowkey.o FreeBSD5.2.1_64_OPT.OBJ/lowpbe.o=20
> FreeBSD5.2.1_64_OPT.OBJ/padbuf.o FreeBSD5.2.1_64_OPT.OBJ/pcertdb.o=20
> FreeBSD5.2.1_64_OPT.OBJ/pk11db.o FreeBSD5.2.1_64_OPT.OBJ/pkcs11.o=20
> FreeBSD5.2.1_64_OPT.OBJ/pkcs11c.o FreeBSD5.2.1_64_OPT.OBJ/pkcs11u.o=20
> FreeBSD5.2.1_64_OPT.OBJ/rawhash.o FreeBSD5.2.1_64_OPT.OBJ/rsawrapr.o=20
> FreeBSD5.2.1_64_OPT.OBJ/softkver.o FreeBSD5.2.1_64_OPT.OBJ/tlsprf.o
> ranlib FreeBSD5.2.1_64_OPT.OBJ/libsoftokn.a
> cp softokn.def FreeBSD5.2.1_64_OPT.OBJ/softokn.def
> rm -f FreeBSD5.2.1_64_OPT.OBJ/libsoftokn3.so
> cc -Wl,-Bsymbolic -lc -shared -Wl,-soname -Wl,libsoftokn3.so -lc_r -o=20
> FreeBSD5.2.1_64_OPT.OBJ/libsoftokn3.so -o=20
> FreeBSD5.2.1_64_OPT.OBJ/libsoftokn3.so=20
> FreeBSD5.2.1_64_OPT.OBJ/alghmac.o FreeBSD5.2.1_64_OPT.OBJ/dbinit.o=20
> FreeBSD5.2.1_64_OPT.OBJ/dbmshim.o FreeBSD5.2.1_64_OPT.OBJ/ecdecode.o=20
> FreeBSD5.2.1_64_OPT.OBJ/fipstest.o FreeBSD5.2.1_64_OPT.OBJ/fipstokn.o=20
> FreeBSD5.2.1_64_OPT.OBJ/keydb.o FreeBSD5.2.1_64_OPT.OBJ/lowcert.o=20
> FreeBSD5.2.1_64_OPT.OBJ/lowkey.o FreeBSD5.2.1_64_OPT.OBJ/lowpbe.o=20
> FreeBSD5.2.1_64_OPT.OBJ/padbuf.o FreeBSD5.2.1_64_OPT.OBJ/pcertdb.o=20
> FreeBSD5.2.1_64_OPT.OBJ/pk11db.o FreeBSD5.2.1_64_OPT.OBJ/pkcs11.o=20
> FreeBSD5.2.1_64_OPT.OBJ/pkcs11c.o FreeBSD5.2.1_64_OPT.OBJ/pkcs11u.o=20
> FreeBSD5.2.1_64_OPT.OBJ/rawhash.o FreeBSD5.2.1_64_OPT.OBJ/rsawrapr.o=20
> FreeBSD5.2.1_64_OPT.OBJ/softkver.o FreeBSD5.2.1_64_OPT.OBJ/tlsprf.o  =20
> /usr/ports/www/mozilla/work/mozilla/dist/lib/libfreebl.a=20
> /usr/ports/www/mozilla/work/mozilla/dist/lib/libsecutil.a=20
> /usr/ports/www/mozilla/work/mozilla/dist/lib/libdbm.a =20
> -L/usr/ports/www/mozilla/work/mozilla/dist/lib/ -lplc4 -lplds4 -lnspr4
> /usr/ports/www/mozilla/work/mozilla/dist/lib/libfreebl.a(sysrand.o): In=20
> function `RNG_SystemInfoForRNG':
> sysrand.o(.text+0x648): undefined reference to `environ'
> sysrand.o(.text+0x698): undefined reference to `environ'
> gmake[4]: *** [FreeBSD5.2.1_64_OPT.OBJ/libsoftokn3.so] Error 1
> gmake[4]: Leaving directory=20
> `/usr/ports/www/mozilla/work/mozilla/security/nss/lib/softoken'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory=20
> `/usr/ports/www/mozilla/work/mozilla/security/nss/lib'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory=20
> `/usr/ports/www/mozilla/work/mozilla/security/manager'
> gmake[1]: *** [tier_40] Error 2
> gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2
>=20
> Stop in /usr/ports/www/mozilla.
>=20
>=20
> Randy
> On Jul 9, 2004, at 9:01 AM, Joe Marcus Clarke wrote:
>=20
> > On Fri, 2004-07-09 at 04:24, Randy Sato wrote:
> >> Something still seems wrong. Now I get...
> >
> > This was already fixed.
> >
> > Joe
> >
> >>
> >>
> >> gmake[2]: Entering directory
> >> `/usr/ports/www/mozilla/work/mozilla/security/manager'
> >> /usr/local/bin/gmake -C ../../security/coreconf
> >> MAKE=3D"/usr/local/bin/gmake -j1" -j1
> >> MOZILLA_INCLUDES=3D"-I/usr/ports/www/mozilla/work/mozilla/dist/include=
/
> >> nspr -I/usr/ports/www/mozilla/work/mozilla/dist/include/dbm"
> >> SOURCE_MD_DIR=3D/usr/ports/www/mozilla/work/mozilla/dist
> >> DIST=3D/usr/ports/www/mozilla/work/mozilla/dist MOZILLA_CLIENT=3D1
> >> NO_MDUPDATE=3D1 BUILD_OPT=3D1 NS_USE_GCC=3D1 NS_USE_NATIVE=3D USE_64=
=3D1
> >> gmake[3]: Entering directory
> >> `/usr/ports/www/mozilla/work/mozilla/security/coreconf'
> >> cd nsinstall; /usr/local/bin/gmake -j1 export
> >> gmake[4]: Entering directory
> >> `/usr/ports/www/mozilla/work/mozilla/security/coreconf/nsinstall'
> >> gmake[4]: Nothing to be done for `export'.
> >> gmake[4]: Leaving directory
> >> `/usr/ports/www/mozilla/work/mozilla/security/coreconf/nsinstall'
> >> cd nsinstall; /usr/local/bin/gmake -j1 libs
> >> gmake[4]: Entering directory
> >> `/usr/ports/www/mozilla/work/mozilla/security/coreconf/nsinstall'
> >> cc -o FreeBSD5.2.1_64_OPT.OBJ/nsinstall -O -fPIC -ansi -Wall -DFREEBSD
> >> -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG
> >> -D_THREAD_SAFE -D_REENTRANT -I/usr/X11R6/include
> >> -I/usr/ports/www/mozilla/work/mozilla/dist/include
> >> -I../../../dist/public/coreconf -I../../../dist/private/coreconf
> >> -I../../../dist/include
> >> -I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr
> >> -I/usr/ports/www/mozilla/work/mozilla/dist/include/dbm
> >> FreeBSD5.2.1_64_OPT.OBJ/nsinstall.o FreeBSD5.2.1_64_OPT.OBJ/pathsub.o
> >>   -lpthread
> >> /usr/bin/ld: cannot find -lpthread
> >> gmake[4]: *** [FreeBSD5.2.1_64_OPT.OBJ/nsinstall] Error 1
> >> gmake[4]: Leaving directory
> >> `/usr/ports/www/mozilla/work/mozilla/security/coreconf/nsinstall'
> >> gmake[3]: *** [libs] Error 2
> >> gmake[3]: Leaving directory
> >> `/usr/ports/www/mozilla/work/mozilla/security/coreconf'
> >> gmake[2]: *** [libs] Error 2
> >> gmake[2]: Leaving directory
> >> `/usr/ports/www/mozilla/work/mozilla/security/manager'
> >> gmake[1]: *** [tier_40] Error 2
> >> gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla'
> >> gmake: *** [default] Error 2
> >> *** Error code 2
> >>
> >> Stop in /usr/ports/www/mozilla.
> >>
> >>
> >> This is on an alpha 5.2.1-Release.
> >>
> >> Randy
> >>
> >> _______________________________________________
> >> freebsd-gnome@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> >> To unsubscribe, send any mail to=20
> >> "freebsd-gnome-unsubscribe@freebsd.org"
> > --=20
> > PGP Key : http://www.marcuscom.com/pgp.asc
> >
> >
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-r3dxlAnE2DsUVTRYDvEF
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBA7wRQb2iPiv4Uz4cRAuwcAJkBBq4XP2IreUbsw1Kxat0pyyFhCACfeXLA
pUvAe/OAHAA8nhr4Av2A83s=
=GOZK
-----END PGP SIGNATURE-----

--=-r3dxlAnE2DsUVTRYDvEF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1089406032.9119.7.camel>