public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Judy <Judyk@INNERLOGIX.com>
To: "'gcc-help@gcc.gnu.org'" <gcc-help@gcc.gnu.org>
Subject: Undef symbol: __gxx_personality_v0
Date: Fri, 13 Sep 2002 07:32:00 -0000	[thread overview]
Message-ID: <21120FFFB651D311A23F0048543BB1071FBB5F@storm.innerlogix.com> (raw)

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

             reply	other threads:[~2002-09-13 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-13  7:32 Judy [this message]
2002-09-13  8:12 ` Claudio Bley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21120FFFB651D311A23F0048543BB1071FBB5F@storm.innerlogix.com \
    --to=judyk@innerlogix.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).