Symbol Referencing Error in Fortran 90
student
adarsh at stat.tamu.edu
Mon Apr 4 13:28:39 EDT 2005
while compiling on:
SunOS 5.8 Generic_108528-27 sun4u sparc SUNW,Sun-Fire-280R
I get the following error:
Undefined first referenced
symbol in file
matrixi_ tst.o
ld: fatal: Symbol referencing errors. No output written to a.out
However, the compilation is successful when linking is suppressed. Can
anyone help me get rid of this error..
Compiling with the verbose option gives the following message:
### command line files and options (expanded):
### -v tst.f90
### f90: Note: LM_LICENSE_FILE = (null)
### f90: Note: NLSPATH =
/local/SUNWspro/bin/../WS6U2/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/local/SUNWspro/bin/../WS6U2/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
/local/SUNWspro/bin/../WS6U2/bin/f90comp -y-o -ytst.o -ev
-y-ftrap=common -m3 -dq -y-fbe -y/local/SUNWspro/bin/../WS6U2/bin/fbe
-y-xarch=generic -y-s -H "/local/SUNWspro/bin/../WS6U2/bin/f90 -v "
-y-xcache=generic -xcache=generic
-I/local/SUNWspro/WS6U2/include/f90/v8 -p/local/SUNWspro/WS6U2/lib
-y-verbose -xall tst.f90
### f90: Note: LD_LIBRARY_PATH = (null)
### f90: Note: LD_RUN_PATH = (null)
### f90: Note: LD_OPTIONS = (null)
/usr/ccs/bin/ld -t -R/local/SUNWspro/lib:/opt/SUNWspro/lib -o a.out
/local/SUNWspro/WS6U2/lib/crti.o /local/SUNWspro/WS6U2/lib/crt1.o
/local/SUNWspro/WS6U2/lib/values-xi.o -Y
P,/local/SUNWspro/lib:/local/SUNWspro/WS6U2/lib:/usr/ccs/lib:/usr/lib
tst.o -lfui -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai
-lfminvai -lfmaxvai -lfsu -lsunmath -lm -lc
/local/SUNWspro/WS6U2/lib/crtn.o
Undefined first referenced
symbol in file
matrixi_ tst.o
ld: fatal: Symbol referencing errors. No output written to a.out
rm tst.o
More information about the Python-list
mailing list