This has got to be a simple problem. I get the following error on my
Sparc 5, running SunOs 4.1.4, gcc version 2.6.3
ld: Undefined symbol
_sqrt
_floor
collect2: ld returned 2 exit status
My gcc command is:
gcc -O -Wall -o xcolormap -DULONG_NEEDED -L/usr/lib -lm -L/local/lib -lX11
-lXt xcolormap.c
The math library gives me this:
diemos: nm libm.a | fgrep sqrt
Fsqrt.o:
00000000 T _Fsqrt
U _r_sqrt_
c_sqrt.o:
00000000 T _c_sqrt
d_sqrt.o:
00000000 T _d_sqrt
d_sqrt_.o:
00000000 T _d_sqrt_
U _r_sqrt_
r_sqrt.o:
00000000 T _r_sqrt
r_sqrt_.o:
00000000 T _r_sqrt_
sqrt.o:
00000000 T _sqrt
z_sqrt.o:
00000000 T _z_sqrt
Everything looks OK to me, Any ideas?
Thanks
-----------------------------------------------------------------------------
Mark Valery | Internet: valery_at_uicc.com
Unitrode Integrated Circuits Corp. | Fax : (US) 603-429-8564
Merrimack, NH USA | Voice : (US) 603-429-8923 (daytime)
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Sep 29 1995 - 16:11:36 BST