delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/08/08/13:31:01

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 <ams AT speedy DOT ludd DOT ltu DOT se>
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 <wosrediinanatour AT aon DOT at> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019