From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16661 invoked by alias); 24 Dec 2005 19:40:02 -0000 Received: (qmail 16595 invoked by uid 22791); 24 Dec 2005 19:40:01 -0000 X-Spam-Check-By: sourceware.org Received: from outbound-mail.lax.untd.com (HELO outbound-mail.lax.untd.com) (64.136.28.164) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 24 Dec 2005 19:39:59 +0000 Received: from webmail27.lax.untd.com (webmail27.lax.untd.com [10.131.27.167]) by smtpout02.lax.untd.com with SMTP id AABB45KAMAGYRVZ2 for (sender ); Sat, 24 Dec 2005 11:39:55 -0800 (PST) Received: (from jjwdeck@juno.com) by webmail27.lax.untd.com (jqueuemail) id LCZTKFM4; Sat, 24 Dec 2005 11:39:05 PST Received: from [216.126.130.46] by webmail27.lax.untd.com with HTTP: Sat, 24 Dec 2005 19:38:26 GMT Mime-Version: 1.0 From: "jjwdeck@juno.com" X-UOL-SENDER: jjwdeck@juno.com Date: Sat, 24 Dec 2005 19:40:00 -0000 To: gcc-help@gcc.gnu.org Subject: Using gcc Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain Message-Id: <20051224.113905.26478.226609@webmail27.lax.untd.com> X-ContentStamp: 6:3:620589396 X-UNTD-OriginStamp: R181uPBMqFMsynUYXHfDok6N04Jtv+3+6ZO6+qWHOj43yYZ8dWaumQ== 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 X-SW-Source: 2005-12/txt/msg00157.txt.bz2 It has been a long time since I compiled anything on Linux. When I attemp= ted to compile the following program with gcc (ver 3.3.4-13 on a Debian=92s= Sarge). It resulted in the error below.=20=20 Program: // test compile #include int main(void) { printf("Hello World\n") ; }=20 Compiler/Linker error: /tmp/cc0Ke0PP.o(.eh_frame+0x11): undefined reference to `__gxx_personality_= v0' collect2: ld returned 1 exit status Checking the documentation for a version of gcc close to this one gave me = now clue as to how to resolve the linker error. I ended up searching /usr= /lib for __gxx_personality_v0 to find libstdc++.a which so happened to defi= ne the reference. Where do I find documentation that will tell me how to g= et started doing a compile in this situation? Also what is this 'personali= ty' type of name the linker needs?=20=20 Sincerely, jjwdeck ___________________________________________________________________ Try Juno Platinum for Free! Then, only $9.95/month! Unlimited Internet Access with 250MB of Email Storage. Visit http://www.juno.com/value to sign up today!