delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/16/11:15:56

X-Trace-PostClient-IP: 24.108.205.142
From: "Tim AtLee" <timatlee AT shaw DOT ca>
Newsgroups: comp.os.msdos.djgpp
References: <AMuY8.50233$pi1 DOT 4124132 AT news2 DOT calgary DOT shaw DOT ca> <1026732896 DOT 487185 AT queeg DOT ludd DOT luth DOT se> <P3LY8.55973$pi1 DOT 4800597 AT news2 DOT calgary DOT shaw DOT ca>
Subject: Re: Linking problem?
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <UxVY8.57112$BD1.5348703@news1.calgary.shaw.ca>
Date: Tue, 16 Jul 2002 13:51:48 GMT
NNTP-Posting-Host: 24.70.95.207
X-Complaints-To: abuse AT shaw DOT ca
X-Trace: news1.calgary.shaw.ca 1026827508 24.70.95.207 (Tue, 16 Jul 2002 07:51:48 MDT)
NNTP-Posting-Date: Tue, 16 Jul 2002 07:51:48 MDT
Organization: Shaw Residential Internet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Tim AtLee" <timatlee AT shaw DOT ca> wrote in message
news:P3LY8.55973$pi1 DOT 4800597 AT news2 DOT calgary DOT shaw DOT ca...
>
> "Martin Str|mberg" <ams AT speedy DOT ludd DOT luth DOT se> wrote in message
> news:1026732896 DOT 487185 AT queeg DOT ludd DOT luth DOT se...
> > Tim AtLee <timatlee AT shaw DOT ca> wrote:
> > : I've been trying to get PDCurses to work with C++ for a little while
> now,
> > : with little success...   When it gets around to linking, I get:
> >
> > : Error: cpptest.o(.eh_frame+0x11):cpptest.cpp: undefined reference to
> > : '___gxx_personality_v0'
> >
> > : Seems to work allright if I use straight C code ..
> >
> > 1. Did you perhaps install a newer gcc over an older one without
> > removing the older one first?
> >
> > or
> >
> > 2. Are you sure you're linking with C++ library?
>
> As far as I know I am linking with the C++ library ..  when it goes
through
> the linking part, I see "gcc -L(blah blah). -lstdcxx"...
>
> I think you might have hit the nail on #1, since I see "gcc-2.952" and
> "gcc-3.1" in the djgpp directory...  so, is there an easy way of removing
> the old version?

Just for the record (in case anyone else runs into the same thing), this
seemed to be the problem.  I didn't really have the patients to try to
figure it out, so I just wiped djgpp and downloaded a new set of ZIPs from
my local mirror..  problem seems to be gone now :-)

Thanks for the suggestion though :-)

Tim


- Raw text -


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