This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recursion ok?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]