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 Lukasz Michalski <lm...@zork.pl> on 2006/03/08 19:18:41 UTC

newbie - problems compiling axis

Hi,

I am trying to compile axis on my linux machine. I am using jse from sun, 
and apache2, ant preinstalled from packages.

I downloaded and ant-contrib and cpptasks and after some changes in 
build.common.properities and build.Linux.propoerities I get to this point:

[word-wrap off]

compileApache20Module:

buildVersionResource:
Suspicious library name starting with "lib": libapr
Suspicious library name starting with "lib": libhttpd
       [cc] Starting dependency analysis for 2 files.
       [cc] 2 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 1 total files to be compiled.
       [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp: In
       [cc]    member function `virtual int
       [cc]    Apache2Transport::setTransportProperty(axiscpp::AXIS_TRANSPORT_INFORMATION_TYPE,
       [cc]    const char*)':
       [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp:180: error: `
       [cc]    ap_table_set' undeclared (first use this function)
       [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp:180: error: (Each
       [cc]    undeclared identifier is reported only once for each function it appears
       [cc]    in.)
       [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp: In
       [cc]    member function `virtual const char*
       [cc]    Apache2Transport::getTransportProperty(const char*, bool)':
       [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp:477: error: `
       [cc]    ap_table_elts' undeclared (first use this function)

BUILD FAILED
/home/users/zork/java/axis-c-1.6b-Linux-trace-src/build.xml:226: The following error occurred while executing this line:
/home/users/zork/java/axis-c-1.6b-Linux-trace-src/build.xml:218: The following error occurred while executing this line:
/home/users/zork/java/axis-c-1.6b-Linux-trace-src/build.xml:121: The following error occurred while executing this line:
/home/users/zork/java/axis-c-1.6b-Linux-trace-src/build/buildApache20Module.xml:27: g++ failed with return code 1

My configuration is:
apache-2.2.0
apr-1.2.2
ant-1.6.5
java-sun-1.5.0.06

Does error above means that axis will not work with apache 2.2.x ?

Regards,
Łukasz

Re: newbie - problems compiling axis

Posted by Lukasz Michalski <lm...@zork.pl>.
On Thursday 09 March 2006 11:16, Antoine Galataud wrote:
> Did you set correctly your APACHE_HOME environment variable (maybe
> APACHE2_HOME) ?
>

Yes, I did. Only two of those symbols are undefined and it looks to me that 
they disappear from apache 2.2.x distribution.

Where should they be defined?

Regards,
Łukasz

Re: newbie - problems compiling axis

Posted by Antoine Galataud <an...@gmail.com>.
Did you set correctly your APACHE_HOME environment variable (maybe
APACHE2_HOME) ?
2006/3/8, Lukasz Michalski <lm...@zork.pl>:
> Hi,
>
> I am trying to compile axis on my linux machine. I am using jse from sun,
> and apache2, ant preinstalled from packages.
>
> I downloaded and ant-contrib and cpptasks and after some changes in
> build.common.properities and build.Linux.propoerities I get to this point:
>
> [word-wrap off]
>
> compileApache20Module:
>
> buildVersionResource:
> Suspicious library name starting with "lib": libapr
> Suspicious library name starting with "lib": libhttpd
>        [cc] Starting dependency analysis for 2 files.
>        [cc] 2 files are up to date.
>        [cc] 0 files to be recompiled from dependency analysis.
>        [cc] 1 total files to be compiled.
>        [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp: In
>        [cc]    member function `virtual int
>        [cc]    Apache2Transport::setTransportProperty(axiscpp::AXIS_TRANSPORT_INFORMATION_TYPE,
>        [cc]    const char*)':
>        [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp:180: error: `
>        [cc]    ap_table_set' undeclared (first use this function)
>        [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp:180: error: (Each
>        [cc]    undeclared identifier is reported only once for each function it appears
>        [cc]    in.)
>        [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp: In
>        [cc]    member function `virtual const char*
>        [cc]    Apache2Transport::getTransportProperty(const char*, bool)':
>        [cc] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/server/apache2/Apache2Transport.cpp:477: error: `
>        [cc]    ap_table_elts' undeclared (first use this function)
>
> BUILD FAILED
> /home/users/zork/java/axis-c-1.6b-Linux-trace-src/build.xml:226: The following error occurred while executing this line:
> /home/users/zork/java/axis-c-1.6b-Linux-trace-src/build.xml:218: The following error occurred while executing this line:
> /home/users/zork/java/axis-c-1.6b-Linux-trace-src/build.xml:121: The following error occurred while executing this line:
> /home/users/zork/java/axis-c-1.6b-Linux-trace-src/build/buildApache20Module.xml:27: g++ failed with return code 1
>
> My configuration is:
> apache-2.2.0
> apr-1.2.2
> ant-1.6.5
> java-sun-1.5.0.06
>
> Does error above means that axis will not work with apache 2.2.x ?
>
> Regards,
> Łukasz
>


--
Antoine Galataud
antoine.galataud@gmail.com
Département Architecture des Systèmes d'Information
INSA - Rouen