The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compilation Error yschd High Level Programming 2 06-01-2009 09:19 AM
Compilation error : Please help jagan_kalluri High Level Programming 1 05-20-2008 04:48 PM
compilation error mannam srinivas HP-UX 2 04-18-2008 01:52 PM
c++ compilation error mannam srinivas Linux 12 04-17-2008 03:03 AM
compilation error in gcc ls1429 High Level Programming 9 06-21-2006 11:02 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-01-2009
unisuraj unisuraj is offline
Registered User
  
 

Join Date: Mar 2008
Location: Delhi
Posts: 10
Compilation error in C++ ::_Rb_tree_node_base& !!

Hi,
I am getting the following compilation error in compiling the code :

/**********************************/
Undefined first referenced
symbol in file
std::_Rb_tree_increment(std::_Rb_tree_node_base*)/var/tmp//ccZIgc70.o
std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)/var/tmp//ccZIgc70.o
std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)/var/tmp//ccZIgc70.o
std::_Rb_tree_decrement(std::_Rb_tree_node_base*)/var/tmp//ccZIgc70.o
ld: fatal: Symbol referencing errors. No output written to ipcl
collect2: ld returned 1 exit status
/***************************************/
i am using the map stl library with g++ on sun machine 64bit.

Makefile:
/********************************/
commonobjfiles = *.cpp

INCLUDES = -I . -I../../../COMMON_HEADER/sysrel -I../../../STACK_HEADER/hss -I../inc -I$(ORACLE_HOME)/precomp/public

obj: $(commonobjfiles)
g++ -g $(commonobjfiles) -o ipcl $(INCLUDES) -z muldefs -lpthread -lsocket -lnsl -lrt -Wno-deprecated -ldl -L../../..
/LIB -lvng_db_api -loamlog -llsclient -lAlarmManagerClient -L $(ORACLE_HOME)/lib32 -lclntsh -D_REENTRANT -DNO_IAM
clean:
rm -f *.o
rm ipcl
/*******************************/

Please help me out.

Regards,
Suraj
  #2 (permalink)  
Old 07-03-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,933
Please post your code.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0