PDA

View Full Version : Help: link error with lf95 v.5.5


wootletootle
11-12-2003, 08:48 AM
According to the FAQ, v.5.5 of the Lahey
compiler is compatible with recent Linux
releases, provided some older libc5
libraries are present (ld-linux.s0.1, libc.so.5,
and libm.so.5). This has been done and
my fortran progams compile but they do not
link because

"[the] hidden symbol 'fstat' in /usr/lib/libc_nonshared.a is referenced by DSO"

The symbol 'fstat' appears in libfj9i6 (and in
service_routines.conf). According to web information the 'fstat' symbol should not be
exported or referenced and so is 'hidden'.

Is there any way around this?

Roger Young
r.young@irl.cri.nz

wootletootle
11-18-2003, 10:44 AM
This problem has been solved with the help of some code written by Krzysztof Pachucki

wootle

drabine
05-12-2004, 05:22 PM
I also am getting:

/usr/local/lf9560/bin/../lib/libfj9i6.so: warning: the use of `tempnam' is dangerous, better use `mkstemp'

/usr/bin/ld: numpart: hidden symbol `fstat' in /usr/lib/libc_nonshared.a(fstat.oS) is referenced by DSO


the first one is just a warning, but the stat hidden will not allow it to compile. The version C patch will not upgrade my system due to:

"An LF95 v6.0 PRO compatible version of glibc was not found
on this system. If this maintenance update is installed on
this system, compiler results will not be supported."

and it then proceeds to fail installing.

any help appreciated

david