Yes, that worked. The versions are:
[caa@kree spgen]% g95 -v
Using built-in specs.
Target:
Configured with: ../configure --enable-languages=c
Thread model: posix
gcc version 4.0.3 (g95 0.91!) Jul 25 2007
[caa@kree spgen]% /star/bin/g95 -v
Using built-in specs.
Target:
Configured with: ../configure --enable-languages=c
Thread model: posix
gcc version 4.0.3 (g95 0.91!) Jun 5 2007
[caa@kree spgen]%
obviously different enough to cause trouble!
thanks,
colin
On Jan 7, 2008, at 4:13 PM, tim.jenness wrote:
> On Jan 7, 2008, at 11:09 AM, Colin Aspin wrote:
>
>> Hi,
>>
>> I recently upgraded to the latest JAC Starlink distribution
>> (puana) and today tried to compile a
>> FORTRAN program using the /star/lib/libpgplot.a library. This
>> worked OK using the previous
>> release of JAC STarlink but now I get a run-time error (not
>> compilation error) when the pgplot
>> dynamic library is accessed:
>>
>> dyld: lazy symbol binding failed: Symbol not found: __g95_index3
>> Referenced from: /star/lib/libpgplot.0.dylib
>> Expected in: flat namespace
>>
>> dyld: Symbol not found: __g95_index3
>> Referenced from: /star/lib/libpgplot.0.dylib
>> Expected in: flat namespace
>>
>> sp-cn2: line 55: 10570 Trace/BPT trap spgen2 <<ENDIT
>>
>> Compilation/linking command is:
>>
>> g95 spgen2.f -o spgen2 -L/star/lib -lchr -lpgplot -lgwm -L/usr/
>> X11R6/lib -lX11 -lemsf -lems -
>> lcnf
>>
>
> Try using the g95 that is in /star/bin
>
> It's possible that your g95 is too old (or too new).
>
> Tim
>
|