Hello
I am currently trying to test axis2/c and the 'WSDL2C.sh' tool on some wsdl
for a possible use but i am running into a compilation error with the
generated code. I can say that i have done multiple tests with the stable
release, nightly build, svn trunk, ... and every time it's the same stuff; i
get a ton of :
gcc -I$AXIS2C_HOME/include/axis2-
1.7.0/ -L$AXIS2C_HOME/lib -laxutil -laxis2_axiom -laxis2_parser
-laxis2_engine -lpthread -laxis2_http_sender -laxis2_http_receiver -c *.c
In file included from adb_AmenityDescription.h:18,
from adb_AmenityDescription.c:10:
adb_ValidityRange.h:151: erreur: expected «=», «,», «;», «asm» or
«__attribute__» before «*» token
adb_ValidityRange.h:168: erreur: expected declaration specifiers or «...»
before «adb_ValidityRange_type0_t»
adb_ValidityRange.h:182: erreur: expected declaration specifiers or «...»
before «adb_ValidityRange_type0_t»
In file included from adb_AmenityDescription.h:18,
from adb_ArrayOfAmenityDescription.h:18,
from adb_ArrayOfAmenityDescription.c:10:
adb_ValidityRange.h:151: erreur: expected «=», «,», «;», «asm» or
«__attribute__» before «*» token
adb_ValidityRange.h:168: erreur: expected declaration specifiers or «...»
before «adb_ValidityRange_type0_t»
adb_ValidityRange.h:182: erreur: expected declaration specifiers or «...»
before «adb_ValidityRange_type0_t»
In file included from adb_ArrayOfHotelSearchFlags.h:18,
from adb_ArrayOfHotelSearchFlags.c:10:
adb_HotelSearchFlags.h:151: erreur: expected «=», «,», «;», «asm» or
«__attribute__» before «*» token
adb_HotelSearchFlags.h:168: erreur: expected declaration specifiers or «...»
before «adb_HotelSearchFlags_type0_t»
adb_HotelSearchFlags.h:182: erreur: expected declaration specifiers or «...»
before «adb_HotelSearchFlags_type0_t»
I put the first file 'adb_ValidityRange.h' in pastebin (
http://pastebin.com/4F5qkVsH ),
Because i can see on various place people having good result with axis2/c, i
conclude that i must do something wrong; so if someone can explaining this
to me it will be very nice.
Thank