[xsd-users] xsd compilation problem

Tomasz Welman tomasz.welman at pl.ibm.com
Wed Sep 8 09:35:30 EDT 2010


Hi all,

I have a problem compiling xsd, please have a look:

> gmake
using i386 
using generic 
m4 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.cxx.m4
m4 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx.m4
m4 /sith/twelman/xsd/xsd-3.3.0+dep/libcult/cult/cli/mapper.hxx.m4    
c++ /sith/twelman/xsd/xsd-3.3.0+dep/xsd/xsd/xsd.cxx  
In file included from 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph.hxx:20,
                 from 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/transformations/enum-synthesis.cxx:8,
                 from /sith/twelman/xsd/xsd-3.3.0+dep/xsd/xsd/xsd.cxx:21:  
 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:59: 
error: expected identifier before 'short'
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:59: 
error: expected unqualified-id before ':' token
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:85: 
error: expected identifier before 'int' 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:85: 
error: expected unqualified-id before ':' token
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:111: 
error: expected identifier before 'long' 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:111: 
error: expected unqualified-id before ':' token
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:215: 
error: expected identifier before 'float' 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:215: 
error: expected unqualified-id before ':' token
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:228: 
error: expected identifier before 'double' 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:228: 
error: expected unqualified-id before ':' token
In file included from 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/traversal.hxx:19, 
 
                 from 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/transformations/enum-synthesis.cxx:9, 
 
                 from /sith/twelman/xsd/xsd-3.3.0+dep/xsd/xsd/xsd.cxx:21:  
 
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/traversal/fundamental.hxx:25: 
error: 'Byte' is not a member of 'XSDFrontend::SemanticGraph::Fundamental'
/sith/twelman/xsd/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/traversal/fundamental.hxx:25: 
error: 'Byte' is not a member of 'XSDFrontend::SemanticGraph::Fundamental'


Anyone have any idea?
Except of course the one that there is an error in fundamental.hxx:59. You 
cannot simply create a class that is called as an already existing type 
(short in this case).
Either I didn't do some preprocessing or something else is wrong.

Any ideas?


--
Tomasz 'Trog' Welman
Software Developer
external: 48-12-628-9449
ITN: 34819449
T/L: 9449

IBM SWG Lab, Krakow, Poland
IBM Polska Sp. z o.o. oddział w Krakowie
ul. Armii Krajowej 18 30 -150 Kraków
NIP: 526-030-07-24, KRS 0000012941
Kapitał zakładowy: 33.000.000 PLN


More information about the xsd-users mailing list