xerces-p-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@openinformatics.com (Jason E. Stewart)
Subject Re: Building Xercesperl on Tru64 5.1a
Date Thu, 30 Oct 2003 12:22:46 GMT
Christian Orsatti <orsatti@istar.fr> writes:

> ar cr tmp.a Xerces.o
> : tmp.a

Ah, so it makes a temp archive from Xerces.o, how strange.

> LD_RUN_PATH="/usr/shlib:/usr/packages/lib" g++ -o
> blib/arch/auto/XML/Xerces/Xerces.so  -shared  -expect_unresolved -msym
> -std -s  -L/usr/local/lib -all tmp.a  blib/arch/auto/Handler/Handler.a
> -lpthread -L/usr/packages/lib -lxerces-c
> chmod 755 blib/arch/auto/XML/Xerces/Xerces.so
> cp Xerces.bs blib/arch/auto/XML/Xerces/Xerces.bs
> chmod 644 blib/arch/auto/XML/Xerces/Xerces.bs
> Xerces.so still empty.

That is very odd.

> But I manage create a correct Xerces.so lib.  to make it so, I take
> all the tmp.a and Handler.a I de-assemble then (ar x) to get all .o
> file Then I run ld by hand will the following command: ld -o
> Xerces.so *.o -shared -lpthread
> /usr/packages/lib/libxerces-c.so.23.0 I had some stderr output but
> it created a Xerces.so that seems to work (at least with my code)

Good, thanks for posting your success. I wish I could find a way to
make it work out-of-the box, but I don't have access to any Tru64 machines.

> By the way, I need post some questions about using Xerces.pm. Is
> this list the right place or is there any other list ?

This is the correct list, ask away!


To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org

View raw message