LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-21-2005, 08:40 AM   #1
juliensteel
LQ Newbie
 
Registered: Jan 2005
Distribution: Gentoo(2.6 Kernel)
Posts: 3

Rep: Reputation: 0
Angry 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.

Last edited by juliensteel; 01-21-2005 at 03:20 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compile error srgp library in C csst0136 Programming 13 10-25-2005 09:36 PM
Cannot compile kernel due to bzImage error zahoo Linux - Software 3 08-18-2005 07:33 AM
NSS won't compile because of something to do with nspr juliensteel Linux - Newbie 0 01-21-2005 07:13 PM
Error USB-HUC on booting due in mdk10 due to mx700 Boudewijn Mandriva 4 10-09-2004 08:36 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration