472,362 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

C++ extention

I have a python extention implemented in C/C++
- the extention itself is internally implemented in C++, but
the interface is pure C, so that it can easily be called from
a python C-wrapper.

The extention is compiled with distutils, and this has worked
well in both Windows and Linux environments.

Now, however, I get an

undefined symbol _ZTVN10__cxxabiv117__class_type_infoE

when I try to import the extention on Linux (only linux).

I think this has happened after gcc was upgraded to gcc 3.2.2

Has anyone seen this? What could be the problem?

Jesper
Jul 18 '05 #1
2 4893
Try to compile with

g++ -fno-rtti

Manuel
Jul 18 '05 #2
I don't know why
jo****@mail2world.com (Jesper Olsen) wrote in message news:<6b**************************@posting.google. com>...
I have a python extention implemented in C/C++
- the extention itself is internally implemented in C++, but
the interface is pure C, so that it can easily be called from
a python C-wrapper.

The extention is compiled with distutils, and this has worked
well in both Windows and Linux environments.

Now, however, I get an

undefined symbol _ZTVN10__cxxabiv117__class_type_infoE

when I try to import the extention on Linux (only linux).

I think this has happened after gcc was upgraded to gcc 3.2.2

Has anyone seen this? What could be the problem?

Jesper


I don't know why this tedious problem has cropped up with the new
gcc - but anyway I have fixed it now by "manually" forcing it to
choose g++ as the linker - on linux platforms.
It would be nice if distutils could take care of this itself...

Jesper
Jul 18 '05 #3

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

Similar topics

0
by: Atul Kshirsagar | last post by:
I am embedding python in my C++ application. I am using Python *2.3.2* with a C++ extention DLL in multi-threaded environment. I am using SWIG-1.3.19 to generate C++ to Python interface. Now to...
1
by: Carl Ogawa | last post by:
How do I make .cgi extention work? I installed ActivePerl 5.8. My CGI scripts work fine with .PL extention but not .CGI extention although I associated CGI extention as exactly same as PL...
1
by: MFA | last post by:
Hi all I have installed Front page server Extention on IIS 5.0 it was working fine. I was able to load project from Visual Interdav and doing well. Yesterday I installed a security update from...
3
by: Tuvas | last post by:
I am currently writing an extention module that needs to recieve a list of characters that might vary in size from 0 to 8. This is written as a list of characters rather than a string because it's...
8
by: Tuvas | last post by:
I am in the process of writing an extention module, and am coming up with lots of problems. Perhaps someone could be of use. I keep getting data that isn't what I'm sending the program. Let me give...
1
by: godfather96 | last post by:
I am using a web control called eXml which is an extention to ms xml web control which supports xslt 2.0 when trying to group elements i receive the following error: group-by is not a valid...
5
by: Krustov | last post by:
I have the following list of image files . When searching the latest (numbered file) in this particular case its background_4.*** and its a .jpg file - but - the latest file in the list could...
10
by: shaiful | last post by:
Hi all I have a problem with extention of file. such as: Dim s, s1 As String s = "Test.doc" i want get the value of s is in s1 as "Test.txt" such as : s1 = "Test.txt" so, how i can get...
4
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
I'm do meore and more with extention methods, totally cool. They are making life much easier for IU developers. I'm trying to add a return type of struct to a asp.net DropDownList of type struct....
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...

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.