From owner-freebsd-questions Tue Jul 25 6:57: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from citadel.cequrux.com (citadel.cequrux.com [192.96.22.18]) by hub.freebsd.org (Postfix) with ESMTP id 2022937B5AB for ; Tue, 25 Jul 2000 06:56:59 -0700 (PDT) (envelope-from gram@cequrux.com) Received: (from nobody@localhost) by citadel.cequrux.com (8.8.8/8.6.9) id PAA23347 for ; Tue, 25 Jul 2000 15:56:51 +0200 (SAST) Received: by citadel.cequrux.com via recvmail id 23259; Tue Jul 25 15:56:03 2000 Message-ID: <397D9D52.DF3F3DA5@cequrux.com> Date: Tue, 25 Jul 2000 15:59:46 +0200 From: Graham Wheeler Organization: Cequrux Technologies X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: g++ internal linker problem? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all I have a C++ program that used to compile and run fine on 2.2.8. It doesn't use any C++ standard library features, nor does it use templates or exceptions - other than classes and inheritance, it is very straightforward. No system libraries are explicitly specified on the command line when linking. I recently changed the system on which it was being used to 3.4, and now when it gets to linking I get: /usr/lib/libstdc++.so.2: undefined reference to `__unwind_function' /usr/lib/libstdc++.so.2: undefined reference to `__find_first_exception_table_match' /usr/lib/libstdc++.so.2: undefined reference to `__register_exceptions' Does anyone have any idea what could be causing this and how I can get around it? TIA gram -- Dr Graham Wheeler E-mail: gram@cequrux.com Director, Research and Development WWW: http://www.cequrux.com CEQURUX Technologies Phone: +27(21)423-6065 Firewalls/VPN Specialists Fax: +27(21)424-3656 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message