help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with f77 and symbol names


From: Dave Alden
Subject: Re: problem with f77 and symbol names
Date: Mon, 6 Mar 1995 17:06:29 -0500 (EST)

Hi,

> If your configuration goes ok, then it should define F77_UNDERSCORE_APPEND=1 
> which
> would take care of _ prefix. For some reasons f2c-compat.sh did not emit that 
> define
> statement while your were configuring your setup ? Try configuring (run 
> configure) again
> and check if -DF77_UNDERSCORE_APPEND=1 is added to your Makeconf before you
> compile Octave again. 

Ahh -- no, -DF77_APPEND_UNDERSCORE=1 was not defined.  After a little bit
of poking around, the problem seems to be in f2c-compat.sh.  Here's what
happens if I run it by hand:

# echo $FLIBS
-Xlinker -R -Xlinker /opt/SUNWspro/lib /opt/SUNWspro/SC3.0.1/lib/values-xi.o -L 
/opt/SUNWspro/lib -L /opt/SUNWspro/SC3.0.1/lib -L /usr/ccs/lib -L /usr/lib 
/opt/SUNWspro/SC3.0.1/lib/libM77.a -lF77 -lsunmath
# gcc -o ctest ctest.o ftest.o $FLIBS -lm
ld: fatal: symbol `_lib_version' is multiply defined:
        (file /usr/ccs/lib/values-Xa.o and file 
/opt/SUNWspro/SC3.0.1/lib/values-xi.o);
ld: fatal: File processing errors.  No output written to ctest

...dave

reply via email to

[Prev in Thread] Current Thread [Next in Thread]