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

Re: Foreign function load for Fortran and C

It's hard to say what the exact cause of your problem may be, although
it seems to be a problem with the linker's trying to combine the files
together before actually loading them into the lisp.  You can test
this out by combining all your foreign files into a single file and
then trying to load that single file into the lisp.  In your case, you
would do something like:

 % /bin/ld -r -o foo.o rg4r.o contour.o -lF77 -lI77 -m

and then try loading foo.o into the lisp.  If the above /bin/ld fails,
then you'll know that the problem is somewhere in the object files or
libraries and not with the lisp.