I've had exactly the same problems described by Steve and  Juan.

Actually there are two distinct problems for me:
- the first error message was "Error: 0-bit reloc in dll"
- the unresolved symbol errors Steve described

   I resolved the first problem by updating to a new version  of
the binutils because of that post:

   http://article.gmane.org/gmane.comp.gnu.mingw.user/7425

   The second problem was resolved by  looking  into  the  final
command and finding 'gcc' as the  compiler  which  can't  really
work for the C++ code in Xerces-C.  'gcc' is hardcoded into  the
perl script 'perlld' in '/bin'.  So the quick  fix  is  to  just
change the following:

   --- perlld.old  2004-03-19 20:44:04.135435200 +0000
   +++ perlld      2004-03-19 20:43:36.906281600 +0000
   @@ -4,7 +4,7 @@
    #

    # these are pretty mandatory
   -my $CC = 'gcc';
   +my $CC = 'g++';
    my $EXPORT_ALL = 1;

    # if some of extensions are undefined,

After that, Xerces::XML compiled.

   Some of the tests failed, but the actual module works as  far
as I've tested it.

Good luck,

Reinhold

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

Reply via email to