- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have to use Intel c++ (32bit, cc32) compiler on Linux for my program that was compiled with gcc. I have run it for years. With intel cc, now I have a problem in compiling. It is something to do with std library.
MyProgram.so: undefined to 'std::_Rb_tree_decrement(std::_Rb_tree_note_base*)
.....
std::_List_node_base::transfer(std::_List_node_base*)
.....
I might miss some in the makefile and am looking for your help.
Thank you a lot.
Dee
I have to use Intel c++ (32bit, cc32) compiler on Linux for my program that was compiled with gcc. I have run it for years. With intel cc, now I have a problem in compiling. It is something to do with std library.
MyProgram.so: undefined to 'std::_Rb_tree_decrement(std::_Rb_tree_note_base*)
.....
std::_List_node_base::transfer(std::_List_node_base*)
.....
I might miss some in the makefile and am looking for your help.
Thank you a lot.
Dee
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You didn't show us the makefile. In the title you say icc (Intel C compiler), and in the text you say Intel C++ (icpc) . This kind of error would happen if you didn't use icpc or g++ to run the link. No other tools would know about libstdc++. For example, if you invoked ld directly, or by specifying a C compiler, you would have to specify the libraries required. Generally, it is possibly to link mixtures of C and C++ by using the C++ compiler to drive the link, but not by the C compiler alone.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page