Hello, I've been having issues cross compiling NSS 3.25.1 for an armv5 system that uses glibc 2.8 and Linux 2.6.31.8. An old platform, I know, but it seems to nearly be working. I've modified the coreconf/Linux.mk and coreconf/arch.mk files to use the target system's architecture and kernel version.
I keep encountering a problem during the build phase where I get this message: Linux2.6_arm_glibc_PTH_DBG.OBJ/pkcs11.o: In function `nsc_CommonInitialize': /home/wmt/Downloads/nss-3.25.1/nss/lib/softoken/pkcs11.c:3022: undefined reference to `pthread_atfork' collect2: error: ld returned 1 exit status My build command is as follows: make CROSS_COMPILE=1 BUILD_OPT=1 NSPR_INCLUDE_DIR=/home/wmt/nas-sysroot/usr/local/include/nspr/ USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz CC="arm-unknown-linux-gnueabi-gcc --sysroot=/home/wmt/nas-sysroot" CXX="arm-unknown-linux-gnueabi-g++ --sysroot=/home/wmt/nas-sysroot" LD="arm-unknown-linux-gnueabi-ld --sysroot=/home/wmt/nas-sysroot" DEFAULT_COMPILER="arm-unknown-linux-gnueabi-gcc --sysroot=/home/wmt/nas-sysroot" Does anyone have any ideas why this is happening? I have checked pthread.h and it does contain a definition for this function. Hamish -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto