www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/15/22:30:45

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>
Subject: Re: Linking problem?
Lines: 35
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: <P3LY8.55973$pi1.4800597@news2.calgary.shaw.ca>
Date: Tue, 16 Jul 2002 01:57:03 GMT
NNTP-Posting-Host: 24.70.95.207
X-Complaints-To: abuse AT shaw DOT ca
X-Trace: news2.calgary.shaw.ca 1026784623 24.70.95.207 (Mon, 15 Jul 2002 19:57:03 MDT)
NNTP-Posting-Date: Mon, 15 Jul 2002 19:57:03 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

"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?

Thanks,

Tim

Thanks



- Raw text -


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