473,404 Members | 2,179 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,404 software developers and data experts.

ld: 0711-317 ERROR: Undefined symbol

I am working on IBM AIX machine and using XLC C++ complier version 8.0.

1) Able to compile the objects on AIX from C and C++ source code.
2) Able to create the libraries (combination of C & C++, Proc*C objects)
3) Finally trying to create a run time executable, it's not recognizing the libraries created at step 2. Basically linking user defined libraries is an issue


Expand|Select|Wrap|Line Numbers
  1. /risk/riskdev/risk_src/cpp/CurveSimu/src > make mainCrvSimu
  2.         cd ../../exceptions; make exceptions.a
  3. Target "exceptions.a" is up to date.
  4.         cd ../arrays; make arrayslib.a
  5. Target "arrayslib.a" is up to date.
  6.         cd ../../proC_util; make utillib.a
  7. Target "utillib.a" is up to date.
  8.         cd ../../juliandates; make dateslib.a
  9. Target "dateslib.a" is up to date.
  10.         cd ../../numerical; make matlib.a
  11. Target "matlib.a" is up to date.
  12.         /usr/vacpp/bin/xlC -qmaxmem=32768 -bnoipath -q64 -bmaxdata:0x80000000 -o mainCrvSimu  -L/oracle_client/product/9.2.0.7/lib/  Curve.o ExpirationDates.o dbConnect.o PwrCurve.o PrimaryCurves.o VaRConfig.o CurveLogReturn.o PwrCrvLogReturn.o  vatrmain.o SimulatedCurve.o CurveSimulator.o SimuCurve.o BasisSimuCurve.o PwrSimuCurve.o PwrBasisSimuCurve.o HJM_model.o LogReturns.o    ../../exceptions/exceptions.a ../arrays/arrayslib.a  ../../proC_util/utillib.a  ../../juliandates/dateslib.a   ../../numerical/matlib.a   -lclntst9  /oracle_client/product/9.2.0.7/lib/scorept.o /oracle_client/product/9.2.0.7/lib/sscoreed.o /oracle_client/product/9.2.0.7/rdbms/lib/kpudfo.o -lclient9 -lsql9  `cat /oracle_client/product/9.2.0.7/lib/ldflagsO`    -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /oracle_client/product/9.2.0.7/lib/ldflagsO`    -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9  -lvsn9 -lwtc9  -lcommon9 -lgeneric9 `cat /oracle_client/product/9.2.0.7/lib/ldflagsO`    -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /oracle_client/product/9.2.0.7/lib/ldflagsO`    -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9  -lvsn9 -lwtc9  -lcommon9 -lgeneric9  -lpls9  -ltrace9 -lnls9  -lcore9 -lnls9 -lcore9  -lnls9 -lxml9 -lcore9 -lunls9 -lnls9  -lld -lm `cat /oracle_client/product/9.2.0.7/lib/sysliblist | sed 's|/lib/crt0_r.o||g'` -lm
  13. ld: 0711-317 ERROR: Undefined symbol: .jul2str
  14. ld: 0711-317 ERROR: Undefined symbol: .IntArray::IntArray(const int*,int)
  15. ld: 0711-317 ERROR: Undefined symbol: .DoubleArray::DoubleArray(const double*,int)
May 15 '07 #1
3 5308
AdrianH
1,251 Expert 1GB
Let me guess, you are using an template array?


Adrian
May 15 '07 #2
weaknessforcats
9,208 Expert Mod 8TB
This doesn;t look like a template dues no no <> anywhere:
Expand|Select|Wrap|Line Numbers
  1. ld: 0711-317 ERROR: Undefined symbol: .IntArray::IntArray(const int*,int)
  2. ld: 0711-317 ERROR: Undefined symbol: .DoubleArray::DoubleArray(const double*,int)
  3.  
This looks like user-defined class - and part of it is missing.
May 16 '07 #3
AdrianH
1,251 Expert 1GB
This doesn;t look like a template dues no no <> anywhere:
Expand|Select|Wrap|Line Numbers
  1. ld: 0711-317 ERROR: Undefined symbol: .IntArray::IntArray(const int*,int)
  2. ld: 0711-317 ERROR: Undefined symbol: .DoubleArray::DoubleArray(const double*,int)
  3.  
This looks like user-defined class - and part of it is missing.
Could be.


Adrian
May 16 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

70
by: KingIshu | last post by:
Hi All, I am developing an object oriented OS code-named "ikbocs". 1) What are the pros and cons of the following languages interms of Effectiveness on System Programming, Object Orientedness etc...
822
by: Turamnvia Suouriviaskimatta | last post by:
I 'm following various posting in "comp.lang.ada, comp.lang.c++ , comp.realtime, comp.software-eng" groups regarding selection of a programming language of C, C++ or Ada for safety critical...
6
by: | last post by:
Assume that we have a complex application with many math operations and it is written in an ANSI C++ code and running on a single PC without any problem. Is there an automatic way to execute the...
6
by: kalikoi | last post by:
Hi I got a string as follows str=...
1
by: Iyhamid | last post by:
Hello Every 1: I Have this query: Tran Date Total Tran Per Day 200 0000 4 0710 38 0711 78 0712 15
2
by: Frank Stutzman | last post by:
I've got a simple script that looks like (watch the wrap): --------------------------------------------------- import BeautifulSoup,urllib ifile =...
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
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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...
0
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...

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.