hangon . Using g77 and linking against teh g95 runtime is not going to
work. The g95 runtime will never be initialised.
Tim
On Fri, 23 Sep 2005, Alasdair Allan wrote:
> All,
>
> I'm currently building a bundle for distribution for the Astrophysics group
> and a couple of people here are having problems linking against the SSC. I'm
> guessing it's because I have the version built with Fink and g77 and they're
> building using gcc4 and g95. My guess is a rebuild from the CVS checkout will
> solve the problems (an example below), or is there an easier way around it
> and I'm overlooking something blatantly obvious?
>
> Cheers,
> Al.
>
> Begin forwarded message:
>> From: Tim Naylor <[log in to unmask]>
>> Date: 23 September 2005 16:48:35 BDT
>> To: Alasdair Allan <[log in to unmask]>
>>
>>
>> I have a little progra which reads times out of a FITS header, and
>> corrects them to Barycentric time. To do this I call the starlink jpl
>> library. The problem comes running it on a mac. If I link my program
>> thus
>>
>> g77 file_times.o juday.o $ARKOBJ/pracast.a $ARKOBJ/system.a
>> -L/local-star/lib `jpl_link`
>> /Astrophysics/g95/lib/gcc-lib/powerpc-apple-darwin6.8/4.0.1/libf95.a
>>
>> Then a run time it falls over in a heap...
>>
>> dyld: lazy symbol binding failed: Symbol not found: _s_copy
>> Referenced from: /local-star/lib/libjpl.0.dylib
>> Expected in: flat namespace
>>
>> dyld: Symbol not found: _s_copy
>> Referenced from: /local-star/lib/libjpl.0.dylib
>> Expected in: flat namespace
>>
>> Trace/BPT trap
>>
>>
>>
>> --
>> -----------------------------------------------------------------------------
>> Prof. Tim Naylor,
>> School of Physics,
>> University of Exeter,
>> Stocker Road,
>> Exeter
>> EX4 4QL
>>
>> E-mail: [log in to unmask]
>> tel: 01392 264172
>> -----------------------------------------------------------------------------
>>
>>
>
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|