axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kapila Dissanayake" <kapi...@gmail.com>
Subject Re: [Axis2] build error
Date Tue, 28 Mar 2006 16:35:35 GMT
Hi,

I have not installed apache. So I removed following code fragment from the
build.sh to build it sucessfully.

 --with-apache2=/usr/include/apache2 --with-apr=/usr/include/apr-0


Kapila


On 3/28/06, Sanjaya Ratnaweera <sanjaya@wso2.com> wrote:
>
> Hi Kapila,
>
> There was a small problem in build.sh script. It assigned `pwd`/deploy
> to AXIS2C_HOME but not exporting it. Now it's fixed. Get a update and
> try to build again.
>
> Thanks.
>
> ~sanjaya
>
> --
> http://sanjaya.8k.com
>
> Kapila Dissanayake wrote:
>
> > Hi,
> >
> > I took a fresh checkout of source and tried to build it. But I get a
> > list of errors when building the source.  Please see the attachment.
> >
> > My source files are in
> > /home/kapila/tempAxis/ctempAxis/c
> >
> > I used the following command to checkout the source
> > svn co https://svn.apache.org/repos/asf/webservices/axis2/trunk/c
> >
> > I have set to AXIS2_HOME to
> > /home/kapila/tempAxis/c/deploy
> >
> > Please advise me.
> >
> > Thank You
> >
> > Regards
> >
> > Kapila
> >
> >------------------------------------------------------------------------
> >
> >
> >onfig.status: executing depfiles commands
> >make  all-recursive
> >make[1]: Entering directory `/home/kapila/tempAxis/c/samples'
> >Making all in server
> >make[2]: Entering directory `/home/kapila/tempAxis/c/samples/server'
> >Making all in echo
> >make[3]: Entering directory `/home/kapila/tempAxis/c/samples/server/echo'
> >make[4]: Entering directory `/home/kapila/tempAxis/c/samples/server/echo'
> >if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I../.. -I/home/kapila/tempAxis/c/deploy/include
> -I/home/kapila/tempAxis/c/deploy/platforms    -g -O2 -ansi -Wall
> -D_LARGEFILE64_SOURCE -I/usr/include/libxml2    -MT echo.lo -MD -MP -MF
> ".deps/echo.Tpo" -c -o echo.lo echo.c; \
> >then mv -f ".deps/echo.Tpo" ".deps/echo.Plo"; else rm -f
> ".deps/echo.Tpo"; exit 1; fi
> > gcc -DHAVE_CONFIG_H -I. -I. -I../..
> -I/home/kapila/tempAxis/c/deploy/include
> -I/home/kapila/tempAxis/c/deploy/platforms -g -O2 -ansi -Wall
> -D_LARGEFILE64_SOURCE -I/usr/include/libxml2 -MT echo.lo -MD -MP -MF
> .deps/echo.Tpo -c echo.c  -fPIC -DPIC -o .libs/echo.o
> >In file included from echo.c:16:
> >echo.h:20:32: error: axis2_svc_skeleton.h: No such file or directory
> >echo.h:21:31: error: axis2_log_default.h: No such file or directory
> >echo.h:22:33: error: axis2_error_default.h: No such file or directory
> >echo.h:23:27: error: axis2_om_text.h: No such file or directory
> >echo.h:24:27: error: axis2_om_node.h: No such file or directory
> >echo.h:25:30: error: axis2_om_element.h: No such file or directory
> >In file included from echo.c:16:
> >echo.h:27: error: syntax error before '*' token
> >echo.h:27: error: syntax error before '*' token
> >echo.h:27: warning: type defaults to 'int' in declaration of
> 'axis2_echo_echo'
> >echo.h:27: warning: data definition has no type or storage class
> >echo.c:19: error: syntax error before '*' token
> >echo.c:20: error: syntax error before '*' token
> >echo.c:20: warning: type defaults to 'int' in declaration of
> 'build_om_programatically'
> >echo.c:20: warning: data definition has no type or storage class
> >echo.c:22: error: syntax error before '*' token
> >echo.c:23: error: syntax error before '*' token
> >echo.c:24: warning: return type defaults to 'int'
> >echo.c: In function 'axis2_echo_echo':
> >echo.c:25: error: 'axis2_om_node_t' undeclared (first use in this
> function)
> >echo.c:25: error: (Each undeclared identifier is reported only once
> >echo.c:25: error: for each function it appears in.)
> >echo.c:25: error: 'text_parent_node' undeclared (first use in this
> function)
> >
> >echo.c:27: error: 'ret_node' undeclared (first use in this function)
> >echo.c:29: warning: implicit declaration of function 'AXIS2_ENV_CHECK'
> >echo.c:29: error: 'env' undeclared (first use in this function)
> >echo.c:36: error: 'node' undeclared (first use in this function)
> >echo.c:38: warning: implicit declaration of function 'AXIS2_ERROR_SET'
> >echo.c:38: error: 'AXIS2_ERROR_SVC_SKEL_INPUT_OM_NODE_NULL' undeclared
> (first use in this function)
> >echo.c:38: error: 'AXIS2_FAILURE' undeclared (first use in this function)
> >echo.c:43: warning: implicit declaration of function
> 'AXIS2_OM_NODE_GET_FIRST_CHILD'
> >echo.c:46: error: 'AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST'
> undeclared (first use in this function)
> >echo.c:59: warning: implicit declaration of function
> 'AXIS2_OM_NODE_GET_NODE_TYPE'
> >echo.c:59: error: 'AXIS2_OM_TEXT' undeclared (first use in this function)
> >echo.c:61: error: 'axis2_om_text_t' undeclared (first use in this
> function)
> >echo.c:61: error: 'text' undeclared (first use in this function)
> >echo.c:61: error: syntax error before ')' token
> >echo.c:62: warning: implicit declaration of function
> 'AXIS2_OM_TEXT_GET_VALUE'
> >echo.c:64: error: 'axis2_char_t' undeclared (first use in this function)
> >echo.c:64: error: 'text_str' undeclared (first use in this function)
> >echo.c: At top level:
> >echo.c:80: error: syntax error before '*' token
> >echo.c:81: error: syntax error before '*' token
> >echo.c:82: warning: return type defaults to 'int'
> >echo.c: In function 'build_om_programatically':
> >echo.c:83: error: 'axis2_om_node_t' undeclared (first use in this
> function)
> >echo.c:83: error: 'echo_om_node' undeclared (first use in this function)
> >echo.c:84: error: 'axis2_om_element_t' undeclared (first use in this
> function)
> >echo.c:84: error: 'echo_om_ele' undeclared (first use in this function)
> >echo.c:85: error: 'text_om_node' undeclared (first use in this function)
> >echo.c:86: error: 'text_om_ele' undeclared (first use in this function)
> >echo.c:87: error: 'axis2_om_namespace_t' undeclared (first use in this
> function)
> >echo.c:87: error: 'ns1' undeclared (first use in this function)
> >echo.c:89: warning: implicit declaration of function
> 'axis2_om_namespace_create'
> >echo.c:89: error: 'env' undeclared (first use in this function)
> >echo.c:91: warning: implicit declaration of function
> 'axis2_om_element_create'
> >echo.c:95: warning: implicit declaration of function
> 'AXIS2_OM_ELEMENT_SET_TEXT'
> >echo.c:95: error: 'text' undeclared (first use in this function)
> >make[4]: *** [echo.lo] Error 1
> >make[4]: Leaving directory `/home/kapila/tempAxis/c/samples/server/echo'
> >make[3]: *** [all-recursive] Error 1
> >make[3]: Leaving directory `/home/kapila/tempAxis/c/samples/server/echo'
> >make[2]: *** [all-recursive] Error 1
> >make[2]: Leaving directory `/home/kapila/tempAxis/c/samples/server'
> >make[1]: *** [all-recursive] Error 1
> >make[1]: Leaving directory `/home/kapila/tempAxis/c/samples'
> >make: *** [all] Error 2
> >Making install in server
> >make[1]: Entering directory `/home/kapila/tempAxis/c/samples/server'
> >Making install in echo
> >make[2]: Entering directory `/home/kapila/tempAxis/c/samples/server/echo'
> >make[3]: Entering directory `/home/kapila/tempAxis/c/samples/server/echo'
> >if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I../.. -I/home/kapila/tempAxis/c/deploy/include
> -I/home/kapila/tempAxis/c/deploy/platforms    -g -O2 -ansi -Wall
> -D_LARGEFILE64_SOURCE -I/usr/include/libxml2    -MT echo.lo -MD -MP -MF
> ".deps/echo.Tpo" -c -o echo.lo echo.c; \
> >then mv -f ".deps/echo.Tpo" ".deps/echo.Plo"; else rm -f
> ".deps/echo.Tpo"; exit 1; fi
> > gcc -DHAVE_CONFIG_H -I. -I. -I../..
> -I/home/kapila/tempAxis/c/deploy/include
> -I/home/kapila/tempAxis/c/deploy/platforms -g -O2 -ansi -Wall
> -D_LARGEFILE64_SOURCE -I/usr/include/libxml2 -MT echo.lo -MD -MP -MF
> .deps/echo.Tpo -c echo.c  -fPIC -DPIC -o .libs/echo.o
> >In file included from echo.c:16:
> >echo.h:20:32: error: axis2_svc_skeleton.h: No such file or directory
> >echo.h:21:31: error: axis2_log_default.h: No such file or directory
> >echo.h:22:33: error: axis2_error_default.h: No such file or directory
> >echo.h:23:27: error: axis2_om_text.h: No such file or directory
> >echo.h:24:27: error: axis2_om_node.h: No such file or directory
> >echo.h:25:30: error: axis2_om_element.h: No such file or directory
> >In file included from echo.c:16:
> >echo.h:27: error: syntax error before '*' token
> >echo.h:27: error: syntax error before '*' token
> >echo.h:27: warning: type defaults to 'int' in declaration of
> 'axis2_echo_echo'
> >echo.h:27: warning: data definition has no type or storage class
> >echo.c:19: error: syntax error before '*' token
> >echo.c:20: error: syntax error before '*' token
> >echo.c:20: warning: type defaults to 'int' in declaration of
> 'build_om_programatically'
> >echo.c:20: warning: data definition has no type or storage class
> >echo.c:22: error: syntax error before '*' token
> >echo.c:23: error: syntax error before '*' token
> >echo.c:24: warning: return type defaults to 'int'
> >echo.c: In function 'axis2_echo_echo':
> >echo.c:25: error: 'axis2_om_node_t' undeclared (first use in this
> function)
> >echo.c:25: error: (Each undeclared identifier is reported only once
> >echo.c:25: error: for each function it appears in.)
> >echo.c:25: error: 'text_parent_node' undeclared (first use in this
> function)
> >echo.c:26: error: 'text_node' undeclared (first use in this function)
> >echo.c:27: error: 'ret_node' undeclared (first use in this function)
> >echo.c:29: warning: implicit declaration of function 'AXIS2_ENV_CHECK'
> >echo.c:29: error: 'env' undeclared (first use in this function)
> >echo.c:36: error: 'node' undeclared (first use in this function)
> >echo.c:38: warning: implicit declaration of function 'AXIS2_ERROR_SET'
> >echo.c:38: error: 'AXIS2_ERROR_SVC_SKEL_INPUT_OM_NODE_NULL' undeclared
> (first use in this function)
> >echo.c:38: error: 'AXIS2_FAILURE' undeclared (first use in this function)
> >echo.c:43: warning: implicit declaration of function
> 'AXIS2_OM_NODE_GET_FIRST_CHILD'
> >echo.c:46: error: 'AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST'
> undeclared (first use in this function)
> >echo.c:59: warning: implicit declaration of function
> 'AXIS2_OM_NODE_GET_NODE_TYPE'
> >echo.c:59: error: 'AXIS2_OM_TEXT' undeclared (first use in this function)
> >echo.c:61: error: 'axis2_om_text_t' undeclared (first use in this
> function)
> >echo.c:61: error: 'text' undeclared (first use in this function)
> >echo.c:61: error: syntax error before ')' token
> >echo.c:62: warning: implicit declaration of function
> 'AXIS2_OM_TEXT_GET_VALUE'
> >echo.c:64: error: 'axis2_char_t' undeclared (first use in this function)
> >echo.c:64: error: 'text_str' undeclared (first use in this function)
> >echo.c: At top level:
> >echo.c:80: error: syntax error before '*' token
> >
> >echo.c:81: error: syntax error before '*' token
> >echo.c:82: warning: return type defaults to 'int'
> >echo.c: In function 'build_om_programatically':
> >echo.c:83: error: 'axis2_om_node_t' undeclared (first use in this
> function)
> >echo.c:83: error: 'echo_om_node' undeclared (first use in this function)
> >echo.c:84: error: 'axis2_om_element_t' undeclared (first use in this
> function)
> >echo.c:84: error: 'echo_om_ele' undeclared (first use in this function)
> >echo.c:85: error: 'text_om_node' undeclared (first use in this function)
> >echo.c:86: error: 'text_om_ele' undeclared (first use in this function)
> >echo.c:87: error: 'axis2_om_namespace_t' undeclared (first use in this
> function)
> >echo.c:87: error: 'ns1' undeclared (first use in this function)
> >echo.c:89: warning: implicit declaration of function
> 'axis2_om_namespace_create'
> >echo.c:89: error: 'env' undeclared (first use in this function)
> >echo.c:91: warning: implicit declaration of function
> 'axis2_om_element_create'
> >echo.c:95: warning: implicit declaration of function
> 'AXIS2_OM_ELEMENT_SET_TEXT'
> >echo.c:95: error: 'text' undeclared (first use in this function)
> >make[3]: *** [echo.lo] Error 1
> >make[3]: Leaving directory `/home/kapila/tempAxis/c/samples/server/echo'
> >make[2]: *** [install-recursive] Error 1
> >make[2]: Leaving directory `/home/kapila/tempAxis/c/samples/server/echo'
> >make[1]: *** [install-recursive] Error 1
> >make[1]: Leaving directory `/home/kapila/tempAxis/c/samples/server'
> >make: *** [install-recursive] Error 1
> >
> >
> >
> >
> >
> >
> >
> >
>
>

Mime
View raw message