<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Pritwiraj,<br>
<br>
As far as I can tell, hc Makefile doesn't have the "-lcrt0.o" flag.
Do you know where the flag comes from? <br>
<br>
For the SUN machine, it looks like the problem is in your
environment setup. Can you compile a "hello world" problem on that
machine? <br>
<br>
<br>
Eh<br>
<br>
<br>
On 11/02/2010 03:59 AM, Pritwiraj Moulik wrote:
<blockquote
cite="mid:400E9F12-0297-4F36-BEFA-FAB509AD0B70@ldeo.columbia.edu"
type="cite"><b><i>Dear Sir,<br>
</i></b>
<div><b><i><br>
</i></b></div>
<div><b><i>I am a graduate student at Lamont and am interested in
your SEATREE tool. I have tried repeatedly to install it on
my MAC and Sun machine here with a few issues. For the MAC</i><span
class="Apple-style-span" style="font-weight: normal;">
(Darwin Pritwiraj-Mouliks-MacBook-Pro.local 10.4.0 Darwin
Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010;
root:xnu-1504.7.4~1/RELEASE_I386 i386),</span><i> it gives
the following error while compiling the HC module</i></b></div>
<div><br>
</div>
<div>
<div>ar: creating archive objects/i386/libhc.a</div>
<div>prem_util.c: In function 'prem_read_model':</div>
<div>prem_util.c:243: warning: format not a string literal and
no format arguments</div>
<div>ar: creating archive objects/i386/libggrd.a</div>
<div>ar: creating archive objects/i386/libggrd.dfast.a</div>
<div>ar: creating archive objects/i386/libggrd.dbg.a</div>
<div>ar: creating archive objects/i386/librick.a</div>
<div>ar: creating archive objects/i386/librick.dbg.a</div>
<div>ld: library not found for -lcrt0.o</div>
<div>collect2: ld returned 1 exit status</div>
<div>make: *** [bin/i386/hc] Error 1</div>
</div>
<div><br>
</div>
<div><b><i>It looks like crt0.o is a static library no longer in
use </i><span class="Apple-style-span" style="font-weight:
normal;">( <a moz-do-not-send="true"
href="http://developer.apple.com/library/mac/#qa/qa2001/qa1118.html">http://developer.apple.com/library/mac/#qa/qa2001/qa1118.html</a>
)</span><i> for the MAC platform. Is there any fix that will
be useful? </i></b></div>
<div><b><i><br>
</i></b></div>
<div><b><i>For the SUN machine (SunOS povel 5.10 Generic_118833-36
sun4u sparc SUNW,Sun-Fire-V890) , I am getting similar
errors but for different libraries:</i></b></div>
<div><br>
</div>
<div>
<div>ar: creating objects/sun4/libhc.a</div>
<div>ar: writing objects/sun4/libhc.a</div>
<div>ar: creating objects/sun4/libggrd.a</div>
<div>ar: writing objects/sun4/libggrd.a</div>
<div>ar: creating objects/sun4/libggrd.dfast.a</div>
<div>ar: writing objects/sun4/libggrd.dfast.a</div>
<div>ar: creating objects/sun4/libggrd.dbg.a</div>
<div>ar: writing objects/sun4/libggrd.dbg.a</div>
<div>ar: creating objects/sun4/librick.a</div>
<div>ar: writing objects/sun4/librick.a</div>
<div>ar: creating objects/sun4/librick.dbg.a</div>
<div>ar: writing objects/sun4/librick.dbg.a</div>
<div>ld: fatal: library -lm: not found</div>
<div>ld: fatal: library -lc: not found</div>
<div>ld: fatal: File processing errors. No output written to
bin/sun4/hc</div>
<div>collect2: ld returned 1 exit status</div>
<div>make: *** [bin/sun4/hc] Error 1</div>
</div>
<div><br>
</div>
<div><b><i>Any advice on how to compile these will be useful. CC
is set to gcc and F77 to gfortran for both the machines. </i></b></div>
<div><b><i>Thanks,</i></b></div>
<div><b><i>Raj</i></b></div>
<div><b><i>201C-Seismology</i></b></div>
<div><b><i>LDEO,Palisades, New York</i></b></div>
<div><br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
CIG-MC mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CIG-MC@geodynamics.org">CIG-MC@geodynamics.org</a>
<a class="moz-txt-link-freetext" href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc</a>
</pre>
</blockquote>
<br>
</body>
</html>