🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #355

Re: linking trouble

#355
From: bothner
Date: Tue, 17 Nov 1992 13:28
16 lines
872 bytes
> I've got a pile of code that was developed under SunOs using cfront
> 2.something.

Did you re-compile all of your C++ code;
code from different C++ compilers is normally not binary compatible.

> At least I recognize exit, but why is it undefined?

Because you didn't declare exit() as a C function (using 'extern "C").

> __ls doesn't ring any bells

ls == left shift - i.e. operator<<.

	--Per Bothner
Cygnus Support     bothner@cygnus.com
Technical Details
Message-ID: <9211180528.AA05875@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
References: <9211180119.AA21878@capella.ece.ucsb.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
From: bothner@cygnus.com
Subject: Re: linking trouble
Message-ID: <9211180528.AA05875@cygnus.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: <9211180119.AA21878@capella.ece.ucsb.edu>
Distribution: gnu
Date: Tue, 17 Nov 1992 13:28:13 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 17