473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Symbol Referencing Error in Fortran 90

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

Jul 18 '05 #1
1 2271
This message was also posted and replied to on comp.lang.fortran -- I
think it's presence here is an accident.

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Alexander Landgraf | last post by:
Hi group, I am not sure if this is the correct place for my question. If not, please tell me. I tried to compile Python 2.3.4 under AT&T MP RAS SVR4: $./configure --prefix=${HOME}...
1
by: Sharron | last post by:
This problem has me completely stumped...everyone on the net seems to have this problem but I don't understand what they are talking about. I know my code is correct it compiles fine but when I try...
0
by: Sharron | last post by:
Hello, This problem has me completely stumped...everyone on the net seems to have this problem but I don't understand what they are talking about. I know my code is correct it compiles fine but...
2
by: fredy | last post by:
While porting code from SUN 4.2 compiler to SUN 6.2 ( forte) compiler using compatiblity (compat) mode, the following error occurs. If any one knows solution for this problem please let me know....
1
by: pervinder | last post by:
Hi, I am building a c++ executable which uses fortan math libs. blas, lapack etc. But when i build this on HP-UX, i get below linker errors while it build without anyissues on Sun and Linux...
0
by: Kevin Stedman | last post by:
I am porting some software from Solaris to Windows. I am using the Windows Visual Studio .NET 2003 Visual C++ compiler. For the fortran files I am using Compaq Visual Fortran 6. I have my...
4
by: Ralph | last post by:
I am new to C programming, and trying to run a console program on VC98 C++ version 6.0. service pack 5.0. I am running on WinXP SP2. The C program is just a simple 'hello world'. But it's not...
2
by: Will hunting | last post by:
hi, when compiling using makefile on unix, I encounter such problem, anyone has similar experience on this? what could be the possible cause? thanks make OBJS=out/release "EXTRAFLAGS=-O...
1
by: Justin Johnson | last post by:
Hello, I'm trying to build Python 2.5.0 on AIX 5.3 using IBM's compiler (VisualAge C++ Professional / C for AIX Compiler, Version 6). I run configure and make, but makes fails with undefined...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.