[xsd-users] Question about xsd
Gregorio Arvilla
Gregorio.Arvilla at epvgroup.com
Fri Jan 26 12:30:18 EST 2007
Hello Boris,
It is finally working. Here is an example:
[/users/greg/xsd_codeSynthesis/xsd-2.3.1-hppa-hpux/examples/cxx/tree/hello]
[bilbo][greg] ./driver hello.xml
Hello, sun!
Hello, moon!
Hello, world!
I created a makefile for the HP-UX version of make to build this example
and a change I had to make was to add -AA and -lstd_v2 to the linker, otherwise
it would give me a lot of unresolved symbols.
Thank you very much for all your help!!!!
Gregorio
-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: Thursday, January 25, 2007 1:22 AM
To: Gregorio Arvilla
Cc: xsd-users
Subject: Re: [xsd-users] Question about xsd
Hi Gregorio,
Gregorio Arvilla <Gregorio.Arvilla at epvgroup.com> writes:
> The aCC version that I'm using is: aCC: HP ANSI C++ B3910B A.03.37
Thanks for letting me know.
> [/users/greg/xsd_codeSynthesis/xsd-2.3.1-hppa-hpux/examples/cxx/tree/hello]
> [bilbo][greg] ./a.out hello.xml
> Memory fault(coredump)
>
>
> I used the wdb HP-UX debugger and did a print of the stack:
>
> 0 0x77332884 in pthread_mutex_destroy+0x18 () from /usr/lib/libpthread.1
I think this is the same problem as discussed in this message:
http://www.codesynthesis.com/pipermail/xsd-users/2006-October/000583.html
In short, you will need to recompile and relink hello.cxx and driver.cxx
with the -mt option. Alternatively, you can rebuild Xerces-C++ with
threading disabled ('-r none' option to runConfigure).
hth,
-boris
More information about the xsd-users
mailing list