473,796 Members | 2,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Undefined symbol __rtaccess() error

While porting code from SUN 4.2 compiler to SUN 6.2 ( forte) compiler using
compatiblity (compat) mode, the following error occurs. If any one knows
solution for this problem please let me know. your reply will be highly
appreciated.

CC -O -DSVR4 -I/vobs/devel/include -DOWTOOLKIT_WARN ING_DISABLED
-DDEV_CHECKS -D_REENTRANT -compat -library=rwtools 7
-features=no%con ststrings -I../Common -I/vobs/devel/include -features=rtti
-mt VX_TIF.o LoadSaveManager .o -L. -lsocket -lnsl -L -lxdisputl -Bstatic
-lsec -Bdynamic -lxdisputl -R/usr/openwin/lib -L/usr/openwin/lib -lxview
-lolgx -lX11 --lm -lsunmath -lintl -o VX_TIF

Undefined first referenced
symbol in file
__rtaccess(Obse rvable&) LoadSaveManager .o
ld: fatal: Symbol referencing errors. No output written to VX_TIF
*** Error code 1
clearmake: Error: Build script failed for "VX_TIF"
Jul 22 '05 #1
2 1476
"fredy" wrote:
While porting code from SUN 4.2 compiler to SUN 6.2 ( forte) compiler using
compatiblity (compat) mode, the following error occurs. If any one knows
solution for this problem please let me know. your reply will be highly
appreciated.


Seams like this symbol might be in libC.*. Did you read CC -readme? Then
you should post to a compiler specific newsgroup.
Jul 22 '05 #2
Jo,
I am dealing with a very similar problem right now.
The __rtaccess symbol is defined for each class because
we have runtime type information enabled for our programs
using -features=rtti. I am not sure why in the port from
old to new sun compiler things are having problems. If you
do not need -features=rtti, then you can remove the option and maybe all
will be well. If you do <dynamic_cast > anywhere, you cannot remove this
option. If you solve this
problem any other way than removing -features=rtti, I would be very
interested in hearing what you did. Thanks!
Jim

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1420
by: Jay Steiner | last post by:
Can someone explain this error to me? I am compiling on solaris 2.6 using the Sun 5.0 C++ compiler. I have RTTI turned on as well as -compat. I *think* it's some kind of roguewave problem, but I am not sure. Any help is appreciated.
1
11268
by: Stu | last post by:
I am trying to build the xerces shared library with 2.3.0 version of their source code on an AIX 5.1 32 bit machine with the following version of the g++ compiler /usr/local/bin/g++ -v Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.1/specs Configured with: ../gcc-3.3.1/configure --disable-nls Thread model: aix gcc version 3.3.1
0
1770
by: pervinder | last post by:
Hi, I have a c++ application which depends on some other libs which uses stlport When i build the application, it works fine on sun/linux/hp platform. (provided the .a for the dependency libs) But it errors out on AIX ( xlC va6) with below errors:- ld: 0711-317 ERROR: Undefined symbol: ._STL::ios_base::_Loc_init::_Loc_init() ld: 0711-317 ERROR: Undefined symbol: ._STL::ios_base::Init::Init() ld: 0711-317 ERROR: Undefined symbol:...
2
5260
by: el prinCipante | last post by:
I am a total novice. And granted this probably is a very simple question, it still stops me from finishing my thesis. Thanks in advance for any postings. I am using a library routine and apparently I have all the necessarý files to compile properly. But my compiler comes up with the following message link samain,,,user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1
4
5733
by: r.nikhilk | last post by:
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:...
8
18055
by: pavan734 | last post by:
Hello, Please excuse me as Iam not posting this to correct group. I have a parser code obtained from flex command. I have many other files. When I compile them Iam getting a message like: undefined symbol yylex. What might have went wrong?
1
5551
by: yamitmehta | last post by:
When I compile to code using g++arm of VxWorks 5.5 and put it on my board i get the follwing undefined symbols:- Cpool and Csingleton are template classes. CPool has the static member variables:-ms_uCapacity ,ms_uAllocatedCount , ms_uLockCapacity ,ms_pmutex -ld < yamit/apps1.out Undefined symbol: _Q23m5tt5CPool1ZQ23m5t10CMarshaler$ms_uCapacity (binding 1 type 0) Undefined symbol: _Q23m5tt5CPool1ZQ23m5t10CMarshaler$ms_uAllocatedCount
1
4914
by: Justin Johnson | last post by:
Hello, I'm trying to build Python 2.5.0 on AIX 5.3 using IBM's compiler (VisualAge C++ Professional / C for AIX Compiler, Version 6). I run configure and make, but makes fails with undefined symbols. See the output from configure and make below. svnadm /svn/build/python-2.5.0>env CC=cc CXX=xlC ./configure --prefix=$base_dir \ checking MACHDEP... aix5
1
6062
by: Michel Esber | last post by:
People, Environment: Linux AS4 I have just installed db2 v9.5 + Fixpak 2 on a machine that has db2 v8 up and running, but I am unable to create and instance: # ./db2icrt -a SERVER -p 50002 -s wse - u db2inst2 db2inst2 /opt/ibm/db2/V9.5/bin/db2greg: symbol lookup error: /opt/ibm/db2/V9.5/
0
9531
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10459
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10237
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10187
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10018
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7553
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5446
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5578
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2928
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.