🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #327

___new_handle undefined ???

#327
From: NathanD
Date: Fri, 21 Aug 1992 02:56
15 lines
916 bytes
I just downloaded an installed gcc 2.2.2.  When I try to compile something
that uses iostreams, the linker gives me:

gcc:lib/libgcc.a(_builtin_new.o): Undefined symbol ___new_handler referenced
from text segment

My command line is: gcc main.cc -lg++ -lc
and it seems to compile ok.

Can someone help me?  Do I just have a command line switch wrong?  Or do I
need to link in some other object module?

Thanks,
nathan
Technical Details
Message-ID: <1992Aug21.025615.25134@nntp.uoregon.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!henson!news.u.washington.edu!nntp.uoregon.edu!inferno.uoregon.edu!nathan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!henson!news.u.washington.edu!nntp.uoregon.edu!inferno.uoregon.edu!nathan
From: nathan@inferno.uoregon.edu (NathanD)
Newsgroups: gnu.gcc.help
Subject: ___new_handle undefined ???
Message-ID: <1992Aug21.025615.25134@nntp.uoregon.edu>
Date: 21 Aug 92 02:56:15 GMT
Article-I.D.: nntp.1992Aug21.025615.25134
Sender: news@nntp.uoregon.edu
Organization: University of Oregon Network Services
Lines: 15
X-Newsreader: Tin 1.1 PL4