🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by NathanD Fri, 21 Aug 1992 03:06
___new_handle undefined ???
#206
Author: NathanD
Date: Fri, 21 Aug 1992 03:06
30 lines
944 bytes
Help.  I just get gcc 2.2.2 and installed it and stuff.

I'm trying to compile:

#include <iostream.h>

int main( void )
{
	cout << "Hello, world!\n";
	return 0;
}


with the command line:

gcc main.cc -lg++ -lc

I get the error message:

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


AUGH!  What am I doing wrong?  Other things have linked and work, but not
anything that uses iostreams.

Thanks in advance for any help.

nathan
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads