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 _____________________________________________ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%