Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 1999 10:48:46 -0800
From:      Dan Yergeau <yergeau@gloworm.Stanford.EDU>
To:        Eugeny Kuzakov <kev@lab321.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gcc28&egcs 1.1.1 from ports troubles 
Message-ID:  <199902181848.KAA05755@gloworm.Stanford.EDU>
In-Reply-To: Your message of "Thu, 18 Feb 1999 16:47:24 %2B0600." <Pine.BSF.4.02.9902181641300.8615-100000@lab321.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902181848.KAA05755>