X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 10 Aug 2005 11:51:53 +0200 From: Florian Xaver User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: operators (f.e. new[]) undefined References: <42f757e5$0$2283$91cee783 AT newsreader02 DOT highway DOT telekom DOT at> <42f795c8$0$175$cc7c7865 AT news DOT luth DOT se> In-Reply-To: <42f795c8$0$175$cc7c7865@news.luth.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 35 Message-ID: <42f9ce2b$0$27161$91cee783@newsreader01.highway.telekom.at> NNTP-Posting-Host: N897P007.dipool.highway.telekom.at X-Trace: 1123667499 newsreader01.highway.telekom.at 27161 212.183.122.7:17457 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi! Thanks, i found it. I have to change the makefile. Bye, Flo Martin Str|mberg wrote: > 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.