[GRASS5] MacOS X compilation errors

Jeshua Lacock jeshua at SierraMaps.com
Fri Nov 10 23:24:50 EST 2000


So,  I got the ./configure thing working properly, and after issuing 
a "make install", most of it seems to look good initially, but then I 
started to notice a lot of "make" errors.  It complains about 
"/usr/bin/ld: can't locate file for: -lm".

I do not understand what the -lm switch does, and why it can't locate 
the file it needs.

By the way, I am not using CVS because I cannot get PPP working on 
the MacOS X machine....

If I get this part working, I think we will soon have MacOS X binaries!!

Heres a the shell output of a typical module:

#################################################################
/Users/jeshua/grass5/src/display/d.rast.arrow
   mkdir OBJ.powerpc-apple-bsd
   make -f OBJ.powerpc-apple-bsd/make.rules

rm -f OBJ.powerpc-apple-bsd/arrow.o
cc -g -O2   -I/Users/jeshua/grass5/src/include  -c arrow.c
mv arrow.o OBJ.powerpc-apple-bsd/arrow.o
cc  -o /usr/local/grass-5.0b/etc/bin/main/cmd/d.rast.arrow 
OBJ.powerpc-apple-bsd/arrow.o 
/Users/jeshua/grass5/src/libes/LIB.powerpc-apple-bsd/libdisplay.a 
/Users/jeshua/grass5/src/libes/LIB.powerpc-apple-bsd/libraster.a 
/Users/jeshua/grass5/src/libes/LIB.powerpc-apple-bsd/libgis.a -lm
/usr/bin/ld: can't locate file for: -lm
make[1]: *** [/usr/local/grass-5.0b/etc/bin/main/cmd/d.rast.arrow] Error 1
GISGEN failure at STEP: src/display/d.rast.arrow

GISGEN: src/display/d.rast.edit - Fri Nov 10 18:48:52 PST 2000

#################################################################



Thanks!
-- 
Jeshua Lacock
Cartographer/Owner
http://SierraMaps.com
http://3dTopoMaps.com
Telephone: (760) 935-4481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20001110/61bfe437/attachment.html


More information about the grass-dev mailing list