From owner-freebsd-questions Thu Feb 18 10:50:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gloworm.Stanford.EDU (gloworm.Stanford.EDU [171.64.96.52]) by hub.freebsd.org (Postfix) with ESMTP id 92CA5113E2 for ; Thu, 18 Feb 1999 10:50:44 -0800 (PST) (envelope-from yergeau@gloworm.Stanford.EDU) Received: from localhost (yergeau@localhost) by gloworm.Stanford.EDU (8.8.8/8.8.8) with ESMTP id KAA05755; Thu, 18 Feb 1999 10:48:47 -0800 (PST) Message-Id: <199902181848.KAA05755@gloworm.Stanford.EDU> To: Eugeny Kuzakov Subject: Re: gcc28&egcs 1.1.1 from ports troubles Reply-To: yergeau@gloworm.Stanford.EDU Cc: freebsd-questions@freebsd.org In-reply-to: Your message of "Thu, 18 Feb 1999 16:47:24 +0600." Date: Thu, 18 Feb 1999 10:48:46 -0800 From: Dan Yergeau Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >bash-2.02$ /usr/local/bin/g++ -o c c.C >/usr/lib/libstdc++.so: undefined reference to `__unwind_function' ^^^^^^^^ It looks like you are trying to link a .o compiled with 2.8.1 (or egcs) with the libraries from 2.7.x. That won't work because of changes in the exception mechanism between 2.7.x and 2.8.x/egcs. With gcc-2.8.1, did you install the C++ runtime library (libstdc++-2.8.1, distributed separately)? How did you configure and build the compilers? Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message