It's really a long time ago I developed C++ code, but there are 2 common c++
compilers: g++ and gcc. Have you tried both compilers? Did you compile using
the make file?

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 19 februari 2004 14:44
Aan: [EMAIL PROTECTED]
Onderwerp: RE: Error while restarting httpd



While compiling mod_axix2.c am getting following warnings, can the cause
any problem,

source='mod_axis2.c' object='mod_axis2.lo' libtool=yes \
depfile='.deps/mod_axis2.Plo' tmpdepfile='.deps/mod_axis2.TPlo' \
depmode=gcc3 /bin/sh ../../../depcomp \
/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../.. -I/home/xml/nishi/axis-c-src-1-0-linux/include -Wshadow -Wall
-pedantic -ansi   -Wall -Wshadow -c -o mod_axis2.lo `test -f
'mod_axis2.c' || echo './'`mod_axis2.c
rm -f .libs/mod_axis2.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I/home/xml/nishi/axis-c-src-1-0-linux/include -Wshadow -Wall -pedantic
-ansi -Wall -Wshadow -c mod_axis2.c -MT mod_axis2.lo -MD -MP -MF
.deps/mod_axis2.TPlo  -fPIC -DPIC -o .libs/mod_axis2.lo
In file included from
/home/xml/nishi/axis-c-src-1-0-linux/include/apache2_0/ap_config.h:58,
                 from
/home/xml/nishi/axis-c-src-1-0-linux/include/apache2_0/httpd.h:72,
                 from mod_axis2.c:68:
/home/xml/nishi/axis-c-src-1-0-linux/include/apache2_0/apr.h:302:
warning: ISO C89 does not support `long long'
/home/xml/nishi/axis-c-src-1-0-linux/include/apache2_0/apr.h:303:
warning: ISO C89 does not support `long long'
mod_axis2.c: In function `mod_axis_method_handler':
mod_axis2.c:139: warning: assignment from incompatible pointer type
mod_axis2.c:140: warning: assignment from incompatible pointer type
mod_axis2.c:141: warning: assignment from incompatible pointer type
mod_axis2.c:142: warning: assignment from incompatible pointer type
mod_axis2.c:170: warning: assignment discards qualifiers from pointer
target type
mod_axis2.c:171: warning: assignment from incompatible pointer type
mod_axis2.c: In function `mod_axis_register_hooks':
mod_axis2.c:215: warning: passing arg 1 of `ap_hook_child_init' from
incompatible pointer type
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday,
February 19, 2004 6:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Error while restarting httpd

Hi Nishi,
   are your xerces libraries located so that apache can see it when
loading?
for example you can put it in /usr/lib

damitha

>
>               Hi
>
>                       I am learning XML. I have downloded axis-c. I
> getting following error while restarting the httpd server. I am
running
> redhat8 with Apache 4.1.
>
>               Syntax error on line 215 of /etc/httpd/conf/httpd.conf:
>               Cannot load /etc/httpd/modules/libaxiscpp_mod2.so into
> server: /etc/httpd/modules/libaxiscpp_mod2.so: undefined symbol:
> _ZTIN11xercesc_2_214BinInputStreamE
>
>               Your help would be highly appreciated
>               Regards
>               Nishi
>
>               {  STEPS
>               Now libaxiscpp_mod.so (If you built for apache2 this is
> libaxiscpp_mod2.so) should have been created in $AXISCPP_HOME/bin
> directory. Note:- you can give the install path inside the
runconfigure
> script.
>               Now you need to edit /usr/local/apache/conf/httpd.conf
>               $ vi /usr/local/apache/conf/httpd.conf
>               At the bottom of the file you have to include following
> lines and save it.
>               LoadModule axis_module libexec/libaxiscpp_mod.so (in
> apache2 replace libexec with modules and libaxiscpp_mod.so with
> libaxiscpp_mod2.so)
>               <Location /axis>
>               SetHandler axis
>               </Location>
>               Copy $AXISCPP_HOME/bin/libaxiscpp_mod.so into
> /usr/local/Apache/libexec/ (in apache2 replace libexec with modules
and
> libaxiscpp_mod.so with libaxiscpp_mod2.so)
>               $cp -f $AXISCPP_HOME/bin/libaxiscpp_mod.so
> /usr/local/apache/libexec (in apache2 replace libexec with modules and
> libaxiscpp_mod.so with libaxiscpp_mod2.so)
>               Restart apache
>               }
>
>               Regards,
>               Nishi
>
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any
attachments
> to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential
or
> privileged information. If
> you are not the intended recipient, please notify the sender at Wipro
or
> [EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.


Confidentiality Notice
The information contained in this electronic message and any attachments to
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.


Reply via email to