This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: recursion ok?
- From: danny <danny at 3rdplanetsoftware dot com>
- To: "Kayvan A. Sylvan" <kayvan at sylvan dot com>, gcc gnu <gcc-help at gcc dot gnu dot org>
- Date: Tue, 23 Jul 2002 18:12:06 -0700
- Subject: Re: recursion ok?
- References: <3D3DDF25.1B7FDEE9@3rdplanetsoftware.com> <20020723234749.GD15815@satyr.sylvan.com>
Hey Now Gcc people,
Below is the code I was talking about. It's about 2 pages.. U will c an area That
I put a bunch of comment stars around. This is the line of called calling the
recursion. When this line is commented out my program compiles and links fine.
When I comment it in, the linker errors out.
xxx.cpp(.eh_frame+0x11): undefined reference to '__gxx_personality_v0'
Thanks for looking at this.
:-) :-)
Danny
"Kayvan A. Sylvan" wrote:
> On Tue, Jul 23, 2002 at 03:56:38PM -0700, danny wrote:
> > Hey Now Gcc People,
> >
> > I'm writing a recursive function and i'm getting this error when
> > linking.
> >
> > xxx.cpp(.eh_frame+0x11): undefined reference to '__gxx_personality_v0'
> >
> > If I leave out the line of code that calls itself the function works and
> > links
> > fine.
> >
> > Any idea what's the matter? Is there some linking param I should know
> > about? I'm going to try and right the old factorial as a test to c if
> > that will link ok.
> >
> > Well this is the second time I e-mailed this. The first time I got no
> > response. I'm not sure weather my email got lost or if no one ever saw
> > this before.
> > :-) :-)
> >
>
> Never seen this before. Can you send an example?
>
> --
> Kayvan A. Sylvan | Proud husband of | Father to my kids:
> Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
> http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature