472,984 Members | 2,307 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 5644
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Edward | last post by:
Years ago I wrote an app in VB 4.0 16 bit. The program is still selling, but the clients want to upgrade to 32 bit. Should I go for VB 4.0 32 bit, or version 5, or version 6? There is only a...
14
by: Wolfgang Keller | last post by:
Hello, as a non-developer I am currently participating in an industrial "research" project to develop a so-called "web application". This application serves at the same time as middleware to...
4
by: Chris Travers | last post by:
Hi all; A few years ago, I set about porting a PHP application from MySQL to PostgreSQL, after realizing that MySQL wasn't going to be able to handle it. In order to do this, I built a light,...
1
by: Sunanda | last post by:
Hi, I am a newbie to .Net. I have an application in running in linux, a set of .c and .h files. I also have a makefile in linux to create the executable. I want to port this to windows...
2
by: rawCoder | last post by:
Hi all, I have an application in visual basic 6 which communicates with servers written in ANSI C++ using a C++ ( non COM ) dll by passig data through functions in UDT and receiving data back...
2
by: Ritesh | last post by:
Hi All, It will be great if any one of you can suggest which strategy to take for porting an Asp application to Asp.Net. Just to give you an idea about the present architecture of the...
2
by: sandip desale | last post by:
Dear All, We have a Tcl/Tk application written using Python 2.2. Using this application we want to call some customizable Java APIs. I tried porting Tcl/Tk application to Jython but not able to do...
5
by: shobhah | last post by:
Hi, We have a complete succsssfully working product on 32bit sparc solaris machine for which compiler used is CC 5.8 Now we are migarting our product from 32 bit to 64bit sparc solaris machine....
1
by: kataokaat | last post by:
Hi, I have developed an application in c# . It is basically used to manage the configuration of my software. I want to port it into mmc. So i want to know what i have to do for porting....
47
by: =?Utf-8?B?ZW1hdmlzdQ==?= | last post by:
Dear guys, I'm in trouble having to port my project from C++Builder6 to VisualC++. Has anyone of you idea if there are any tools to help my doing this job? My current project is widely using VCL...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.