public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Undef symbol: __gxx_personality_v0
@ 2002-09-13  7:32 Judy
  2002-09-13  8:12 ` Claudio Bley
  0 siblings, 1 reply; 2+ messages in thread
From: Judy @ 2002-09-13  7:32 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Dear GNU staff,

I am trying to run an extremely simple program on Sparc Solaris 2.6, using :
GNU CPP version 3.1 (cpplib) (sparc ELF)
GNU C++ version 3.1 (sparc-sun-solaris2.6)
                compiled by GNU C version 3.1.


#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>

main()
{
   int i;
   int sum = 0;

   pid_t rtn = fork();

   for( i = 1; i <= 5; i++ )
   {
      printf( "i = %d\n", i );
      sum += i;
   }
   printf( "sum = %d\n", sum );
}

When I compile and link with verbose :  gcc -v testfork.cpp -o testfork

I get an undefined symbol   __gxx_personality_v0, referenced in a variety of
files each time:
     /var/tmp//ccY2uzqa.o 
     /var/tmp//ccm6rAsS.o
     /var/tmp//ccq09F7S.o
     /var/tmp//ccXCBX4c.s 

Please, can you tell me what I'm doing wrong?
 
Thank you,
Judy



Judy Komorita
InnerLogix, Inc.
Houston, TX   77082

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-13 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-13  7:32 Undef symbol: __gxx_personality_v0 Judy
2002-09-13  8:12 ` Claudio Bley

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).