I have the same effect when linking a gcc compiled .o with the Intel ifc
compiler. That function is in gcclib.a; it may be satisfied by linking that
library explicitly, or by extracting that .o from gcclib.a and including it
in your build, or whatever. ifc is not currently intended to inter-operate
with other linux compilers. I assume you are talking about linux; if you
have worked out how to link Windows lf95 with gcc .o files, I'd be
interested. Did you build a .dll from gcc and find that function missing?
----- Original Message -----
From: "Aleksandar Donev" <[log in to unmask]>
To: "Comp Fortran" <[log in to unmask]>; "Lahey Fortran"
<[log in to unmask]>; <[log in to unmask]>
Sent: Saturday, November 11, 2000 11:11 PM
Subject: Problems linking __cmpdi2 kernlib function under Linux
> Hello,
> I compiled a C library and am trying to use it with Fortran with Lahey
> F95. It provides a nice interfacing mechanism with the --ml cdecl
> option, but I am still getting a runtime error I can not figure out.
> The linker ld is complaining that it can not find the object __cmpdi2.
> This is a function from the kernlib library and gcc compiles and links
> the library OK, so I am sure this object is somewhere on my machine.
> Can somebody help me?
> Thanks,
> Aleksandar
>
> --
> _____________________________________________
> Aleksandar Donev
> http://www.pa.msu.edu/~donev/
> [log in to unmask]
> (517) 432-6770
> Department of Physics and Astronomy
> Michigan State University
> East Lansing, MI 48824-1116
> _____________________________________________
>
>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|