Here is an error message a user is getting while linking some FORTRAN code. This
worked fine untill he changed some input parameters in an include file.
6 grayskies% make
f77 -o interp.exe ACCOUNT.o APPEND.o AVERAGE.o BDYOUT.o BINT.o BNDTEND.o
BOUND.o CALCPP.o CALCPSG.o CEL2KEL.o CHECK.o CLEANRH.o CLEANUV.o CLEAR.o
CLOSDAD.o COUPLE.o CRS2DOT.o CUT.o DECOUP.o DELTATIM.o DFDP.o DIFF.o DOT2CRS.o
EQUATE.o EXAINT.o FAT1001.o FILL.o FIRSTG.o GEOPOT.o GEOPOT2.o GEOS.o GETDAT.o
GETGIST.o GRNDTMP.o HYONEWAY.o IAVERAG.o INSERT.o INTDRVR.o INTERP.o INVERT.o
INVERT2.o JCLSTUF.o KEL2CEL.o LOADIT.o MAKESFC.o MEANDIV.o MXRATNH.o MXRATPRS.o
MXRATSIG.o MXRATTHE.o NEST.o NH1001.o NHBASE.o NHINTERP.o NHPP.o NHW.o OMEGA.o
ONED.o ONEWAY.o OPENDAD.o OUTMODEL.o OUTMODP.o OUTPT.o OUTRAW8.o OUTVERF.o
PINTMTH.o PREPMM.o PRS2SIG.o PSFCEZ.o PSFCNH.o PSTAR.o PSTDATM.o QTORH.o
QTORHNH.o QUAINT.o RAIN.o RDINPUT.o READDAD.o RELAX.o SCALE.o SDOMAIN.o
SEAPRS.o SEAPRSNH.o SFCPRS.o SFCPRSS.o SFCPRST.o SIG2PRS.o SINT.o SKIPF.o
SKIPINP.o SLOWINT.o SMTHER.o THE2PRS.o THE2SIG.o THE2TMP.o TMP2THE.o TMP2THV.o
TVIRT.o UNEXPAND.o UVPRSDIV.o VERTINT.o VTRAN.o WBOUND.o WIND.o WRITDAD.o
XY2YX.o YX2XY.o onhalf.o tmpfix.o -lnetcdf -O -math_library accurate
Assertion failed: 0, file
../../../../../../src/usr/ccs/lib/libmld/cmrlc_produce.c, line 864
Fatal error in: /usr/lib/cmplrs/cc/ld IOT/Abort trap
fort: Severe: Failed while trying to link.
*** Exit 1
Stop.
The really interresting part is that is you link with -O1 or less it works fine.
This looks to me like the linker is having problems. Can anyone explain this?
David Warren INTERNET: warren_at_atmos.washington.edu
(206) 543-0945 Fax: (206) 543-0308
University of Washington
Dept of Atmospheric Sciences, Box 351640
Seattle, WA 98195-1640
-------------------------------------------------------------------------------
DECUS E-PUBS Library Committee representative
SeaLUG DECUS Chair
Received on Thu May 18 1995 - 14:44:22 NZST