> Arrrrgggghhhh....
>
> I may have to move all these files to the top level dir until I figure
> out how to convince MakeMaker to do it right.
No problem, I'll just move the files by hand until you work out the best
solution.
> Try adding
> /afs/ssd/projects/tools/perl/xerces-c1_5_0-AIX43/lib/libxerces-c1_5.a
>
> directly to the command line, instead of the '-L/afs/etc/etc/
> -lxerces' combo.
Tried that, it had no effect. :(
> You're getting undefined symbol errors, so it's not really including
> the symbols you need from the library. I may have already asked this,
> but can you run any of the sample programs that came with Xerces-C,
> like DOMCount, etc? One solution I have found to this sort of problem
> is the need to rebuild Xerces-C from source using your local compiler
> combination. Some times the compilers are slightly different and this
> causes problems.
I can run the examples from the binary distribution of Xerces-C, but I see
your point, so I compiled Xerces-C from the source, confirming I'm using the
correct compiler and linker. The result was, disappointingly, absolutely
identical.
Here's a thing though. Just to reiterate, I get a pile of undefined symbols
like this:
===
ld: 0711-317 ERROR: Undefined symbol: .cloneNode__8DOM_NodeCFc
===
If I dump the symbols in the library I find this:
===
>dump -t libxerces-c1_5.a | grep .cloneNode__8DOM_NodeC
[8307] m 0x00115720 1 1 0x02 0x0020
.cloneNode__8DOM_NodeCFi
[8389] m 0x0002f38c 2 1 0x02 0x0000
cloneNode__8DOM_NodeCFi
===
Note the last two characters - the Perl code wants Fc, while the library is
providing Fi. I'm a bit out of my depth on this, but I think that means the
Perl code is asking for a function which takes a char, but the library only
has one which takes an integer. I look in the source and see that that
particular method takes a 'bool' which my compiler doesn't support. A straw
poll of the other undefined symbols reveals the same thing: it seems to be
the functions which pass bools around which aren't being found in the
library. I suspect, therefore, a mismatch between the Xerces-C way of
defining bools and the Perl code. Well, maybe. I'm far from certain about
what I'm talking about here!
> Thanks for your determination. I hope we get this working for you
> soon,
You bet! Just a shame you're 6 hours behind me; I'm going home for the
weekend just as you're about to get started!
Derek
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]