DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23756>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23756

XMLPlatformUtils::isAnySlash() causing dynamic loading errors

           Summary: XMLPlatformUtils::isAnySlash() causing dynamic loading
                    errors
           Product: Xerces-C++
           Version: 2.3.0
          Platform: All
               URL: http://http://
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hey,

I've had a large number bug reports in Xerces-P for the 2.3.0 release related to
linking errors with isAnySlash(). For OS X the problems was eliminated by
removing the 'inline' directive from the .cpp file and recompiling. For Redhat
Linux this did not help, and Xerces-P was forced to remove the method from the
API to enable linking.

I'm at a loss to figure out why this one method should create problems on two
such different platforms. The linux user was using an old version of gcc (2.96),
so perhaps this is an issue?


From: Steve Mathias <[EMAIL PROTECTED]>
Subject: Re: Similar make test error
To: [EMAIL PROTECTED]
Date: Sat, 11 Oct 2003 09:35:18 -0600

>> Can't load
>> '/usr/local/src/perl/XML-Xerces-2.3.0-1/blib/arch/auto/XML/Xerces/Xerces.so'
>> for module XML::Xerces:
>> /usr/local/src/perl/XML-Xerces-2.3.0-1/blib/arch/auto/XML/Xerces/Xerces.so:
>> undefined symbol: isAnySlash__Q211xercesc_2_316XMLPlatformUtilsUs at
>> /usr/local/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206.  at
>> /usr/local/src/perl/XML-Xerces-2.3.0-1/blib/lib/XML/Xerces.pm line 7

>> 
>> I'm using xerces-c version 2_3_0 which I built myself with gcc
>> version 2.96 (I've tried a couple of the samples and they run fine)
>> and xerces-p version 2.3.0-1.

Jason> I don't have gcc-2.96 to test this on, but I don't think the gcc
Jason> version is the issue here.

Jason> I'm assuming that you've tried to run DOMCount or some other
Jason> Xerces-C application just to ensure the libxerces.so is working
Jason> fine?

Yes, all the xerces-c sample programs run fine.

Jason> If so then please grep the library symbols using the commands I
Jason> sent to Kai, and lets see what's happenging there.

Here's what I get:

# nm -C /usr/local/xerces-c-src_2_3_0/lib/libxerces-c.so | grep -i isanyslash 

# nm -C
# /usr/local/src/perl/XML-Xerces-2.3.0-1/blib/arch/auto/XML/Xerces/Xerces.so
# | grep -i isanyslash
0005de34 T _wrap_XMLPlatformUtils_isAnySlash
         U xercesc_2_3::XMLPlatformUtils::isAnySlash(unsigned short)

So, I guess the error message is correct in reporting that the symbol is
undefined.  I'm in a little over my head with all this compiler/linking
stuff though.  How can I fix this?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to