Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Regarding compilation failure of NSS version 3.53.1

41 views
Skip to first unread message

Rahul S

unread,
Nov 9, 2020, 5:50:26 AM11/9/20
to dev-tec...@lists.mozilla.org
Hi All,

I downloaded the NSS 3.53.1 source tarball, unzipped it and was trying
to build on Linux (OEL7) with the following configuration:

OS : OEL7 (7.6)

Platform:x86_64

kernel version: 4.14.35-1902.305.4.el7uek.x86_64

gcc version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39.0.5)


Ran gmake nss_build_all and the build failed with the following error:


gcc -o Linux4.14_x86_64_gcc_glibc_64_DBG.OBJ/secport.o -c -std=c99 -g
-fPIC  -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR
-DLINUX -Dlinux -Wall -Wshadow -Werror -DXP_UNIX -DDEBUG -UNDEBUG
-D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE
-DSQL_MEASURE_USE_TEMP_DIR -D_REENTRANT -DNSS_NO_INIT_SUPPORT
-DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../../../../built/nss/Linux4.14_x86_64_gcc_glibc_64_DBG.OBJ/include
-I../../../../../built/nss/Linux4.14_x86_64_gcc_glibc_64_DBG.OBJ/include
-I../../../../../built/nss/private/nss  secport.c
secport.c: In function ‘NSS_PutEnv_Util’:
secport.c:753:5: error: implicit declaration of function ‘putenv’
[-Werror=implicit-function-declaration]
     putEnvFailed = putenv(encoded); /* adopt. */
     ^
cc1: all warnings being treated as errors
gmake[5]: *** [Linux4.14_x86_64_gcc_glibc_64_DBG.OBJ/secport.o] Error 1


Please do advise on how to resolve this issue.


Best Regards,

Rahul.S






0 new messages