* gxx_personality_v0 undefined - 2.96 Libraries 3.2 GCC
@ 2003-01-30 20:21 J. Scott Edwards
2003-01-31 4:12 ` Joe Buck
0 siblings, 1 reply; 3+ messages in thread
From: J. Scott Edwards @ 2003-01-30 20:21 UTC (permalink / raw)
To: gcc
I just switched this machine from Debian Woody to SuSE 8.1 GNU/Linux but
now when I try to build the software I'm working on I get this:
undefined reference to `__gxx_personality_v0'
in the .o files that come from .cpp files (the .c files don't seem to
have this problem).
I searched around and the only references I could find to
gxx_personality_v0 being undefined talk about using a 1.4.x libtool. I
checked and indeed this SuSE version has libtool 1.4.2.
I don't understand how all this fits together. I'm not even sure if I can
make this work. SuSE has GCC 3.2 but the (.a) libraries that I have were
compiled with 2.96. I don't have the sources to the libraries and I'm not
sure if I can get newer versions right now. I had hoped that the 2.96
libraries would work with 3.2 because they are not C++.
Is it possible to make this work or do I need to go back to an older
version of GNU/Linux that has an older compiler?
Thanks
-Scott
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gxx_personality_v0 undefined - 2.96 Libraries 3.2 GCC
2003-01-30 20:21 gxx_personality_v0 undefined - 2.96 Libraries 3.2 GCC J. Scott Edwards
@ 2003-01-31 4:12 ` Joe Buck
2003-01-31 19:22 ` J. Scott Edwards
0 siblings, 1 reply; 3+ messages in thread
From: Joe Buck @ 2003-01-31 4:12 UTC (permalink / raw)
To: J. Scott Edwards; +Cc: gcc
On Thu, Jan 30, 2003 at 11:40:30AM -0700, J. Scott Edwards wrote:
> I just switched this machine from Debian Woody to SuSE 8.1 GNU/Linux but
> now when I try to build the software I'm working on I get this:
>
> undefined reference to `__gxx_personality_v0'
You're linking with gcc, so you're not pulling in needed C++ runtime
support. Link with g++ instead, or explicitly specify -lstdc++ or
-lsupc++ .
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gxx_personality_v0 undefined - 2.96 Libraries 3.2 GCC
2003-01-31 4:12 ` Joe Buck
@ 2003-01-31 19:22 ` J. Scott Edwards
0 siblings, 0 replies; 3+ messages in thread
From: J. Scott Edwards @ 2003-01-31 19:22 UTC (permalink / raw)
To: Joe Buck; +Cc: gcc
Thanks! That was the problem.
On Thu, 30 Jan 2003, Joe Buck wrote:
> On Thu, Jan 30, 2003 at 11:40:30AM -0700, J. Scott Edwards wrote:
> > I just switched this machine from Debian Woody to SuSE 8.1 GNU/Linux but
> > now when I try to build the software I'm working on I get this:
> >
> > undefined reference to `__gxx_personality_v0'
>
> You're linking with gcc, so you're not pulling in needed C++ runtime
> support. Link with g++ instead, or explicitly specify -lstdc++ or
> -lsupc++ .
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-31 18:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-30 20:21 gxx_personality_v0 undefined - 2.96 Libraries 3.2 GCC J. Scott Edwards
2003-01-31 4:12 ` Joe Buck
2003-01-31 19:22 ` J. Scott Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).