[ 
https://issues.apache.org/jira/browse/XALANC-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steven J. Hathaway resolved XALANC-643.
---------------------------------------

    Resolution: Fixed

Patch committed to trunk. Verified by several parties.
                
> xalanc fails to compile with -Wl,--as-needed
> --------------------------------------------
>
>                 Key: XALANC-643
>                 URL: https://issues.apache.org/jira/browse/XALANC-643
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.10
>         Environment: Gentoo Linux
>            Reporter: Petteri Räty
>             Fix For: CurrentCVS
>
>         Attachments: as-needed.patch
>
>
> For background on as-needed see:
> http://www.gentoo.org/proj/en/qa/asneeded.xml
> Basically the linking order in Makefiles is wrong and results in unknown 
> symbols:
> ../../../../obj/MsgCreator.o:(.data.rel.ro._ZTVN11xercesc_2_713XMLAttDefListE[vtable
>  for xercesc_2_7::XMLAttDefList]+0x18): undefined reference to 
> `xercesc_2_7::XMLAttDefList::getProtoType() const'
> ../../../../obj/MsgCreator.o:(.data.rel.ro._ZTIN11xercesc_2_713DTDEntityDeclE[typeinfo
>  for xercesc_2_7::DTDEntityDecl]+0x8): undefined reference to `typeinfo for 
> xercesc_2_7::XMLEntityDecl'
> ../../../../obj/MsgCreator.o:(.data.DW.ref._ZTIN11xercesc_2_712XMLExceptionE[DW.ref._ZTIN11xercesc_2_712XMLExceptionE]+0x0):
>  undefined reference to `typeinfo for xercesc_2_7::XMLException'
> ../../../../obj/SAX2Handler.o: In function `SAX2Handler::setLocale(char 
> const*)':
> SAX2Handler.cpp:(.text+0xa6): undefined reference to 
> `xercesc_2_7::XMLString::release(unsigned short**)'
> SAX2Handler.cpp:(.text+0xb2): undefined reference to 
> `xercesc_2_7::XMLString::transcode(char const*)'
> ../../../../obj/SAX2Handler.o: In function 
> `SAX2Handler::printToIndexFile(char const**)':
> SAX2Handler.cpp:(.text+0xee): undefined reference to 
> `xercesc_2_7::XMLString::stringLen(char const*)'
> ../../../../obj/SAX2Handler.o: In function 
> `SAX2Handler::startElement(unsigned short const*, unsigned short const*, 
> unsigned short const*, xercesc_2_7::Attributes const&)':
> SAX2Handler.cpp:(.text+0x1bd): undefined reference to 
> `xercesc_2_7::XMLString::compareString(unsigned short const*, unsigned short 
> const*)'
> SAX2Handler.cpp:(.text+0x22d): undefined reference to 
> `xercesc_2_7::XMLString::compareString(unsigned short const*, unsigned short 
> const*)'
> SAX2Handler.cpp:(.text+0x2a8): undefined reference to 
> `xercesc_2_7::XMLString::stringLen(char const*)'
> ../../../../obj/SAX2Handler.o: In function 
> `SAX2Handler::fatalError(xercesc_2_7::SAXParseException const&)':
> SAX2Handler.cpp:(.text+0x374): undefined reference to 
> `xercesc_2_7::XMLString::transcode(unsigned short const*)'
> SAX2Handler.cpp:(.text+0x380): undefined reference to 
> `xercesc_2_7::SAXParseException::getColumnNumber() const'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to