This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

link problem


Hi I trying to port a f90 code to Linux.
I'm using the cern libraries http://wwwinfo.cern.ch/asd/cernlib/  for Linux 
that where compiled with g77 but I trying to use the free intel fortran 
compiler for my code.
Everithing is ok with the f90 code but when I start to link cernlib
functions to my code I have a LOT of unresolved INSIDE the cernlibs e.g.:

[...]
/cern/pro/lib/libpacklib.a(dzioph.o): In function `dzioph_':
dzioph.o(.text+0xbb): undefined reference to `s_wsfi'
dzioph.o(.text+0xc8): undefined reference to `do_fio'
dzioph.o(.text+0xcd): undefined reference to `e_wsfi'
dzioph.o(.text+0x220): undefined reference to `s_wsfi'
[...]



I have tried also to include the g77 runtime library  /usr/lib/libg2c.a in the
link but with no result.

What can I do ?

Giuseppe Levi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]