Pradnyesh Rane wrote on 3/9/2004, 10:43 AM:
> Hi, 
> 
> I am trying to compile NSS 3.7.7 on HP-UX.

You should use NSS 3.9 instead.
http://www.mozilla.org/projects/security/pki/nss/nss-3.9/nss-3.9-release-notes.html

> I am getting the following 
> errors while compiling NSS using the bundled HP-UX C compiler. Are 
> there any environment settings /compiler flags I am missing? 
> 
> Can aCC be used to compile NSS instead? What environment settings 
> /compiler flags will be needed to do that?

I tried to use aCC as the C compiler (edit
mozilla/security/coreconf/HP-UX.mk and set
the make variable 'CC' to aCC), but aCC compiles
the .c files as C++ code and the build breaks.

We know for a fact that the C code in NSS cannot
be compiled as C++ code.  So unless you can find
an aCC flag that instructs the compiler to compile
a file as C code, you can't use aCC to compile NSS.

I suggest that you download our binary distributions.
We have HP-UX binaries.
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_9_RTM/HP-UXB.11.00_OPT.OBJ/
ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.4.1/HP-UXB.11.00_OPT.OBJ/

Wan-Teh
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to