<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { margin-top: 0 ; margin-bottom: 0 }
 --></style><title>MacOS X compilation errors</title></head><body>
<div><font face="Times" size="-1" color="#000000">So,&nbsp; I got the
./configure thing working properly, and after issuing a &quot;make
install&quot;, most of it seems to look good initially, but then I
started to notice a lot of &quot;make&quot; errors.&nbsp; It
complains about &quot;/usr/bin/ld: can't locate file for:
-lm&quot;.</font></div>
<div><font face="Times" size="-1" color="#000000"><br></font></div>
<div><font face="Times" size="-1" color="#000000">I do not understand
what the -lm switch does, and why it can't locate the file it
needs.</font></div>
<div><font face="Times" size="-1" color="#000000"><br></font></div>
<div><font face="Times" size="-1" color="#000000">By the way, I am
not using CVS because I cannot get PPP working on the MacOS X
machine....</font></div>
<div><font face="Times" size="-1" color="#000000"><br></font></div>
<div><font face="Times" size="-1" color="#000000">If I get this part
working, I think we will soon have MacOS X binaries!!</font></div>
<div><font face="Times" size="-1" color="#000000"><br></font></div>
<div><font face="Times" size="-1" color="#000000">Heres a the shell
output of a typical module:</font></div>
<div><font face="Times" size="-1" color="#000000"><br></font></div>
<div><font face="Times" size="-1"
color="#000000">#########################################<span
></span>########################<br>
/Users/jeshua/grass5/src/display/d.rast.a<span
></span>rrow<br>
&nbsp; mkdir OBJ.powerpc-apple-bsd<br>
&nbsp; make -f OBJ.powerpc-apple-bsd/make.rules<br>
<br>
rm -f OBJ.powerpc-apple-bsd/arrow.o<br>
cc -g -O2&nbsp;&nbsp; -I/Users/jeshua/grass5/src/include&nbsp; -c
arrow.c<br>
mv arrow.o OBJ.powerpc-apple-bsd/arrow.o<br>
cc&nbsp; -o /usr/local/grass-5.0b/etc/bin/main/cmd/d<span
></span>.rast.arrow OBJ.powerpc-apple-bsd/arrow.o
/Users/jeshua/grass5/src/libes/LIB.power<span
></span>pc-apple-bsd/libdisplay.a
/Users/jeshua/grass5/src/libes/LIB.power<span
></span>pc-apple-bsd/libraster.a
/Users/jeshua/grass5/src/libes/LIB.power<span
></span>pc-apple-bsd/libgis.a -lm</font></div>
<div><font face="Times" size="-1" color="#000000">/usr/bin/ld: can't
locate file for: -lm<br>
make[1]: *** [/usr/local/grass-5.0b/etc/bin/main/cmd/<span
></span>d.rast.arrow] Error 1<br>
GISGEN failure at STEP: src/display/d.rast.arrow<br>
<br>
GISGEN: src/display/d.rast.edit - Fri Nov 10 18:48:52 PST 2000<br>
<br>
#########################################<span
></span>########################</font><br>
<font face="Times" size="-1" color="#000000"></font></div>
<div><font face="Times" size="-1" color="#000000"><br></font></div>
<div><font face="Times" size="-1" color="#000000"><br></font></div>
<div><font face="Times" size="-1" color="#000000">Thanks!</font></div>

<div>-- <br>
Jeshua Lacock<br>
Cartographer/Owner<br>
http://SierraMaps.com<br>
http://3dTopoMaps.com<br>
Telephone: (760) 935-4481</div>
</body>
</html>