This is the mail archive of the
rhug-rhats@sources.redhat.com
mailing list for the RHUG project.
Re: rhug and gcc 3.3
- From: Gary Benson <gbenson at redhat dot com>
- To: rhug-rhats at sources dot redhat dot com
- Date: Thu, 15 May 2003 09:56:30 +0100
- Subject: Re: rhug and gcc 3.3
- References: <3EC32110.9000602@sympatico.ca>
Stefan Seefeld wrote:
> jakarta-tomcat: link error
> ==========================
> lib-org-apache-xerces.so: undefined reference to
> `org::apache::xml::serialize::DOMWriterImpl::class$'
>
> jakarta-log4j: link error
> =========================
> same...
I don't know about the others, but these two are because some of the
xerces libraries are not linked properly (they can't be, as there is a
circular dependency). The workaround is to add:
-l-org-apache-xerces -l-org-apache-xml-serialize
to the LDADD line for the binary (see jakarta-ant and jakarta-tomcat-4
for example). For the record, xalan is like this too, so packages
linking to xalan need:
-l-org-apache-xalan -l-org-apache-xml -l-org-apache-xpath
Later,
Gary
[ gbenson@redhat.com ][ GnuPG 85A8F78B ][ http://inauspicious.org/ ]