SWIG Version 1.3.39
On Jun 23, 2009 4:19pm, Martin Casado <cas...@nicira.com> wrote:
> What version of swig do you have installed?
>
>
> Hi,
>
>
>
> i am installing nox core full version "nox-0.5.0~full~beta".
>
> i had upgraded gcc vresion gcc-4.3.2, and i had installed all the
dependencies.
>
>
>
> when i do `make` the follwoing error is coming.
>
> Please let me know the solution for below error.
>
>
>
>
>
> make[9]: Entering directory `/home/ravi_voora/project/openflow/
NOX/full_version/nox-0.5.0~full~beta/src/nox/coreapps/pyrt'
>
> /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -
DHAVE_CONFIG_H -I. -I../../../.. -DPKGDATADIR=\"/usr/local/share/nox
\" -DPKGLIBDIR=\"/usr/local/bin/nox/coreapps/pyrt\" -
DPKGLOCALSTATEDIR=\"/usr/local/var/nox\" -DPKGSYSCONFDIR=\"/usr/
local/etc/nox\" -include ../../../../config.h -I ../../../../src/
include -I../../../../src/include/openflow -I/usr/local/include/
boost-1_39 -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/usr/include/python2.5 -I./../ -
I../../../../src/nox -I../../../../src/nox -
D__COMPONENT_FACTORY_FUNCTION__=pyrt_get_factory -fno-omit-frame-
pointer -Wall -Wno-sign-compare -Winit-self -Wformat-nonliteral -
Wformat-security -I/home/ravi_voora/project/openflow/NOX/
Dependencies/june17/xerces-c-src_2_8_0/include -MT pyrt_la-pyrt.lo -
MD -MP -MF .deps/pyrt_la-pyrt.Tpo -c -o pyrt_la-pyrt.lo `test -f
'pyrt.cc' || echo './'`pyrt.cc
>
> g++ -DHAVE_CONFIG_H -I. -I../../../.. -DPKGDATADIR=\"/usr/local/
share/nox\" -DPKGLIBDIR=\"/usr/local/bin/nox/coreapps/pyrt\" -
DPKGLOCALSTATEDIR=\"/usr/local/var/nox\" -DPKGSYSCONFDIR=\"/usr/
local/etc/nox\" -include ../../../../config.h -I ../../../../src/
include -I../../../../src/include/openflow -I/usr/local/include/
boost-1_39 -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/usr/include/python2.5 -I./../ -
I../../../../src/nox -I../../../../src/nox -
D__COMPONENT_FACTORY_FUNCTION__=pyrt_get_factory -fno-omit-frame-
pointer -Wall -Wno-sign-compare -Winit-self -Wformat-nonliteral -
Wformat-security -I/home/ravi_voora/project/openflow/NOX/
Dependencies/june17/xerces-c-src_2_8_0/include -MT pyrt_la-pyrt.lo -
MD -MP -MF .deps/pyrt_la-pyrt.Tpo -c pyrt.cc -fPIC -DPIC -o .libs/
pyrt_la-pyrt.o
>
>
>
>
>
>
>
>
>
>
>
>
>
> pyrt.cc: In function ‘void convert_datapath_join(const
vigil::Event&, PyObject*)’:
>
> pyrt.cc:182: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:182: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_table_stats_in(const
vigil::Event&, PyObject*)’:
>
> pyrt.cc:193: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:193: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_aggregate_stats_in(const
vigil::Event&, PyObject*)’:
>
> pyrt.cc:206: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:206: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_desc_stats_in(const
vigil::Event&, PyObject*)’:
>
> pyrt.cc:220: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:220: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_port_stats_in(const
vigil::Event&, PyObject*)’:
>
> pyrt.cc:231: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:231: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_datapath_leave(const
vigil::Event&, PyObject*)’:
>
> pyrt.cc:241: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:241: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_bootstrap_complete(const
vigil::Event&, PyObject*)’:
>
> pyrt.cc:246: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:246: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_flow_expired(const
vigil::Event&, PyObject*)’:
>
> pyrt.cc:260: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:260: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_flow_mod(const vigil::Event&,
PyObject*)’:
>
> pyrt.cc:270: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:270: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_packet_in(const vigil::Event&,
PyObject*)’:
>
> pyrt.cc:285: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:285: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_port_status(const
vigil::Event&, PyObject*)’:
>
> pyrt.cc:296: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:296: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In function ‘void convert_shutdown(const vigil::Event&,
PyObject*)’:
>
> pyrt.cc:303: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:303: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc: In member function ‘virtual vigil::Disposition
vigil
::applications::Python_event_manager::call_python_handler(const
vigil::Event&, boost::intrusive_ptr&)’:
>
> pyrt.cc:595: error: ‘PySwigObject’ was not declared in this scope
>
> pyrt.cc:595: error: ‘swigo’ was not declared in this scope
>
> pyrt.cc:596: error: expected primary-expression before ‘)’ token
>
> pyrt.cc:596: error: expected `)' before ‘swigo’
>
> pyrt.cc:604: error: expected `)' before ‘try’
>
> pyrt.cc:617: error: ‘py_args’ was not declared in this scope
>
> pyrt.cc:622: error: ‘py_args’ was not declared in this scope
>
> pyrt.cc:628: error: ‘py_args’ was not declared in this scope
>
> /usr/local/include/boost-1_39/boost/system/error_code.hpp: At
global scope:
>
> /usr/local/include/boost-1_39/boost/system/error_code.hpp:205:
warning: ‘boost::system::system_category’ defined but not used
>
> /usr/local/include/boost-1_39/boost/system/error_code.hpp:206:
warning: ‘boost::system::generic_category’ defined but not used
>
> /usr/local/include/boost-1_39/boost/system/error_code.hpp:211:
warning: ‘boost::system::posix_category’ defined but not used
>
> /usr/local/include/boost-1_39/boost/system/error_code.hpp:212:
warning: ‘boost::system::errno_ecat’ defined but not used
>
> /usr/local/include/boost-1_39/boost/system/error_code.hpp:213:
warning: ‘boost::system::native_ecat’ defined but not used
>
> make[9]: *** [pyrt_la-pyrt.lo] Error 1
>
> make[9]: Leaving directory `/home/ravi_voora/project/openflow/NOX/
full_version/nox-0.5.0~full~beta/src/nox/coreapps/pyrt'
>
> make[8]: *** [all] Error 2
>
> make[8]: Leaving directory `/home/ravi_voora/project/openflow/NOX/
full_version/nox-0.5.0~full~beta/src/nox/coreapps/pyrt'
>
> make[7]: *** [all-recursive] Error 1
>
> make[7]: Leaving directory `/home/ravi_voora/project/openflow/NOX/
full_version/nox-0.5.0~full~beta/src/nox/coreapps'
>
> make[6]: *** [all] Error 2
>
> make[6]: Leaving directory `/home/ravi_voora/project/openflow/NOX/
full_version/nox-0.5.0~full~beta/src/nox/coreapps'
>
> make[5]: *** [all-recursive] Error 1
>
> make[5]: Leaving directory `/home/ravi_voora/project/openflow/NOX/
full_version/nox-0.5.0~full~beta/src/nox'
>
> make[4]: *** [all] Error 2
>
> make[4]: Leaving directory `/home/ravi_voora/project/openflow/NOX/
full_version/nox-0.5.0~full~beta/src/nox'
>
> make[3]: *** [all-recursive] Error 1
>
> make[3]: Leaving directory `/home/ravi_voora/project/openflow/NOX/
full_version/nox-0.5.0~full~beta/src'
>
> make[2]: *** [all] Error 2
>
> make[2]: Leaving directory `/home/ravi_voora/project/openflow/NOX/
full_version/nox-0.5.0~full~beta/src'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/home/ravi_voora/project/openflow/NOX/
full_version/nox-0.5.0~full~beta'
>
> make: *** [all] Error 2
>
> [r...@localhost nox-0.5.0~full~beta]#
>
>
>
>
>
> -Ravi
>
>
------------------------------------------------------------------------
>
>
>
> _______________________________________________
>
> nox-dev mailing list
>
> nox-dev@noxrepo.org
>
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>
>
>
>
>
>
>
> --
>
> Martin Casado
>
> CTO, Nicira Networks
>
> 650-776-1457 (m)
>
>
>
>
>
>
>