[xsd-users] Compilation Error of Generated Files (FpML)
Boris Kolpackov
boris at codesynthesis.com
Mon Apr 11 11:49:19 EDT 2011
Hi Cuneyt,
Cuneyt.Karadag at akbank.com <Cuneyt.Karadag at akbank.com> writes:
> /opt/SUNWspro/bin/CC -D_RWCONFIG=12d -features=no%localfor
> -features=no%conststrings -library=no%rwtools7 -erroff=nonewline
> -I. -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include
> -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/suthreads
> -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/sutools
> -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/ie
> -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include
> -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/suthreads
> -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/sutools
> -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/ie
> -I/opt/SUNWspro/include/CC
> -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xml
> -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/xml
> -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include
> -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include/xercesc
> -g -DSU_FEAT005 -DSU_TTRS -DSU_MKV -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG
> -DRW_NO_OVERLOAD_SCHAR -DSUMMITBASE=\"V51\" -c -KPIC fpml-main-4-7.cc
>
> ".../xsd/cxx/xml/dom/auto-ptr.hxx", line 4: Error: "," expected instead
> of "namespace".
These errors are strange. If you look at xsd/cxx/xml/dom/auto-ptr.hxx, line
4, there is mentioning of namespace on that line.
Here are some of the thing that I suggest that you try:
1. First make sure you really are using Sun CC 12 by running this command:
/opt/SUNWspro/bin/CC -V
2. Unpack the xsd package with gtar (GNU tar) instead of Sun tar to make
sure nothing is corrupted.
3. Try to build an example (e.g., 'hello') in the XSD distribution:
gmake CXX=/opt/SUNWspro/bin/CC
4. If the example builds fine, then you may want to try to remove
some of the options from the above command line while compiling
fpml-main-4-7.cc. In particular the -features ones.
Boris
More information about the xsd-users
mailing list