473,587 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ld: 0711-317 ERROR: Undefined symbol

1 New Member
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 5320
AdrianH
1,251 Recognized Expert Top Contributor
Let me guess, you are using an template array?


Adrian
May 15 '07 #2
weaknessforcats
9,208 Recognized Expert Moderator Expert
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 Recognized Expert Top Contributor
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
5055
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 ? (Simula, Smalltalk, Modula-3, Eiffel, Sather, C++) I suppose Java is not suitable for Sys. Programming. 2) Which OOP language would be better...
822
29262
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 real-time applications. The majority of expert/people recommend Ada for safety critical real-time applications. I've many years of experience in C/C++...
6
2538
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 same application on a cluster of PCs to speed-up the execution? (How?) Or does it has to be re-written in some special way to be executed on the...
6
1345
by: kalikoi | last post by:
Hi I got a string as follows str= -0.1400,0.2910,-0.2742,-0.2904,0.1087,0.0323,-0.1355,-0.1221,-0.2164,-0.2128#0.0834,-0.4026,-0.2563,-0.0145,-0.3120,-0.2324,-0.1320,-0.0246,-0.1383,-0.1964#0.0711,-0.1743,-0.0128,0.0122,-0.1154,-0.1392,-0.1910,0.0543,-0.0450,-0.0685 i need a code in asp so the output is in the following format
1
1304
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
1523
by: Frank Stutzman | last post by:
I've got a simple script that looks like (watch the wrap): --------------------------------------------------- import BeautifulSoup,urllib ifile = urllib.urlopen("http://www.naco.faa.gov/digital_tpp_search.asp?fldId ent=klax&fld_ident_type=ICAO&ver=0711&bnSubmit=Complete+Search").read() soup=BeautifulSoup.BeautifulSoup(ifile) print...
0
7849
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...
0
8215
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8347
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7973
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...
1
5718
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...
0
5394
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3844
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1454
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1189
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...

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.