468,296 Members | 1,306 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,296 developers. It's quick & easy.

Porting C++ application on 32 bit to 64 bit on AIX - ld : 0711-317 ERROR : Undefined symbol

Hi,

We are porting C++ applications from 32 bit to 64 bit on AIX platform.
(The current version of AIX is 5.3 and xlC verison is 8.0). We are able
to compile the applications by including the -q64 option in xlC
compiler. But, when we link all these libraries to one of the main
applications, we are getting the following errors:

ld: 0711-317 ERROR: Undefined symbol: .FxCharFile::good() const
ld: 0711-317 ERROR: Undefined symbol: .FxCharFile::error() const
ld: 0711-317 ERROR: Undefined symbol: .operator<<(ostream&,const
DateTime&)
ld: 0711-317 ERROR: Undefined symbol: .DateTime::~DateTime()
ld: 0711-317 ERROR: Undefined symbol: Virtual table for class
"FxCharFile": first non-inline virtual function in "FxCharFile" is not
defined.
ld: 0711-317 ERROR: Undefined symbol: Virtual table for class "Record":
first non-inline virtual function in "Record" is not defined.
gmake: *** [CustDelta] Error 8

Thanks,
-Nikhil

Nov 22 '05 #1
4 5280
r.*******@gmail.com wrote:
We are porting C++ applications from 32 bit to 64 bit on AIX platform.
(The current version of AIX is 5.3 and xlC verison is 8.0). We are able
to compile the applications by including the -q64 option in xlC
compiler. But, when we link all these libraries to one of the main
applications, we are getting the following errors:

ld: 0711-317 ERROR: Undefined symbol: .FxCharFile::good() const
ld: 0711-317 ERROR: Undefined symbol: .FxCharFile::error() const
ld: 0711-317 ERROR: Undefined symbol: .operator<<(ostream&,const
DateTime&)
ld: 0711-317 ERROR: Undefined symbol: .DateTime::~DateTime()
ld: 0711-317 ERROR: Undefined symbol: Virtual table for class
"FxCharFile": first non-inline virtual function in "FxCharFile" is not
defined.
ld: 0711-317 ERROR: Undefined symbol: Virtual table for class "Record":
first non-inline virtual function in "Record" is not defined.
gmake: *** [CustDelta] Error 8


What you've got there is not a language problem. You've missed a
header file or a library or connected to the wrong library or not set
a link-time flag or not recompiled one source file or some such.

Anyway, you need to try this in a news group that talks about your
platform, library, and compiler. Here we don't know from FxCharFile,
as that is not part of the standard C++ language. Since you mention
AIX, I presume you need a news group talking about programming
for AIX.
Socks

Nov 22 '05 #2
Hi,
Here, FxCharFile() is my own function which I wrote for my application.
This FxCharFile() is the part of my own library. This is the libray to
which Iam linking my main application.

Thanks,
-Nikhil

Nov 22 '05 #3
r.*******@gmail.com wrote:
Hi,
Please quote the message you are answering to.
Here, FxCharFile() is my own function which I wrote for my application.
This FxCharFile() is the part of my own library. This is the libray to
which Iam linking my main application.


Still, these are linker errors and linkers are not standard C++. Please
ask in a newsgroup supporting your system.

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Jonathan

Nov 22 '05 #4

<r.*******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Hi,

We are porting C++ applications from 32 bit to 64 bit on AIX platform.
(The current version of AIX is 5.3 and xlC verison is 8.0). We are able
to compile the applications by including the -q64 option in xlC
compiler. But, when we link all these libraries to one of the main
applications, we are getting the following errors:

ld: 0711-317 ERROR: Undefined symbol: .FxCharFile::good() const


Okay, can you show us your definition of FxCharFile's good() function and
how you use it? Maybe it's something not too difficult to figure out.
Nov 22 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Edward | last post: by
14 posts views Thread by Wolfgang Keller | last post: by
4 posts views Thread by Chris Travers | last post: by
1 post views Thread by Sunanda | last post: by
2 posts views Thread by rawCoder | last post: by
2 posts views Thread by Ritesh | last post: by
2 posts views Thread by sandip desale | last post: by
1 post views Thread by kataokaat | last post: by
47 posts views Thread by =?Utf-8?B?ZW1hdmlzdQ==?= | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.