You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Andrew Erlichson <aj...@erlichson.net> on 2004/03/02 18:41:01 UTC

Errors building axis c++ from cvs source

Hello all,
 I am trying to build axis from the cvs sources and am hitting
compilation errors. I am guessing its is something fairly basic I am
doing wrong since I assume the checked-in source builds.

Here is my environment:

 Redhat linux 8, apache 1.3.27, expat 1.95.7
 AXISCPP_HOME=/home/aje/ics/ws-axis/c
 ls of that directory:

aclocal.m4       config.guess@   config.sub@   deploy/      kde/
ltmain.sh@   mkinstalldirs@  stamp-h
autogen.sh*      config.h        configure*    docs/        kdevelop/
Makefile     NOTICE          stamp-h.in
autom4te.cache/  config.h.in     configure.ac  include/     lib/
Makefile.am  runconfig       vc/
bin/             config.log      COPYING@      INSTALL@     libtool*
Makefile.in  samples/
build/           config.status*  CVS/          install-sh@  LICENSE
missing@     src/

 copy files from /usr/include/apache to include/apache
 copy expat.h from /usr/include to include/expat
 sh autogen.sh
 sh runconfig
 make
 
 ...

make[3]: Entering directory `/home/aje/ics/ws-axis/c/src/common'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I/home/aje/ics/ws-axis/c/include -Wall -DUSE_EXPAT_PARSER   -g -O2 -c
Param.cpp
rm -f .libs/Param.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/home/aje/ics/ws-axis/c/include
-Wall -DUSE_EXPAT_PARSER -g -O2 -Wp,-MD,.deps/Param.pp -c Param.cpp
-fPIC -DPIC -o Param.o
In file included from
/home/aje/ics/ws-axis/c/include/axis/common/IHandlerSoapSerializer.h:66,
                 from
/home/aje/ics/ws-axis/c/include/axis/soap/SoapSerializer.h:66,
                 from
/home/aje/ics/ws-axis/c/include/axis/engine/AxisEngine.h:69,
                 from Param.cpp:68:
/home/aje/ics/ws-axis/c/include/axis/common/IWrapperSoapSerializer.h: In
function `void 
IWrapperSoapSerializer::s_Initialize ()':
/home/aje/ics/ws-axis/c/include/axis/common/IWrapperSoapSerializer.h:170
: cannot convert `int () (void 
*, const char *, const char *)' to `int (*) (void *, const char *, const
char *)' in assignment
/home/aje/ics/ws-axis/c/include/axis/common/IWrapperSoapSerializer.h:172
: cannot convert `void () (void 
*, const char *)' to `void (*) (void *, const char *)' in assignment

And the errors continue from there. 

Any advice? Anything obvious?

Thanks in advance, 

Andrew


--
Andrew Erlichson
732.549.9664 (voice)
732.549.9679 (fax)
aje@erlichson.net