-----Original Message----- From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, May 15, 2008 11:41 AM To: Apache AXIS C User List Subject: Re: hello_svc.c Example Compile Problem
Sreenivasulu Gelle wrote: > > HI All, > > I'm trying to build axis-c(1.3.0) on* Solaris 10* UISNG* SunStudio11* > Compiler in* 64-bit mode*. And I'm getting lot of compilation errors. > What are the problems that you run into? Have you raised a Jira issue on this? [Srini] asking for stdint.h, getop.h which are seen in Linux not in Solaris with SunStudio compiler. > I would like to know which compilers are supported to build AXIS-C > source code. Does it build with only GCC compiler?? > gcc is the main compiler used apart form MS VC cl, based on what the developers have access to. AFAIK, there are few users who have used Axis2/C with gcc on Solaris. I am not sure what version, may be 9 or 10. Anyone using please raise your hands :) [Srini] My Question is is there any user compiled with SunStudio compiler??? If you point to the problems, I am sure we can help. > In next 2 weeks I'm planning to build on HPUX 64-bit and AIX 64-bit also. > I am not sure on HPUX, but I have seen couple of users question about AIX time to time. Again I am not sure how far they went. However, if you run into problems and report them, we should be able to help as well. [Srini] Even in AIX is any body compiled with visual age CPP(xlC_r) Thanks, Samisa... > So your input helps me a lot in planning my activities. > > Thanks > > -Srini > > > > > -----Original Message----- > From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 15, 2008 11:19 AM > To: Apache AXIS C User List > Subject: Re: hello_svc.c Example Compile Problem > > To me it looks as if it cannot locate some of the headers, some system > > headers. > > Can you double check the includes please? > > Also, does echo work for you? If so, you can try and compile echo > > service and look for the compile options used in there. > > Thanks, > > Samisa... > > Andreas Karseras wrote: > > > Hi, > > > > > > I am seeing a problem when compiling the hello_svc.c source file from > the Axis2/C Manual with release 1.4.0. > > > The hello.c compiles without a problem. > > > > > > The problem appears to concern axutil_utils_defines.h - an example of > the errors and warning are as follows:- > > > > > > D:/axis2c/include/axutil_utils_defines.h:37: error: syntax error > before "uint8_t" > > > D:/axis2c/include/axutil_utils_defines.h:37: warning: type defaults > to `int' in declaration of `uint8_t' > > > D:/axis2c/include/axutil_utils_defines.h:37: warning: data definition > has no type or storage class > > > > > > The iconv.dll, zlib1.dll and libxml2.dll libraries have all been > downloaded and placed in axis2c\lib. > > > > > > The Axis server successfully starts when I issue the > axis2_http_server.exe command. > > > > > > Any suggestions on what I'm doing wrong ? > > > > > > > > > Andy > > > > > > For completeness, I have attached the complete compiler output below. > > > > > > > > > **** Build of configuration Debug for project C++ **** > > > > > > **** Internal Builder is used for build **** > > > gcc > > > -ID:\MinGW\include -ID:\MinGW\lib -ID:\axis2c\lib -ID:\axis2c\include > > > -O0 -g3 -Wall -c -fmessage-length=0 -v -ohello_svc.o ..\hello_svc.c > > > Reading specs from D:/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs > > > Configured > > > with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld > > > --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw > > > --enable-threads --disable-nls > > > --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry > > > --disable-shared --enable-sjlj-exceptions --enable-libgcj > > > --disable-java-awt --without-x --enable-java-gc=boehm > > > --disable-libgcj-debug --enable-interpreter > > > --enable-hash-synchronization --enable-libstdcxx-debug > > > Thread model: win32 > > > gcc version 3.4.5 (mingw-vista special r3) > > > D:/MinGW/bin/../libexec/gcc/mingw32/3.4.5/cc1.exe > > > -quiet -v -ID:\MinGW\include -ID:\MinGW\lib -ID:\axis2c\lib > > > -ID:\axis2c\include -iprefix D:\MinGW\bin/../lib/gcc/mingw32/3.4.5/ -dD > > > ..\hello_svc.c -quiet -dumpbase hello_svc.c -auxbase-strip hello_svc.o > > > -g3 -O0 -Wall -version -fmessage-length=0 -o > > > D:\Profiles\KARSERAS\LOCALS~1\Temp/ccKuMzQi.s > > > ignoring nonexistent directory > "D:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/include" > > > ignoring nonexistent directory > "/mingw/lib/gcc/mingw32/3.4.5/../../../../mingw32/include" > > > #include "..." search starts here: > > > #include <...> search starts here: > > > D:/MinGW/include > > > D:/MinGW/lib > > > D:/axis2c/lib > > > D:/axis2c/include > > > D:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include > > > D:/MinGW/bin/../lib/gcc/mingw32/3.4.5/include > > > /mingw/lib/gcc/mingw32/3.4.5/../../../../include > > > /mingw/include > > > /mingw/lib/gcc/mingw32/3.4.5/include > > > /mingw/include > > > End of search list. > > > GNU C version 3.4.5 (mingw-vista special r3) (mingw32) > > > compiled by GNU C version 3.4.5 (mingw-vista special r3). > > > GGC heuristics: --param ggc-min-expand=100 --param > ggc-min-heapsize=131072 > > > In file included from D:/axis2c/include/axutil_allocator.h:26, > > > from D:/axis2c/include/axutil_env.h:27, > > > from D:/axis2c/include/axiom_node.h:39, > > > from D:/axis2c/include/axis2_svc_skeleton.h:41, > > > from ..\hello_svc.c:16: > > > D:/axis2c/include/axutil_utils_defines.h:37: error: syntax error > before "uint8_t" > > > D:/axis2c/include/axutil_utils_defines.h:37: warning: type defaults > to `int' in declaration of `uint8_t' > > > D:/axis2c/include/axutil_utils_defines.h:37: warning: data definition > has no type or storage class > > > D:/axis2c/include/axutil_utils_defines.h:38: error: syntax error > before "int8_t" > > > D:/axis2c/include/axutil_utils_defines.h:38: warning: type defaults > to `int' in declaration of `int8_t' > > > D:/axis2c/include/axutil_utils_defines.h:38: warning: data definition > has no type or storage class > > > D:/axis2c/include/axutil_utils_defines.h:39: error: syntax error > before "uint16_t" > > > D:/axis2c/include/axutil_utils_defines.h:39: warning: type defaults > to `int' in declaration of `uint16_t' > > > D:/axis2c/include/axutil_utils_defines.h:39: warning: data definition > has no type or storage class > > > D:/axis2c/include/axutil_utils_defines.h:40: error: syntax error > before "int16_t" > > > D:/axis2c/include/axutil_utils_defines.h:40: warning: type defaults > to `int' in declaration of `int16_t' > > > D:/axis2c/include/axutil_utils_defines.h:40: warning: data definition > has no type or storage class > > > D:/axis2c/include/axutil_utils_defines.h:41: error: syntax error > before "uint32_t" > > > D:/axis2c/include/axutil_utils_defines.h:41: warning: type defaults > to `int' in declaration of `uint32_t' > > > D:/axis2c/include/axutil_utils_defines.h:41: warning: data definition > has no type or storage class > > > D:/axis2c/include/axutil_utils_defines.h:42: error: syntax error > before "int32_t" > > > D:/axis2c/include/axutil_utils_defines.h:42: warning: type defaults > to `int' in declaration of `int32_t' > > > D:/axis2c/include/axutil_utils_defines.h:42: warning: data definition > has no type or storage class > > > D:/axis2c/include/axutil_utils_defines.h:43: error: syntax error > before "uint64_t" > > > D:/axis2c/include/axutil_utils_defines.h:43: warning: type defaults > to `int' in declaration of `uint64_t' > > > D:/axis2c/include/axutil_utils_defines.h:43: warning: data definition > has no type or storage class > > > D:/axis2c/include/axutil_utils_defines.h:44: error: syntax error > before "int64_t" > > > D:/axis2c/include/axutil_utils_defines.h:44: warning: type defaults > to `int' in declaration of `int64_t' > > > D:/axis2c/include/axutil_utils_defines.h:44: warning: data definition > has no type or storage class > > > Build error occurred, build is stopped > > > Time consumed: 1673 ms. > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > ------------------------------------------------------------------------ > > > > > > > > > No virus found in this incoming message. > > > Checked by AVG. > > > Version: 8.0.100 / Virus Database: 269.23.16/1434 - Release Date: > 5/15/2008 7:24 AM > > > > > > -- > > Samisa Abeysinghe > > Director, Engineering; WSO2 Inc. > > http://www.wso2.com/ - "The Open Source SOA Company" > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG. > Version: 8.0.100 / Virus Database: 269.23.16/1434 - Release Date: 5/15/2008 7:24 AM > -- Samisa Abeysinghe Director, Engineering; WSO2 Inc. http://www.wso2.com/ - "The Open Source SOA Company" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]