LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   NSS will not compile due to nspr4 library error (https://www.linuxquestions.org/questions/linux-general-1/nss-will-not-compile-due-to-nspr4-library-error-280489/)

juliensteel 01-21-2005 08:40 AM

I am going crazy! NSS will not compile due to nspr4 library error
 
Hi, I have been trying to emerge gaim for the past 2 days, and I keep recieving a mysterious error from gcc while portage was building nss, which i suppose is a dependancy for gaim. It seems to be complaining about nspr libraries. The hilarious thing is that the only thing I know about nss is that its some sort of netscape security thing(from emerge search entry and I don't even know what nspr is. Here is the output from the last gcc line, any help would be appreciated.

Code:
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/atob -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DNSPR20 -UDEBUG -DNDEBUG -D_REENTRANT -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I../../../dist/public/nss -I../../../dist/private/nss -I/usr/include/nspr -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -I../../../dist/public/seccmd -I../../../dist/public/dbm Linux2.6_x86_glibc_PTH_OPT.OBJ/atob.o ../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libsectool.a -Wl,-rpath-link,../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib -L../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/ -L/usr/lib/nspr/ -lssl3 -lsmime3 -lnss3 -lplc4 -lplds4 -lnspr4 -L/lib -lpthread -ldl -lc
/usr/lib/nspr//libnspr4.so: undefined reference to `_PR_x86_AtomicSet'
/usr/lib/nspr//libnspr4.so: undefined reference to `_PR_x86_AtomicDecrement'
/usr/lib/nspr//libnspr4.so: undefined reference to `_PR_x86_AtomicIncrement'
/usr/lib/nspr//libnspr4.so: undefined reference to `_PR_x86_AtomicAdd'
collect2: ld returned 1 exit status
make[2]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/atob] Error 1
make[2]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/nss/cmd/atob'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/nss/cmd'
make: *** [libs] Error 2

!!! ERROR: dev-libs/nss-3.9.2-r2 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! nss make failed
!!! If you need support, post the topmost build error, NOT this status message.



If you need any more information, such as the fact that I have an amd64 processor or an nvidia geforce4 440 graphics card, or the fact that I am on a laptop, just ask.


All times are GMT -5. The time now is 05:59 PM.