473,785 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2284
This message was also posted and replied to on comp.lang.fortr an -- 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
1793
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} --with-threads=no $make but make fails because each invocation of ld causes errors like:
1
10041
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 to create an executable "CC -o myfile.o myfile.cc" it produces the following error Undefined first referenced symbol in file myClass::myClass (int, int, int) myfile.o ld:...
0
3056
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 when I try to create an executable "CC -o myfile.o myfile.cc" it produces the following error Undefined first referenced symbol in file myClass::myClass (int, int, int) myfile.o...
2
1476
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. your reply will be highly appreciated. CC -O -DSVR4 -I/vobs/devel/include -DOWTOOLKIT_WARNING_DISABLED -DDEV_CHECKS -D_REENTRANT -compat -library=rwtools7 -features=no%conststrings -I../Common -I/vobs/devel/include -features=rtti -mt VX_TIF.o...
1
3248
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 platforms. dgetrs_ (first referenced in .../../output/HPUX_32/lib/acc352/dbg/libmtx.a(denseMatrix.o)) (code) dsytrs_ (first referenced in
0
236
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 solutions setup in Visual Studio to just use the fortran compilers to compile the fortran files into objects. 3 of the 4 dlls compile just fine using this method. On the fourth one I get this error message: FourierAlg.obj : error LNK2019: unresolved...
4
3812
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 working. It worked before, but now I have visual fortran installed. Visual Fortran is included in the Microsoft Visual Studio folder. Probably the error arises due to an incorrect setting of fortan, but I don't know - it installed with no...
2
19606
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 -DNDEBUG" world /u04/app/forte/SUNWspro/bin/CC -c -O -DNDEBUG -pto -PIC -DIL_STD -DILDORACLE -I/usr/include -I/u04/app/ilog/cplex71/include -I/u04/app/ilog/concert11/include -I/u04/app/ilog/dblink50/include
1
4914
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 symbols. See the output from configure and make below. svnadm /svn/build/python-2.5.0>env CC=cc CXX=xlC ./configure --prefix=$base_dir \ checking MACHDEP... aix5
0
9646
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9484
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10097
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9957
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8983
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7505
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4055
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.