Bud Rogers <budr(a)netride.net> wrote:
I'm trying to build the DEV_QT branch of 21.5 from cvs. System
is a
fairly up to date Knoppix, which is more or less Debian testing with a
smattering of unstable.
It compiles with a ton of warnings but no errors, but linking fails with
the following complaint.
/usr/local/src/xemacs-21.5/src/moc_qt-xemacs.cpp:359: undefined
reference to `__dso_handle'
Weirdly enough, the GCJ FAQ answers this question (see
http://gcc.gnu.org/java/faq.html).
------------------------------------------------------------------------
4.7 I'm getting 'undefined symbol: __dso_handle'
Some versions of the GNU linker have broken support for the '.hidden'
directive, which results in problems with shared libraries built with recent versions of
gcc.
There are three solutions:
* downgrade to binutils that don't support .hidden at all,
* upgrade to a recent binutils, or
* undef the HAVE_GAS_HIDDEN definition in gcc's auto-host.h (and rebuild
gcc).
------------------------------------------------------------------------
It sounds like Knoppix has a new gcc with an old binutils.
--
Jerry James
http://www.ittc.ku.edu/~james/