This is the mail archive of the
mailing list for the GCC project.
- From: Giuseppe Levi <levi at bo dot infn dot it>
- To: gcc at gcc dot gnu dot org
- Cc: levi at bo dot infn dot it
- Date: Thu, 30 May 2002 15:42:03 +0200
- Subject: 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 ?