This is the mail archive of the rhug-rhats@sources.redhat.com mailing list for the RHUG project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rhug and gcc 3.3


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/ ]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]