Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 15:59:46 +0200
From:      Graham Wheeler <gram@cequrux.com>
To:        freebsd-questions@freebsd.org
Subject:   g++ internal linker problem?
Message-ID:  <397D9D52.DF3F3DA5@cequrux.com>

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




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