axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Selvaratnam Uthaiyashankar <uthaiyashan...@gmail.com>
Subject Re: Compilation error with C generated code
Date Mon, 24 Jan 2011 08:44:39 GMT
Hi,

What is the environment you are using (Linux/distribution, gcc
version). Also, if possible please attach your WSDL.

Regards,
Shankar

On Wed, Jan 19, 2011 at 5:11 AM, Geoffroy <c.geoffroy@gmail.com> wrote:
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org


Mime
View raw message