help-octave
[Top][All Lists]
Advanced

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

Re: linking fortran subs


From: Ben Sapp
Subject: Re: linking fortran subs
Date: Fri, 25 May 2001 08:35:33 -0600

Phil Cummins wrote:
> 
> But this again gives me undefined symbols:
> 
> error: /home/cummins/src/seis/ttimes/octtst.oct: undefined symbol: s_rsue:
> /home/cummins/src/seis/ttimes/octtst.oct `FSocttst__Fv'
> error: /home/cummins/src/seis/ttimes/octtst.oct: undefined symbol: s_rsue:
> /home/cummins/src/seis/ttimes/octtst.oct `_FSocttst__Fv'
> error: unable to load functions from /home/cummins/src/seis/ttimes/octtst.oct

Hi Phil, 

These are defined in a library for fortan.   

On IRIX they are defined in /usr/lib/libftn.so:

nua: ~ 5 % nm /usr/lib/libftn.so | grep s_rsue
[527]   |   183396752|            |Proc    |end=3 int         |Text    
| s_rsue
[528]   |         808|            |End     |ref=527           |Text    
| s_rsue
[3019]  |   183396752|            |Proc    |ref=527           |Text    
| s_rsue


On a Linux system where I compiled gcc myself they are defined in 
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/libg2c.a:

address@hidden src]$ nm
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/libg2c.a | grep s_rsue
0000013c T
s_rsue                                                                          
                                        

I don't know if this will solve all your porblmes but maybe it will
help.  

-- 
Ben Sapp                         Los Alamos National Laboratory
email: <mailto:address@hidden>   Phone: (505)667-3277
Fax:   (505)665-7920             URL:   http://www.neutrino.lanl.gov/
--



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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