Article View: gnu.g++.lib.bug
Article #353linking trouble
From: Jack Greenbaum
Date: Wed, 18 Nov 1992 01:19
Date: Wed, 18 Nov 1992 01:19
25 lines
1498 bytes
1498 bytes
I've got a pile of code that was developed under SunOs using cfront 2.something. When I compile with gcc-2.3.1 and lib-g++-2.2 on a DecStation 5000 runing Ultrix 4.2 I get the following error when linking: ld: Undefined: __ls__FR7ostreamP6Object __ls__FR7ostreamR6Object exit__Fi At least I recognize exit, but why is it undefined? __ls doesn't ring any bells, but I do recognize the data type Object for one of the arguments. How can I track this down? This code links with a C++ library we wrote. Another application that uses the same library gets the same errors. Could DEC's ld be having trouble with the mangled names? Thanks in advance for any suggestions about how to track this down. ------------------------------------------------------------------------------- Jack Greenbaum | UC Santa Barbara jackg@ece.ucsb.edu | Department of Electrical and Computer Engineering, Box 253 (805) 893-4461 | Santa Barbara, Ca. 93106, USA -------------------------------------------------------------------------------
Technical Details
Message-ID:
<9211180119.AA21878@capella.ece.ucsb.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ece.ucsb.edu!jackgShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ece.ucsb.edu!jackg From: jackg@ece.ucsb.edu (Jack Greenbaum) Subject: linking trouble Message-ID: <9211180119.AA21878@capella.ece.ucsb.edu> Sender: gnulists@ai.mit.edu Reply-To: jackg@apex.ece.ucsb.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 18 Nov 1992 01:19:02 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 27