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: Vinayak Dutt
Subject: Re: problem with f77 and symbol names
Date: Mon, 6 Mar 95 15:39:34 CST

#Hi,
#  I'm trying to compile Octave on Solaris 2.4 (using gcc/g++ 2.6.3,
#libg++-2.6.2 and Sun's f77 3.0.1).  The problem I'm running into is
#an old one, so I'm sure I'm doing something stupid.  :-)  The problem
#is that "f77" adds an "_" to subroutine names (i.e., "ddot" becomes
#"ddot_") -- needless to say, the linker doesn't find "ddot" then.  I
#can create an include file redefining all of the routines, but I'm
#hoping there's an easier way.
#  To make up for this stupid question, I'd be willing to provide
#binaries for Solaris 2.4 if there's any interest.
#...thnx,
#...dave alden
#

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. 


--vinayak-
/*
 * vinayak dutt
 * graduate student, ultrasound research
 * mayo graduate school, rochester mn
 *
 * e-mail: address@hidden
 *         address@hidden
 *
 */
#include "disclaimer.h"


reply via email to

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