From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31347 invoked by alias); 13 Sep 2002 15:12:02 -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 31316 invoked from network); 13 Sep 2002 15:12:00 -0000 Received: from unknown (HELO wh2-19.st.uni-magdeburg.de) (141.44.162.19) by sources.redhat.com with SMTP; 13 Sep 2002 15:12:00 -0000 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 69DA590F60; Fri, 13 Sep 2002 17:11:14 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15746.15.876870.601051@wh2-19.st.uni-magdeburg.de> Date: Fri, 13 Sep 2002 08:12:00 -0000 From: "Claudio Bley" To: "gcc-help@gcc.gnu.org" Subject: Re: Undef symbol: __gxx_personality_v0 In-Reply-To: <21120FFFB651D311A23F0048543BB1071FBB5F@storm.innerlogix.com> References: <21120FFFB651D311A23F0048543BB1071FBB5F@storm.innerlogix.com> X-SW-Source: 2002-09/txt/msg00103.txt.bz2 >>>>> "Judy" == Judy writes: Judy> When I compile and link with verbose : gcc -v testfork.cpp Judy> -o testfork Judy> I get an undefined symbol __gxx_personality_v0, referenced Judy> in a variety of files each time: /var/tmp//ccY2uzqa.o Judy> /var/tmp//ccm6rAsS.o /var/tmp//ccq09F7S.o Judy> /var/tmp//ccXCBX4c.s Judy> Please, can you tell me what I'm doing wrong? David Edelson already answered this question on this mailing list. Have a look here: http://gcc.gnu.org/ml/gcc-help/2002-07/msg00186.html. You might want to search google or the archive at first next time. Why are you using the cpp extension for your C program? GCC recognizes it as a C++ source file. If you want to compile a C++ program just use the g++ compiler driver. -- Claudio Bley _ ASCII ribbon campaign ( ) ICQ# 83197241 - against HTML email X http://www.cs.uni-magdeburg.de/~bley/ & vCards / \