Hi Usha,

dev-tech-cry...@lists.mozilla.org is a better mailing list for NSS questions.

On Wed, May 16, 2018 at 2:02 PM, Usha Nayak <usha...@gmail.com> wrote:
> Hello
>
> we are running into build error while building NSS on Solaris.
>
[... snipped ...]
>
> Build Error:
> ....
> gmake build
> gmake[4]: Entering directory `/nss-3.32.1/nspr/SunOS5.11_64_OPT.OBJ/pr/src'
> rm -f libnspr4.so
> cc -xarch=v9 -G -h libnspr4.so -z combreloc -z defs -z ignore -Bdirect -o
> libnspr4.so -M ./nsprmap.sun ./prvrsion.o io/./prfdcach.o io/./prmwait.o
> io/./prmapopt.o io/./priometh.o io/./pripv6.o io/./prlayer.o io/./prlog.o
> io/./prmmap.o io/./prpolevt.o io/./prprf.o io/./prscanf.o io/./prstdio.o
> threads/./prcmon.o threads/./prrwlock.o threads/./prtpd.o
> linking/./prlink.o malloc/./prmalloc.o malloc/./prmem.o md/./prosdep.o
> memory/./prshm.o memory/./prshma.o memory/./prseg.o misc/./pralarm.o
> misc/./pratom.o misc/./prcountr.o misc/./prdtoa.o misc/./prenv.o
> misc/./prerr.o misc/./prerror.o misc/./prerrortable.o misc/./prinit.o
> misc/./prinrval.o misc/./pripc.o misc/./prlog2.o misc/./prlong.o
> misc/./prnetdb.o misc/./praton.o misc/./prolock.o misc/./prrng.o
> misc/./prsystem.o misc/./prthinfo.o misc/./prtpool.o misc/./prtrace.o
> misc/./prtime.o pthreads/./ptsynch.o pthreads/./ptio.o
> pthreads/./ptthread.o pthreads/./ptmisc.o md/unix/./unix.o
> md/unix/./unix_errors.o md/unix/./uxproces.o md/unix/./uxrng.o
> md/unix/./uxshm.o md/unix/./uxwrap.o md/unix/./solaris.o
> md/unix/./os_SunOS_sparcv9.o    -lpthread -lposix4 -lsocket -lnsl -ldl -lc
> cc: Warning: -xarch=v9 is deprecated, use -m64 -xarch=sparc instead
> Undefined                       first referenced
>  symbol                             in file
> PR_Stat                             ./nsprmap.sun
> ld: fatal: symbol referencing errors

I think this is because the NSS build system compiles NSPR with
-DNO_NSPR_10_SUPPORT.

Please try editing nspr/pr/src/pthreads/ptio.c and deleting the
#ifndef NO_NSPR_10_SUPPORT and #endif around PR_Stat().

Wan-Teh
_______________________________________________
dev-security mailing list
dev-security@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-security

Reply via email to