From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5705 invoked by alias); 13 Sep 2002 14:32:03 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 5579 invoked from network); 13 Sep 2002 14:32:00 -0000 Received: from unknown (HELO storm.innerlogix.com) (66.139.229.33) by sources.redhat.com with SMTP; 13 Sep 2002 14:32:00 -0000 Received: by storm.innerlogix.com with Internet Mail Service (5.5.2448.0) id ; Fri, 13 Sep 2002 09:41:52 -0500 Message-ID: <21120FFFB651D311A23F0048543BB1071FBB5F@storm.innerlogix.com> From: Judy To: "'gcc-help@gcc.gnu.org'" Subject: Undef symbol: __gxx_personality_v0 Date: Fri, 13 Sep 2002 07:32:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2002-09/txt/msg00102.txt.bz2 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 #include #include 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