axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gayatri subramanian (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-562) make of axis2c-src-0.96 fails because of undeclared variable XML_PARSE_RECOVER in libxml2_reader_wrapper.c
Date Thu, 22 Mar 2007 22:31:32 GMT
make of axis2c-src-0.96 fails because of undeclared variable XML_PARSE_RECOVER in libxml2_reader_wrapper.c
----------------------------------------------------------------------------------------------------------

                 Key: AXIS2C-562
                 URL: https://issues.apache.org/jira/browse/AXIS2C-562
             Project: Axis2-C
          Issue Type: Bug
          Components: build system (Unix/Linux)
    Affects Versions: 0.96
         Environment: Operating system: GNU/Linux,  Hardware-platform: i386, libxml2 version
2.5.10-7, libxml2-devel version 2.5.10-7, gcc version 2.96
            Reporter: gayatri subramanian


I followed the instructions for installing Axis2/C on Linux using the source release.

1) axis2c-src-0.96.tar.gz is unzipped to /home/gaysubra/axis-c/axis2c
2) setenv AXIS2C_HOME /home/gaysubra/axis-c/axis2c
3) cd /home/gaysubra/axis-c/axis2c
4) ./configure --prefix=${AXIS2C_HOME}
5) make

And make gives an error because of undeclared variable XML_PARSE_RECOVER in libxml2_reader_wrapper.c;
the configure script ran without giving any error. Here is the output from make:

(gaysubra) axis2c- make 
make  all-recursive
make[1]: Entering directory `/home/gaysubra/axis-c/axis2c'
Making all in util
make[2]: Entering directory `/home/gaysubra/axis-c/axis2c/util'
make  all-recursive
make[3]: Entering directory `/home/gaysubra/axis-c/axis2c/util'
Making all in src
make[4]: Entering directory `/home/gaysubra/axis-c/axis2c/util/src'
Making all in platforms/unix
make[5]: Entering directory `/home/gaysubra/axis-c/axis2c/util/src/platforms/unix'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/gaysubra/axis-c/axis2c/util/src/platforms/unix'
Making all in minizip
make[5]: Entering directory `/home/gaysubra/axis-c/axis2c/util/src/minizip'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/gaysubra/axis-c/axis2c/util/src/minizip'
make[5]: Entering directory `/home/gaysubra/axis-c/axis2c/util/src'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/gaysubra/axis-c/axis2c/util/src'
make[4]: Leaving directory `/home/gaysubra/axis-c/axis2c/util/src'
Making all in include
make[4]: Entering directory `/home/gaysubra/axis-c/axis2c/util/include'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/gaysubra/axis-c/axis2c/util/include'
make[4]: Entering directory `/home/gaysubra/axis-c/axis2c/util'
make[4]: Leaving directory `/home/gaysubra/axis-c/axis2c/util'
make[3]: Leaving directory `/home/gaysubra/axis-c/axis2c/util'
make[2]: Leaving directory `/home/gaysubra/axis-c/axis2c/util'
Making all in axiom
make[2]: Entering directory `/home/gaysubra/axis-c/axis2c/axiom'
make  all-recursive
make[3]: Entering directory `/home/gaysubra/axis-c/axis2c/axiom'
Making all in src
make[4]: Entering directory `/home/gaysubra/axis-c/axis2c/axiom/src'
Making all in parser
make[5]: Entering directory `/home/gaysubra/axis-c/axis2c/axiom/src/parser'
Making all in libxml2
make[6]: Entering directory `/home/gaysubra/axis-c/axis2c/axiom/src/parser/libxm
l2'
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../include -I../../../src/parser -I ../../../../util/include     -g -O2 -D_LARGEFILE64_SOURCE
-ansi -Wall -Wno-implicit-function-declaration  -I/usr/include/libxml2    -MT libxml2_reader_wrapper.lo
-MD -MP -MF ".deps/libxml2_reader_wrapper.Tpo" -c -o libxml2_reader_wrapper.lo libxml2_reader_wrapper.c;
\
then mv -f ".deps/libxml2_reader_wrapper.Tpo" ".deps/libxml2_reader_wrapper.Plo"; else rm
-f ".deps/libxml2_reader_wrapper.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../src/parser -I ../../../../util/include
-g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -I/usr/include/libxml2
-MT libxml2_reader_wrapper.lo -MD -MP -MF .deps/libxml2_reader_wrapper.Tpo -c libxml2_reader_wrapper.c
 -fPIC -DPIC -o .libs/libxml2_reader_wrapper.o
libxml2_reader_wrapper.c: In function `axiom_xml_reader_create_for_file':
libxml2_reader_wrapper.c:309: `XML_PARSE_RECOVER' undeclared (first use in this function)
libxml2_reader_wrapper.c:309: (Each undeclared identifier is reported only once
libxml2_reader_wrapper.c:309: for each function it appears in.)
libxml2_reader_wrapper.c:309: warning: assignment makes pointer from integer without a cast
libxml2_reader_wrapper.c: In function `axiom_xml_reader_create_for_io':
libxml2_reader_wrapper.c:376: `XML_PARSE_RECOVER' undeclared (first use in this function)
libxml2_reader_wrapper.c:376: warning: assignment makes pointer from integer without a cast
libxml2_reader_wrapper.c:381: warning: assignment makes pointer from integer without a cast
libxml2_reader_wrapper.c: In function `axiom_xml_reader_create_for_memory':
libxml2_reader_wrapper.c:442: `XML_PARSE_RECOVER' undeclared (first use in this function)
libxml2_reader_wrapper.c:442: warning: assignment makes pointer from integer without a cast
libxml2_reader_wrapper.c:446: warning: assignment makes pointer from integer without a cast
make[6]: *** [libxml2_reader_wrapper.lo] Error 1
make[6]: Leaving directory `/home/gaysubra/axis-c/axis2c/axiom/src/parser/libxml2'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/gaysubra/axis-c/axis2c/axiom/src/parser'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/gaysubra/axis-c/axis2c/axiom/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gaysubra/axis-c/axis2c/axiom'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gaysubra/axis-c/axis2c/axiom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gaysubra/axis-c/axis2c'
make: *** [all] Error 2
(gaysubra) axis2c- 

Any suggestions on how to resolve this error will be helpful.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message