[xsd-users] RE: Problem during compilation of generated files

De, Pradipta pde at seic.com
Thu Oct 20 15:54:33 EDT 2005


Hi Boris,
Thanks a lot for your time. We downloaded the xsd version 1.5 from the
site and successfully able to generate the code for tree implementation
in Solaris.

But, unfortunately when we tried to compile those codes along with the
driver code, we again face some problem that I am not able to trace. The
error is as follows:

/home1/xxxx/pradipta/parser_1.4/tree_code/bin >make -f libtree.mak
echo xxxx_Online_Input ../src/xxxx_Online_Input.cxx xxxx_Online_Input.o
../src/xxxx_Online_Input.cxx
xxxx_Online_Input ../src/xxxx_Online_Input.cxx xxxx_Online_Input.o
../src/xxxx_Online_Input.cxx
CC -g -D_SHDEBUG_ -D_SVCDEBUG_ -c
-I/home1/xxxx/pradipta/parser_1.4/tree_code/include
-I/home1/xxxx/pradipta/parser_1.4/xsd-1.5.0-sparc-solaris/libxsd
-I/home1/xxxx/pradipta/parser_1.4/xerces-c-solaris_28-cc_62/include
-I/home1/xxxx/pradipta/parser_1.4/xerces-c-solaris_28-cc_62/include/xerc
esc ../src/xxxx_Online_Input.cxx
"/home1/xxxx/pradipta/parser_1.4/xsd-1.5.0-sparc-solaris/libxsd/xsd/cxx/
tree/elements.hxx", line 497: Error: xsd::cxx::tree::type::dom_info is
not accessible from static
xsd::cxx::tree::type::dom_info_factory::create<char>(const
xsd::cxx::xml::dom::element<char>&, xsd::cxx::tree::flags).
"/home1/xxxx/pradipta/parser_1.4/xsd-1.5.0-sparc-solaris/libxsd/xsd/cxx/
tree/elements.hxx", line 499: Error: xsd::cxx::tree::type::dom_info is
not accessible from static
xsd::cxx::tree::type::dom_info_factory::create<char>(const
xsd::cxx::xml::dom::element<char>&, xsd::cxx::tree::flags).
"/home1/xxxx/pradipta/parser_1.4/xsd-1.5.0-sparc-solaris/libxsd/xsd/cxx/
tree/elements.hxx", line 500: Error:
xsd::cxx::tree::type::dom_element_info is not accessible from static
xsd::cxx::tree::type::dom_info_factory::create<char>(const
xsd::cxx::xml::dom::element<char>&, xsd::cxx::tree::flags).
3 Error(s) detected.
*** Error code 3
make: Fatal error: Command failed for target `xxxx_Online_Input.o'

Previously, we are able to compile with the patch you sent earlier.

It will be great if you can help me out from that problem.

Thanks & Regards,
Pradipta De 
-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Wednesday, October 19, 2005 10:05 AM
To: De, Pradipta
Cc: xsd-users at codesynthesis.com
Subject: Re: Problem during compilation of generated files

Pradipta,

De, Pradipta <pde at seic.com> writes:

> That problem I managed to solve. See the attached file.
>
> Please tell me whether the patch is OK or not?

Yes, it's good.


> But now I am facing a different compilation error. See the error
below:

We are in the middle of releasing 1.5.0 which will support Sun C++ 5.7.
I suggest you wait for this release (should be out by tomorrow if
nothing
goes seriously wrong) and give it a try. There could still be problems
because you are using 5.6 but at least we will be one step closer and I
won't have to patch 1.4.0 and then port those changes over to 1.5.0.

hth,
-boris





More information about the xsd-users mailing list