Hi,
I am trying to compile NSS 3.7.7 on HP-UX. 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?
Any help is appreciated.
Regards,
Pradnyesh
My system configuration is as follows
$>uname -a
HP-UX B.11.00 A 9000/785 2006917392
/opt/aCC/bin/aCC:
HP aC++ B3910B A.03.25
HP aC++ B3910B X.03.14.12 Language Support Library
/usr/bin/cc:
HP92453-01 A.11.00.00 HP C (Bundled) Compiler
CUPROS_IC23B //1
/ux/core/libs/libc/archive_pa1/libc.a_ID
Oct 21 1997 13:07:38
<snip>
cd config; gmake -j1 export
gmake[2]: Entering directory
`/home/mozilla/nsprpub/HP-UXB.11.00_OPT.OBJ/config'
cc -Ae -o now.o -c -O -DHPUX10 -D_POSIX_C_SOURCE=199506L -Ae +Z
-DHPUX -Dhppa -D_HPUX_SOURCE
+DAportable +DS2.0 -DHPUX11 -DXP_UNIX -UDEBUG -DNDEBUG
-I../../dist/HP-UXB.11.00_OPT.OBJ/includ
e -I../../dist/public/ -I../../dist/private/ +DAportable +DS2.0
+Olit=all -O +Z -UDEBUG -DND
EBUG=1 -DXP_UNIX=1 -DHPUX=1 -D_HPUX_SOURCE=1 -Dhppa=1
-DHAVE_POINTER_LOCALTIME_R=1 -DHPUX10=1 -D
HPUX11=1 -D_LARGEFILE64_SOURCE=1 -D_PR_HAVE_OFF64_T=1
-DHAVE_FCNTL_FILE_LOCKING=1 -DHAVE_LCHOWN=
1 -DHAVE_STRERROR=1 -D_POSIX_C_SOURCE=199506L
-D_PR_HAVE_THREADSAFE_GETHOST=1 -DFORCE_PR_LOG -D
_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM ../../config/now.c
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -O option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Olit=all option is available only with
the C/ANSI C product; ign
ored.
(Bundled) cc: warning 480: The -O option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the
C/ANSI C product; ignored.
cpp: "../../config/now.c", line 45: warning 2013: Unknown
preprocessing directive.
cpp: "../../config/now.c", line 123: warning 2013: Unknown
preprocessing directive.
(Bundled) cc: "../../config/now.c", line 49: error 1705: Function
prototypes are an ANSI feature
.
gmake[2]: *** [now.o] Error 1
<snip>
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto