solution:
If you start compilation with NSPR then this error will through
so don't do first nspr build ,
Do NSS build only from nss folder.
cd nss
gmake BUILD_OPT=1 NSPR_INCLUDE_DIR=/root/nss/ USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz nss_build_all
awesome tip. saved me from feeling your hell. gracias amigo
ReplyDeleteHelped me as well. \o/
ReplyDeleteSadly LFS/BLFS does not mention this.