compile problem with -lm... math library?



Greetings all,

i checked the archive lists for this problem going back a year
and didn't see anything similar

I am attempting to compile some GTK+ programs on a new
RedHat 6.2 system and getting the following error message:

/usr/bin/ld:  cannot find -lm
collect2: ld returned 1 exit status

this looks to me like it could not find the math library
to link to...  i checked gtk-config --libs and it lists
-L/usr/lib and in that subdirectory there is a file libm.a

what am i missing here?  

matt
================================
Matt Stucky
stuckym@prodigy.net
================================






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