Re: undefined reference to `__gxx_personality_sj0'

From: anonymous (iunknown2k4_at_yahoo.co.in)
Date: 08/25/04


Date: 24 Aug 2004 23:19:13 -0700


"code_wrong" <tac@tac.ouch.co.uk> wrote in message news:<1093365126.31003.0@nnrp-t71-02.news.clara.net>...
> "Sunil Kumar" <sunilkk@gmail.com> wrote in message
> news:5f8cbd40.0408240342.1c841af8@posting.google.com...
> > Hi,
> > I'm seeing this problem when i try to compile my code.
> > I did a lot of googling before posting here.
> >
> > I read that my Library Path may not be set right. but, I get
> > this error even after setting my library path correctly.
> >
> > Just to confirm, what should the Library Path include to
> > solve this error.
> >
> > Is there any other area that i should be looking into to
> > solve this.
> >
>
> I use dev-c++ with gcc on windows xp
> and when I try to compile a c soure
> where the filename has a capitalised
> extension (eg filename.C)
> I get a similar undefined reference
> __gxx_personality_??
>
> When I change the extension to lowercase
> all is well ...strange but true ...

Yes, this happened to me also, on DJGPP. I was getting message like

e:/djgpp/tmp/ccwOnjlv.o(.eh_frame+0x11):PTR.C: undefined reference to
`___gxx_personality_v0'
collect2: ld returned 1 exit status

The problem is the name of the program: PTR.C (uppercase extension)



Relevant Pages

  • Re: undefined reference to `__gxx_personality_sj0
    ... > I'm seeing this problem when i try to compile my code. ... > I did a lot of googling before posting here. ... > this error even after setting my library path correctly. ... When I change the extension to lowercase ...
    (comp.lang.c)
  • undefined reference to `__gxx_personality_sj0
    ... I'm seeing this problem when i try to compile my code. ... I did a lot of googling before posting here. ... I read that my Library Path may not be set right. ...
    (comp.lang.c)
  • OpenGL extensions in Linux (Its not hard?)
    ... glRasterPos2d to glWindowPos2d. ... I didn't want to write a bunch of extension checking and loading code ... but at least my compile was now ... Windows OpenGL library, except that the function pointers returned are ...
    (comp.graphics.api.opengl)
  • Porting *nix binary extensions to Win32
    ... example extension I just wrote under OS X and compile it on Windows. ... Is it possible to create a Win32 dll that can be used by ANY Tcl/Tk ... Can the ActiveState distribution use a mingw-compiled extension? ...
    (comp.lang.tcl)
  • [ANN:] RealThinClient Core 1.3 > write ISAPI Extensions
    ... Now you can write one RTC Server application and compile it as ISAPI DLL ... Extension, which can be deployed with any ISAPI-capable Web Server (for ... you can now compile your existing RTC applications as ISAPI ...
    (borland.public.delphi.thirdpartytools.general)