axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject Re: Errors compiling axis-c++ CVS version
Date Wed, 09 Jun 2004 08:07:57 GMT
This is not a source build failure, rather a samples build faliure.
With the latest changes, some somples have failed to compile.
This is something that need be fixed.

Samisa..

--- Ding Lei <dinglei@ipanel.cn> wrote:
> Hi,
> 	I just checkout Axis c++ from CVS. Already copied apache & expat include files into
> the include directory, but compilation failed(sh build.sh), see the end part.
>    Thank you!
> 
> 
> ....
> Making all in expat
> make[4]: Entering directory `/data/farm/ws-axis/c/src/xml/expat'
> if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../..
> -I/data/farm/ws-axis/c/include -Wall -Wshadow -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE
-Wall
> -Wshadow -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE  -g -O2 -MT XMLParserExpat.lo -MD
-MP -MF
> ".deps/XMLParserExpat.Tpo" \
>   -c -o XMLParserExpat.lo `test -f 'XMLParserExpat.cpp' || echo './'`XMLParserExpat.cpp;
\
> then mv -f ".deps/XMLParserExpat.Tpo" ".deps/XMLParserExpat.Plo"; \
> else rm -f ".deps/XMLParserExpat.Tpo"; exit 1; \
> fi
> mkdir .libs
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/data/farm/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow -DENABLE_AXIS_EXCEPTION
> -DENABLE_AXISTRACE -g -O2 -MT XMLParserExpat.lo -MD -MP -MF .deps/XMLParserExpat.Tpo
-c
> XMLParserExpat.cpp  -fPIC -DPIC -o .libs/XMLParserExpat.lo
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/data/farm/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow -DENABLE_AXIS_EXCEPTION
> -DENABLE_AXISTRACE -g -O2 -MT XMLParserExpat.lo -MD -MP -MF .deps/XMLParserExpat.Tpo
-c
> XMLParserExpat.cpp -o XMLParserExpat.o >/dev/null 2>&1
> mv -f .libs/XMLParserExpat.lo XMLParserExpat.lo
> if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../..
> -I/data/farm/ws-axis/c/include -Wall -Wshadow -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE
-Wall
> -Wshadow -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE  -g -O2 -MT ParserLoader.lo -MD -MP
-MF
> ".deps/ParserLoader.Tpo" \
>   -c -o ParserLoader.lo `test -f 'ParserLoader.cpp' || echo './'`ParserLoader.cpp; \
> then mv -f ".deps/ParserLoader.Tpo" ".deps/ParserLoader.Plo"; \
> else rm -f ".deps/ParserLoader.Tpo"; exit 1; \
> fi
> rm -f .libs/ParserLoader.lo
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/data/farm/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow -DENABLE_AXIS_EXCEPTION
> -DENABLE_AXISTRACE -g -O2 -MT ParserLoader.lo -MD -MP -MF .deps/ParserLoader.Tpo -c
> ParserLoader.cpp  -fPIC -DPIC -o .libs/ParserLoader.lo
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/data/farm/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow -DENABLE_AXIS_EXCEPTION
> -DENABLE_AXISTRACE -g -O2 -MT ParserLoader.lo -MD -MP -MF .deps/ParserLoader.Tpo -c
> ParserLoader.cpp -o ParserLoader.o >/dev/null 2>&1
> mv -f .libs/ParserLoader.lo ParserLoader.lo
> /bin/sh ../../../libtool --mode=link g++  -g -O2  -s -lstdc++ -o libaxis_expat.la -rpath
> /data/farm/ws-axis/c/bin  XMLParserExpat.lo ParserLoader.lo -L -lexpat -lstdc++ 
> rm -fr .libs/libaxis_expat.la .libs/libaxis_expat.* .libs/libaxis_expat.*
> gcc -shared  XMLParserExpat.lo ParserLoader.lo  -Wl,--rpath -Wl,/usr/lib/. -Wl,--rpath
> -Wl,/usr/lib/.  -L/usr/i486-slackware-linux/lib -L/usr/i486-slackware-linux/bin
> -L/data/farm/ws-axis/c/src/xml/expat /usr/lib/libexpat.so /usr/lib/./libstdc++.so  -Wl,-soname
> -Wl,libaxis_expat.so.0 -o .libs/libaxis_expat.so.0.0.0
> (cd .libs && rm -f libaxis_expat.so.0 && ln -s libaxis_expat.so.0.0.0
libaxis_expat.so.0)
> (cd .libs && rm -f libaxis_expat.so && ln -s libaxis_expat.so.0.0.0 libaxis_expat.so)
> ar cru .libs/libaxis_expat.a  XMLParserExpat.o ParserLoader.o 
> ranlib .libs/libaxis_expat.a
> creating libaxis_expat.la
> (cd .libs && rm -f libaxis_expat.la && ln -s ../libaxis_expat.la libaxis_expat.la)
> make[4]: Leaving directory `/data/farm/ws-axis/c/src/xml/expat'
> Making all in xerces
> make[4]: Entering directory `/data/farm/ws-axis/c/src/xml/xerces'
> if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../..
> -I/data/farm/ws-axis/c/include -Wall -Wshadow -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE
-Wall
> -Wshadow -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE  -g -O2 -MT SoapBinInputStream.lo
-MD -MP
> -MF ".deps/SoapBinInputStream.Tpo" \
>   -c -o SoapBinInputStream.lo `test -f 'SoapBinInputStream.cpp' || echo
> './'`SoapBinInputStream.cpp; \
> then mv -f ".deps/SoapBinInputStream.Tpo" ".deps/SoapBinInputStream.Plo"; \
> else rm -f ".deps/SoapBinInputStream.Tpo"; exit 1; \
> fi
> mkdir .libs
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/data/farm/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow -DENABLE_AXIS_EXCEPTION
> -DENABLE_AXISTRACE -g -O2 -MT SoapBinInputStream.lo -MD -MP -MF .deps/SoapBinInputStream.Tpo
-c
> SoapBinInputStream.cpp  -fPIC -DPIC -o .libs/SoapBinInputStream.lo
> make[4]: Leaving directory `/data/farm/ws-axis/c/src/xml/xerces'
> make[3]: Leaving directory `/data/farm/ws-axis/c/src/xml'
> make[2]: Leaving directory `/data/farm/ws-axis/c/src'
> make[1]: Leaving directory `/data/farm/ws-axis/c'
> make install
> Making install in src
> make[1]: Entering directory `/data/farm/ws-axis/c/src'
> Making install in common
> make[2]: Entering directory `/data/farm/ws-axis/c/src/common'
> make[3]: Entering directory `/data/farm/ws-axis/c/src/common'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/data/farm/ws-axis/c/src/common'
> make[2]: Leaving directory `/data/farm/ws-axis/c/src/common'
> Making install in soap
> make[2]: Entering directory `/data/farm/ws-axis/c/src/soap'
> make[3]: Entering directory `/data/farm/ws-axis/c/src/soap'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/data/farm/ws-axis/c/src/soap'
> make[2]: Leaving directory `/data/farm/ws-axis/c/src/soap'
> Making install in wsdd
> make[2]: Entering directory `/data/farm/ws-axis/c/src/wsdd'
> make[3]: Entering directory `/data/farm/ws-axis/c/src/wsdd'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/data/farm/ws-axis/c/src/wsdd'
> make[2]: Leaving directory `/data/farm/ws-axis/c/src/wsdd'
> Making install in xml
> make[2]: Entering directory `/data/farm/ws-axis/c/src/xml'
> Making install in expat
> make[3]: Entering directory `/data/farm/ws-axis/c/src/xml/expat'
> make[4]: Entering directory `/data/farm/ws-axis/c/src/xml/expat'
> /bin/sh ../../../mkinstalldirs /data/farm/ws-axis/c/bin
>  /bin/sh ../../../libtool --mode=install /usr/bin/ginstall -c  libaxis_expat.la
> /data/farm/ws-axis/c/bin/libaxis_expat.la
> /usr/bin/ginstall -c .libs/libaxis_expat.so.0.0.0
> /data/farm/ws-axis/c/bin/libaxis_expat.so.0.0.0
> (cd /data/farm/ws-axis/c/bin && rm -f libaxis_expat.so.0 && ln -s libaxis_expat.so.0.0.0
> libaxis_expat.so.0)
> (cd /data/farm/ws-axis/c/bin && rm -f libaxis_expat.so && ln -s libaxis_expat.so.0.0.0
> libaxis_expat.so)
> /usr/bin/ginstall -c .libs/libaxis_expat.lai /data/farm/ws-axis/c/bin/libaxis_expat.la
> /usr/bin/ginstall -c .libs/libaxis_expat.a /data/farm/ws-axis/c/bin/libaxis_expat.a
> ranlib /data/farm/ws-axis/c/bin/libaxis_expat.a
> chmod 644 /data/farm/ws-axis/c/bin/libaxis_expat.a
> PATH="$PATH:/sbin" ldconfig -n /data/farm/ws-axis/c/bin
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /data/farm/ws-axis/c/bin
> 
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
> 
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> make[4]: Nothing to be done for `install-data-am'.
> make[4]: Leaving directory `/data/farm/ws-axis/c/src/xml/expat'
> make[3]: Leaving directory `/data/farm/ws-axis/c/src/xml/expat'
> Making install in xerces
> make[3]: Entering directory `/data/farm/ws-axis/c/src/xml/xerces'
> if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../..
> -I/data/farm/ws-axis/c/include -Wall -Wshadow -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE
-Wall
> -Wshadow -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE  -g -O2 -MT SoapBinInputStream.lo
-MD -MP
> -MF ".deps/SoapBinInputStream.Tpo" \
>   -c -o SoapBinInputStream.lo `test -f 'SoapBinInputStream.cpp' || echo
> './'`SoapBinInputStream.cpp; \
> then mv -f ".deps/SoapBinInputStream.Tpo" ".deps/SoapBinInputStream.Plo"; \
> else rm -f ".deps/SoapBinInputStream.Tpo"; exit 1; \
> fi
> rm -f .libs/SoapBinInputStream.lo
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/data/farm/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow -DENABLE_AXIS_EXCEPTION
> -DENABLE_AXISTRACE -g -O2 -MT SoapBinInputStream.lo -MD -MP -MF .deps/SoapBinInputStream.Tpo
-c
> SoapBinInputStream.cpp  -fPIC -DPIC -o .libs/SoapBinInputStream.lo
> In file included from SoapBinInputStream.cpp:20:
> SoapBinInputStream.h:22:43: xercesc/util/BinInputStream.hpp: No such file or directory
> In file included from SoapBinInputStream.cpp:20:
> SoapBinInputStream.h:28: syntax error before `:' token
> SoapBinInputStream.h:32: destructors must be member functions
> SoapBinInputStream.h:32: virtual outside class declaration
> SoapBinInputStream.h:33: non-member function `unsigned int curPos()' cannot 
>    have `const' method qualifier
> SoapBinInputStream.h:34: `XMLByte' was not declared in this scope
> SoapBinInputStream.h:34: syntax error before `,' token
> SoapBinInputStream.h:38: syntax error before `}' token
> SoapBinInputStream.cpp:22: syntax error before `::' token
> SoapBinInputStream.cpp:25: ISO C++ forbids declaration of `m_nByteCount' with 
>    no type
> SoapBinInputStream.cpp:26: syntax error before `}' token
> SoapBinInputStream.cpp:28: syntax error before `::' token
> SoapBinInputStream.cpp:36: syntax error before `::' token
> SoapBinInputStream.cpp:41: syntax error before `::' token
> SoapBinInputStream.cpp:45: syntax error before `->' token
> make[3]: *** [SoapBinInputStream.lo] ´يخَ 1
> make[3]: Leaving directory `/data/farm/ws-axis/c/src/xml/xerces'
> make[2]: *** [install-recursive] ´يخَ 1
> make[2]: Leaving directory `/data/farm/ws-axis/c/src/xml'
> make[1]: *** [install-recursive] ´يخَ 1
> make[1]: Leaving directory `/data/farm/ws-axis/c/src'
> make: *** [install-recursive] ´يخَ 1
> Making distclean in doclitfault
> make[1]: Entering directory `/data/farm/ws-axis/c/samples/server/doclitfault'
> Making distclean in .
> make[2]: Entering directory `/data/farm/ws-axis/c/samples/server/doclitfault'
> test -z "libdoclitmathops.la" || rm -f libdoclitmathops.la
> 
> 
> -- 
> Yours,
> 
>    <<<:::::   D i n g    L e i   ::::::>>
>  ||                                      ||
>  || Ext: 8106                            ||
>  || Email: <dinglei [A] ipanel [O] cn>   ||
>  || Dept. Of Technology/Engineering      ||
>  || Embedded Internet Solutions Inc.     ||
> 
=== message truncated ===



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

Mime
View raw message