Subject: FVWM: xcolormap compilation problem

From: Mark Valery <[email-masked]>
Date: Fri, 29 Sep 1995 17:15:05 -0400

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: [email-masked]
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 [email-masked].
To report problems, send mail to [email-masked].