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

Home Posts Topics Members FAQ

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 5711
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
7325
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
3269
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
2358
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
1599
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
1256
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
1181
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
3828
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
3005
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
1270
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
2294
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...
0
7260
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
7161
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...
0
7384
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
7525
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
5686
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,...
1
5089
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...
0
4746
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...
0
1596
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 ...
0
456
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...

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.