axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Chiu <ch...@cs.indiana.edu>
Subject Re: Problem with ios on RH AS 2.1
Date Thu, 03 Jun 2004 17:07:21 GMT
Is upgrading gcc/g++ not a feasible option for you?

On Thu, 3 Jun 2004, Adrian Dick wrote:
> Hi
>
> I am building the Axis C++ code for Red Hat Advanced Server 2.1.
> I have previously posted a number of modifications, recommended by Samisa,
> required to allow successful compilation of the 1.1 release.  This is due
> to the versions of several tools being lower than those recommended, but
> various factors prevent upgrading at this time.
>
> I am now trying to build the current CVS codebase (currently working from a
> 1st June snapshot).
>
> The code is compiling without problem on Windows (using Visual C++ 6.0) and
> Red Hat 9, but for RHAS 2.1 I am seeing new problems.
> .
> ..
> ...
> Making all in common
> make[3]: Entering directory
> `/home/dicka/projects/axisc++_01June/ws-axis/c/src/common'
> /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../..
> -I/home/dicka/projects/axisc++_01June/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE  -g -O2 -c Param.cpp
> rm -f .libs/Param.lo
> c++ -DHAVE_CONFIG_H -I. -I. -I../..
> -I/home/dicka/projects/axisc++_01June/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -g -O2 -Wp,-MD,.deps/Param.pp -c
> Param.cpp  -fPIC -DPIC -o .libs/Param.lo
> In file included from
> /home/dicka/projects/axisc++_01June/ws-axis/c/include/axis/server/SoapDeSerializer.h:27,
>                  from
> /home/dicka/projects/axisc++_01June/ws-axis/c/include/axis/server/AxisEngine.h:28,
>                  from Param.cpp:22:
> /home/dicka/projects/axisc++_01June/ws-axis/c/include/axis/server/AxisException.h:29:15:
>  ios: No such file or directory
> make[3]: *** [Param.lo] Error 1
> make[3]: Leaving directory
> `/home/dicka/projects/axisc++_01June/ws-axis/c/src/common'
> ...
> ..
> .
>
> Following some assistance from colleagues, we've determined this is caused
> by the installed version of libstdc++-devel being at 2.96-118.7.2, rather
> than at 3.2.2-5 (as on my RH9 machine) - so does not have ios included.
> Is there anyway this can be removed, or somehow replaced with something
> available in the older libraries?
>
> In an attempt to understand this piece of code I commented out the relevant
> lines of code, and saw the following problems.  Being relatively
> inexperienced with C/C++, it isn't clear to me if these problems are
> related, or a seperate issue.
> .
> ..
> ...
> Making all in common
> make[3]: Entering directory
> `/home/dicka/projects/axisc++_01June/ws-axis/c/src/common'
> /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../..
> -I/home/dicka/projects/axisc++_01June/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE  -g -O2 -c Param.cpp
> rm -f .libs/Param.lo
> c++ -DHAVE_CONFIG_H -I. -I. -I../..
> -I/home/dicka/projects/axisc++_01June/ws-axis/c/include -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -Wall -Wshadow
> -DENABLE_AXIS_EXCEPTION -DENABLE_AXISTRACE -g -O2 -Wp,-MD,.deps/Param.pp -c
> Param.cpp  -fPIC -DPIC -o .libs/Param.lo
> In file included from
> /home/dicka/projects/axisc++_01June/ws-axis/c/include/axis/server/AxisEngine.h:25,
>                  from Param.cpp:22:
> /home/dicka/projects/axisc++_01June/ws-axis/c/include/axis/server/GDefine.h:125:
>  function `void
> destructor ()' is initialized like a variable
> /home/dicka/projects/axisc++_01June/ws-axis/c/include/axis/server/SoapEnvVersions.h:79:
>  warning: `
> SoapEnvVersionsStruct gs_SoapEnvVersionsStruct[2]' defined but not used
> make[3]: *** [Param.lo] Error 1
> make[3]: Leaving directory
> `/home/dicka/projects/axisc++_01June/ws-axis/c/src/common'
> ...
> ..
> .
> Though looking through the affected portions of code, this does seem to
> related to a change I needed to make for RHAS 2.1, the AXISCALL macro using
> cdecl instead of stdcall.
>
>
>
> Any assistance you can provide will be greatly appreciated.
>
> Thanks,
> Adrian
>
> _______________________________________
> Adrian Dick (adrian.dick@uk.ibm.com)
>

Mime
View raw message