NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
nss compile error
Hi,
I am upgrading packages on my 7.1 x86 machine and nss fails to update with:
gmake[3]: Entering directory
'/usr/pkgsrc/devel/nss/work/nss-3.33/nss/lib/freebl'
gcc -o NetBSD7.1_OPT.OBJ/NetBSD_SINGLE_SHLIB/hacl_curve25519_64.o -c -O2
-D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/nspr
-I/usr/include -O -fPIC -DPIC -Di386 -Wall -Wno-switch -pipe -DNETBSD
-Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK -Wall -Werror -DXP_UNIX -UDEBUG
-DNDEBUG -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/pkg/include/nspr
-I/usr/X11R6/include -I./../dist/NetBSD7.1_OPT.OBJ/include
-I./../dist/public/ -I./../dist/private/ -O -fPIC -DPIC -Di386 -Wall
-Wno-switch -pipe -DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK -Wall
-Werror -DXP_UNIX -UDEBUG -DNDEBUG -DNSS_NO_INIT_SUPPORT
-DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/pkg/include/nspr
-I/usr/X11R6/include -I./../dist/NetBSD7.1_OPT.OBJ/include
-I./../dist/public/ -I./../dist/private/ -I/usr/X11R6/include
-I../../dist/NetBSD7.1_OPT.OBJ/include -I../../dist/public/
-I../../dist/private/ -O -fPIC -DPIC -Di386 -Wall -Wno-switch -pipe
-DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK -Wall -Werror -DXP_UNIX
-DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\"
-DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG
-DNDEBUG -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DNSS_X86_OR_X64 -DNSS_X86
-DMP_API_COMPATIBLE -I/usr/pkg/include/nspr -I/usr/X11R6/include
-I./../dist/NetBSD7.1_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/ -I/usr/X11R6/include
-I../../dist/NetBSD7.1_OPT.OBJ/include -I../../dist/public/
-I../../dist/private/ -I/usr/X11R6/include
-I../../../dist/NetBSD7.1_OPT.OBJ/include -I../../../dist/public/nss
-I../../../dist/private/nss -Impi -Iecl -Iverified -mpclmul -maes -O
-fPIC -DPIC -Di386 -Wall -Wno-switch -pipe -DNETBSD -Dunix
-DHAVE_STRERROR -DHAVE_BSD_FLOCK -Wall -Werror -DXP_UNIX
-DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\"
-DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG
-DNDEBUG -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DNSS_X86_OR_X64 -DNSS_X86
-DMP_API_COMPATIBLE -I/usr/pkg/include/nspr -I/usr/X11R6/include
-I./../dist/NetBSD7.1_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/ -I/usr/X11R6/include
-I../../dist/NetBSD7.1_OPT.OBJ/include -I../../dist/public/
-I../../dist/private/ -I/usr/X11R6/include
-I../../../dist/NetBSD7.1_OPT.OBJ/include -I../../../dist/public/nss
-I../../../dist/private/nss -Impi -Iecl -Iverified -I/usr/X11R6/include
-I../../../dist/NetBSD7.1_OPT.OBJ/include -I../../../dist/public/nss
-I../../../dist/private/nss -Impi -Iecl -Iverified -mpclmul -maes
verified/hacl_curve25519_64.c
verified/hacl_curve25519_64.c: In function 'Hacl_Bignum_Fmul_fmul_':
verified/hacl_curve25519_64.c:241:5: error: 'for' loop initial
declarations are only allowed in C99 mode
for (uintmax_t _i = 0; _i < (uint32_t)5; ++_i)
^
verified/hacl_curve25519_64.c:241:5: note: use option -std=c99 or
-std=gnu99 to compile your code
anyone else? Just a compiler misdetection/configuration in the makefiles?
Riccardo
Home |
Main Index |
Thread Index |
Old Index