The easiest way is to switch to xerces 2.

Both of these problems are addressed in the destiny branch, by the way
(the former with a macro, the latter by removing xerces and switching to
json for configuration files).

-- Murphy

On Tue, 2010-08-10 at 09:51 +0800, 陈文龙 wrote:
> noxcore]$ autoreconf --version
> autoreconf (GNU Autoconf) 2.66
> So I edit the boot.sh, replace "autoreconf -Wno-portability --install
> -I config --force" with "autoreconf --install --force"
> 
> 
> noxcore]$ ./boot.sh
> noxcore]$ mkdir build
> noxcore]$ cd build
> noxcore]$ ../configure
> noxcore]$ make
> 
> 
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/lib -I../..
> -DPKGDATADIR=\"/usr/local/share/nox\" -DPKGLIBDIR=\"/usr/local/bin/lib
> \" -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\" -DPKGSYSCONFDIR=
> \"/usr/local/etc/nox\" -include ../../config.h -I ../../../src/include
> -I../../../src/include/openflow -I/usr/include -D_GNU_SOURCE=1
> -D_REENTRANT -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1
> -D__STDC_CONSTANT_MACROS=1 -D_GLIBCXX_CONCEPT_CHECKS=1
> -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1
> -I../../../src/include/openflow -I../../../src/nox
> -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self
> -Wformat-nonliteral -Wformat-security -g -O2 -MT ssl-config.lo -MD -MP
> -MF .deps/ssl-config.Tpo -c ../../../src/lib/ssl-config.cc  -fPIC
> -DPIC -o .libs/ssl-config.o
> ../../../src/lib/ssl-config.cc: In member function 'int
> vigil::Ssl_config::init(vigil::Ssl_config::Ssl_version, const char*,
> const char*, const char*)':
> ../../../src/lib/ssl-config.cc:87:44: error: invalid conversion from
> 'const SSL_METHOD*' to 'SSL_METHOD*'
> make[5]: *** [ssl-config.lo] Error 1
> 
> 
> Then I edit the ssl-config.cc, "::SSL_METHOD* method =
> (::SSL_METHOD*)::SSLv23_method();"
> 
> 
> noxcore]$ make
> 
> 
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/lib -I../..
> -DPKGDATADIR=\"/usr/local/share/nox\" -DPKGLIBDIR=\"/usr/local/bin/lib
> \" -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\" -DPKGSYSCONFDIR=
> \"/usr/local/etc/nox\" -include ../../config.h -I ../../../src/include
> -I../../../src/include/openflow -I/usr/include -D_GNU_SOURCE=1
> -D_REENTRANT -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1
> -D__STDC_CONSTANT_MACROS=1 -D_GLIBCXX_CONCEPT_CHECKS=1
> -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1
> -I../../../src/include/openflow -I../../../src/nox
> -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self
> -Wformat-nonliteral -Wformat-security -g -O2 -MT xml-util.lo -MD -MP
> -MF .deps/xml-util.Tpo -c ../../../src/lib/xml-util.cc  -fPIC -DPIC
> -o .libs/xml-util.o
> ../../../src/lib/xml-util.cc:75:8: error: 'DOMBuilder' does not name a
> type
> 
> 
> How to correct it?
> By the way, xerces-c 3.1.0, gcc 4.5.0.
> 
> 
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org



_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to