Problem when linking fairly large FORTRAN object files
Amy Johnson
johnson at ecovsh.eco.ncsu.edu
Sat Nov 17 02:57:33 AEST 1990
In article <11256 at ccncsu.ColoState.EDU>, flatau at handel.CS.ColoState.Edu
(flatau) writes:
|>I am having problems linking (fairly large, 30K lines) FORTRAN program
|>on RISC6000/320 AIX3.1 + 3002 (September) update, 16Mb:
|>
|>
|>I have a library, say "rams.a" made with "ar r" command.
|>This library contains about 10 modules (approx 1000 lines each),
|>and each module contains several FORTRAN subroutines (i.e. I am
|>NOT fsplitting them).
|>
|>Next, I am linking several *.o files with
|>
|>xlf -o ramsexe *.o rams.a
|>
|>this results in unsatisfied external refs, even though, I am
|>certain these externals are in the library. I have traced the
|>problem a bit further: seems like removing one particular
|>object file from *.o list makes the problem to go away.
|>However, this particular object file is not unusual in any way.
|>
I got bit by this problem myself a couple weeks ago. Try using the flag:
-b nodelcsect
on the link line. It worked for me.
Amy <johnson at ecovsh.eco.ncsu.edu>
Engineering Computer Operations
North Carolina State University
More information about the Comp.unix.aix
mailing list