Trouble compiling with gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having trouble to compile with gcc on Sun Sparc OS5.8. The error message is:

gcc -o help help.o
./../../src/lib/hlp.a   ./../../src/lib/misc.a -L/usr/X/lib -lXaw -lXt -lXext -Bstatic -lXmu  -Bdynamic -lX11 -lm -ltermlib  -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
_dlopen                             /usr/lib/libc.a(nss_deffinder.o)
_dlclose                            /usr/lib/libc.a(nss_deffinder.o)
_dlsym                              /usr/lib/libc.a(nss_deffinder.o)
ld: fatal: Symbol referencing errors.  No output written to help
collect2: ld returned 1 exit status
*** Error code 1

PS. my gcc is 3.2.2 (2.8.1 also tried)
Any clue to where the error might come from will be greatly appreciated. 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux