linkimage an unix [message #13136] |
Tue, 20 October 1998 00:00 |
Wolfgang Weber - Fahr
Messages: 2 Registered: September 1998
|
Junior Member |
|
|
Hi everybody,
I'm trying to port a rather big IDL program from PC-Version (Windows NT)
to DEC Unix. The Problem is, that the Program uses a Smoothing Routine
that's written in C/Fortran and load's it via LINKIMAGE. It was working
on a Windows NT machine but somehow I can't make linkimage load the code
under unix.
That's what I did:
The Programm consists of a C-Wrapper which calls the main Fortran
Programm which again uses a C-Sort routine (and some Library c-Functions
like sqrt). I Compiled all parts of the Program and linked them together
(with a dummy main programm to make 'make' work). Then I used 'ar' to
create a library file which seems to hold all necessary funktions.
If I call this file from linkimage with 'linkimage, func-name,
filename,1,func-name' I get the message : 'dlopen: cannot load
filename'.
Has anybody got a clue how to do these things right??
Thanks in advance,
Wolfgang Weber - Fahr
|
|
|