X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <42f795c8$0$175$cc7c7865@news.luth.se> From: Martin Str|mberg Subject: Re: operators (f.e. new[]) undefined Newsgroups: comp.os.msdos.djgpp References: <42f757e5$0$2283$91cee783 AT newsreader02 DOT highway DOT telekom DOT at> User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) Date: 08 Aug 2005 17:26:32 GMT Lines: 30 NNTP-Posting-Host: speedy.ludd.ltu.se X-Trace: 1123521992 news.luth.se 175 130.240.16.13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Florian Xaver wrote: > I got the following errors from the linker. But, why are the operators > undefined???? > Any ideas? > ../../lib/djgpp.v2/libSWORD.a(spy.o):spy.cc:(.text+0x120): undefined > reference t > o `operator new[](unsigned long)' > ../../lib/djgpp.v2/libSWORD.a(spy.o):spy.cc:(.text+0x18c): undefined > reference t > o `operator delete(void*)' > ../../lib/djgpp.v2/libSWORD.a(spy.o):spy.cc:(.text+0x2f6): undefined > reference t > o `operator new[](unsigned long)' > ../../lib/djgpp.v2/libSWORD.a(spy.o):spy.cc:(.text+0x432): undefined > reference t > o `operator delete(void*)' > ../../lib/djgpp.v2/libSWORD.a(spy.o):spy.cc:(.eh_frame+0x11): undefined > referenc > e to `___gxx_personality_v0' I have no idea about the operators, but that gxx_personality suggests you're mixing one compiler version with another or another's library. Right, MartinS