X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: multiple definition of std::_Rb_tree_rotate_left at link time Date: Fri, 10 Feb 2006 11:10:21 -0000 Message-ID: <006201c62e32$957c9490$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <20060210065434.5074.qmail@web36514.mail.mud.yahoo.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 10 February 2006 06:55, venkatraj k.s wrote: > I am facing a problem cygwin , detailed description is > given below. > > My program uses archives , > /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(tree.o):: > multiple definition of > `std::_Rb_tree_rotate_left(std::_Rb_tree_node_base*, > std::_Rb_tree_node_base*&)' > src/../tools/fs/cygwin_nt-5.2/lib/liblsidesignconfig.a(netlistParam.o):/usr/in clude/c++/3.3.1/bits/stl_tree.h:(.text$_ZSt20_Rb_tree_rotate_leftPSt18_Rb_tree _node_baseRS0_[std::_Rb_tree_rotate_left(std::_Rb_tree_node_base*, > std::_Rb_tree_node_base*&)]+0x0): first defined here > /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(tree.o):: > multiple definition of > `std::_Rb_tree_rotate_right(std::_Rb_tree_node_base*, > std::_Rb_tree_node_base*&)' > src/../tools/fs/cygwin_nt-5.2/lib/liblsidesignconfig.a(netlistParam.o):/usr/in clude/c++/3.3.1/bits/stl_tree.h:(.text$_ZSt21_Rb_tree_rotate_rightPSt18_Rb_tre e_node_baseRS0_[std::_Rb_tree_rotate_right(std::_Rb_tree_node_base*, > std::_Rb_tree_node_base*&)]+0x0): first defined here > I checked the gcc compiler version in both machines i > have seen that local machine has gcc version 3.4.4 > where as the other machine has version 3.3.1. .o files from 3.3.x are not necessarily compatible with .o files from 3.4.x, that is why they have different minor version numbers. > Is there any way i can eliminate this error by using > the same archives No. >( i dont want to build new archives ), Downgrade the gcc version on the local machine using setup.exe; 3.3.3-3 should be compatible with 3.3.1 and it's still the 'Prev' version. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/