* undefined reference to ___gxx_personality_v0
@ 2004-08-04 23:25 Weijun Zhu
2004-08-05 5:45 ` Falk Hueffner
0 siblings, 1 reply; 5+ messages in thread
From: Weijun Zhu @ 2004-08-04 23:25 UTC (permalink / raw)
To: gcc-help
Hello,
I have a library compiled by g++ version 3.2 and have no problem link
against it using
g++ 3.2. But when I was linking against it using g++ 2.96 or g++ 3.3.1,
I got the following
error:
undefined reference to ___gxx_personality_v0?
Do I have to use the same g++ version as the library to link against it?
Thanks,
Weijun.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: undefined reference to ___gxx_personality_v0
2004-08-04 23:25 undefined reference to ___gxx_personality_v0 Weijun Zhu
@ 2004-08-05 5:45 ` Falk Hueffner
2004-08-05 8:05 ` Weijun Zhu
0 siblings, 1 reply; 5+ messages in thread
From: Falk Hueffner @ 2004-08-05 5:45 UTC (permalink / raw)
To: Weijun Zhu; +Cc: gcc-help
Weijun Zhu <zhuw@ucla.edu> writes:
> I have a library compiled by g++ version 3.2 and have no problem link
> against it using
> g++ 3.2. But when I was linking against it using g++ 2.96 or g++
> 3.3.1, I got the following
> error:
> undefined reference to ___gxx_personality_v0?
>
> Do I have to use the same g++ version as the library to link against it?
Yes.
--
Falk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: undefined reference to ___gxx_personality_v0
2004-08-05 5:45 ` Falk Hueffner
@ 2004-08-05 8:05 ` Weijun Zhu
2004-08-05 12:17 ` Falk Hueffner
2004-08-05 17:12 ` Eljay Love-Jensen
0 siblings, 2 replies; 5+ messages in thread
From: Weijun Zhu @ 2004-08-05 8:05 UTC (permalink / raw)
To: Falk Hueffner; +Cc: gcc-help
Thanks! is there a way to compile the library
such that it could be used on different versions of gcc?
Weijun.
Falk Hueffner wrote:
>Weijun Zhu <zhuw@ucla.edu> writes:
>
>
>
>>I have a library compiled by g++ version 3.2 and have no problem link
>>against it using
>>g++ 3.2. But when I was linking against it using g++ 2.96 or g++
>>3.3.1, I got the following
>>error:
>>undefined reference to ___gxx_personality_v0?
>>
>>Do I have to use the same g++ version as the library to link against it?
>>
>>
>
>Yes.
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: undefined reference to ___gxx_personality_v0
2004-08-05 8:05 ` Weijun Zhu
@ 2004-08-05 12:17 ` Falk Hueffner
2004-08-05 17:12 ` Eljay Love-Jensen
1 sibling, 0 replies; 5+ messages in thread
From: Falk Hueffner @ 2004-08-05 12:17 UTC (permalink / raw)
To: Weijun Zhu; +Cc: gcc-help
Weijun Zhu <zhuw@ucla.edu> writes:
> Thanks! is there a way to compile the library such that it could be
> used on different versions of gcc?
No.
>>>I have a library compiled by g++ version 3.2 and have no problem link
>>>against it using
>>>g++ 3.2. But when I was linking against it using g++ 2.96 or g++
>>>3.3.1, I got the following
>>>error:
>>>undefined reference to ___gxx_personality_v0?
>>>
>>>Do I have to use the same g++ version as the library to link against it?
>>
>>Yes.
--
Falk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: undefined reference to ___gxx_personality_v0
2004-08-05 8:05 ` Weijun Zhu
2004-08-05 12:17 ` Falk Hueffner
@ 2004-08-05 17:12 ` Eljay Love-Jensen
1 sibling, 0 replies; 5+ messages in thread
From: Eljay Love-Jensen @ 2004-08-05 17:12 UTC (permalink / raw)
To: Weijun Zhu; +Cc: gcc-help
Hi Weijun,
>is there a way to compile the library such that it could be used on
different versions of gcc?
Yes: compile the library with that different version of gcc.
HTH,
--Eljay
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-08-05 12:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-04 23:25 undefined reference to ___gxx_personality_v0 Weijun Zhu
2004-08-05 5:45 ` Falk Hueffner
2004-08-05 8:05 ` Weijun Zhu
2004-08-05 12:17 ` Falk Hueffner
2004-08-05 17:12 ` Eljay Love-Jensen
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).