Undefined reference to `__gxx_personality_v0'

Hey folks, I couldn’t find this mentioned in the
mailing list archive (or maybe I didn’t look hard
enough) but I just started messing with Linux and SDL
and I’m pretty sure I have everything set up correctly
and I get this error when I try to compile a trivial
program

[norm at localhost test]$ make test
gcc test.cpp -o test sdl-config --libs --cflags
/tmp/ccqt0LQQ.o(.eh_frame+0x11): undefined reference
to `__gxx_personality_v0’
collect2: ld returned 1 exit status
make: *** [test] Error 1

I am using a redhat 8 install (yeah I know :slight_smile: ) and
have upgraded to the latest sdl and sdl-devel rpm’s
off the libsdl download page. Any ideas?

norm__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Try using gpp/g++ instead of gcc.> ----- Original Message -----

From: happysacs@yahoo.com (Norman Chihwaro)
To:
Sent: Thursday, December 12, 2002 9:53 PM
Subject: [SDL] undefined reference to `__gxx_personality_v0’

Hey folks, I couldn’t find this mentioned in the
mailing list archive (or maybe I didn’t look hard
enough) but I just started messing with Linux and SDL
and I’m pretty sure I have everything set up correctly
and I get this error when I try to compile a trivial
program

[norm at localhost test]$ make test
gcc test.cpp -o test sdl-config --libs --cflags
/tmp/ccqt0LQQ.o(.eh_frame+0x11): undefined reference
to `__gxx_personality_v0’
collect2: ld returned 1 exit status
make: *** [test] Error 1

I am using a redhat 8 install (yeah I know :slight_smile: ) and
have upgraded to the latest sdl and sdl-devel rpm’s
off the libsdl download page. Any ideas?

norm


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

It’s not a good idea to call a program “test.” Most *nix systems have a program
called test in /usr/bin.

It’s also a very bad idea to call a program “ed.”

Peace,
=Pete=

It’s not a good idea to call a program “test.” Most *nix systems have a program
called test in /usr/bin.

May I suggest using “t” instead of “test”? The name has mnemonic value
as an abbreviation for “test” and has the HUGE advantage that you can
type it in 1/4th the time it takes to type “test”. :slight_smile:

Bob Pendleton.

It’s also a very bad idea to call a program “ed.”

yah, that will hurt.On Thu, 2002-12-12 at 12:55, Pete Bessman wrote:

Peace,
=Pete=


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

±-----------------------------------+