Are you running swig >= 1.3.37?  If so, the easiest thing is probably to
downgrade to 1.3.36.

What Linux distribution are you on?  I didn't think anyone had actually
switched to 1.3.37 for exactly this reason...

-- Murphy

On Thu, 2010-08-05 at 11:07 +0100, Kiani, Parham wrote:
> HI
> I am trying to install  noxcore from 
> here(http://www.openflowswitch.org/wk/index.php/OpenRoads) to run LAVI (I git 
> clone git://openflowswitch.org/openroads.git noxcore)
>  I tried  with build and without build directory the result was the same as 
> following. It seems problem with swig and search a lot some people had this 
> problem before but there is no clear solution to solve it. I was wondering if 
> somebody could solve this problem.
> many thanks
> 
> le included from ../../../../../src/nox/component.hh:38,
>                  from ../../../../../src/nox/coreapps/pyrt/pyrt.hh:27,
>                  from ../../../../../src/nox/coreapps/pyrt/pyrt.cc:18:
> ../../../../../src/include/netinet++/ethernetaddr.hh: In member function 
> ‘bool vigil::ethernetaddr::is_init() const’:
> ../../../../../src/include/netinet++/ethernetaddr.hh:283: warning: 
> dereferencing type-punned pointer will break strict-aliasing rules
> ../../../../../src/include/netinet++/ethernetaddr.hh: In member function 
> ‘uint64_t vigil::ethernetaddr::hb_long() const’:
> ../../../../../src/include/netinet++/ethernetaddr.hh:398: warning: 
> dereferencing type-punned pointer will break strict-aliasing rules
> ../../../../../src/include/netinet++/ethernetaddr.hh: In member function 
> ‘uint64_t vigil::ethernetaddr::nb_long() const’:
> ../../../../../src/include/netinet++/ethernetaddr.hh:408: warning: 
> dereferencing type-punned pointer will break strict-aliasing rules
> ../../../../../src/include/netinet++/ethernetaddr.hh: In member function 
> ‘bool vigil::ethernetaddr::is_zero() const’:
> ../../../../../src/include/netinet++/ethernetaddr.hh:446: warning: 
> dereferencing type-punned pointer will break strict-aliasing rules
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_datapath_join(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:182: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:182: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_table_stats_in(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:193: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:193: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_aggregate_stats_in(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:206: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:206: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_desc_stats_in(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:220: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:220: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_port_stats_in(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:231: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:231: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_datapath_leave(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:241: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:241: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_bootstrap_complete(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:246: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:246: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_flow_expired(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:260: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:260: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_flow_mod(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:270: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:270: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_packet_in(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:285: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:285: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_port_status(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:296: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:296: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In function ‘void 
> convert_shutdown(const vigil::Event&, PyObject*)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:303: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:303: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc: In member function ‘virtual 
> vigil::Disposition 
> vigil::applications::Python_event_manager::call_python_handler(const 
> vigil::Event&, boost::intrusive_ptr<_object>&)’:
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:590: error: ‘PySwigObject’ was 
> not declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:590: error: ‘swigo’ was not 
> declared in this scope
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:591: error: expected 
> primary-expression before ‘)’ token
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:591: error: expected ‘)’ before 
> ‘swigo’
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:770: error: expected ‘)’ at end 
> of input
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:770: error: expected statement 
> at end of input
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:770: error: expected ‘}’ at end 
> of input
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:770: error: expected ‘catch’ at 
> end of input
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:770: error: expected ‘(’ at end 
> of input
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:770: error: expected 
> type-specifier at end of input
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:770: error: expected ‘)’ at end 
> of input
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:770: error: expected ‘{’ at end 
> of input
> ../../../../../src/nox/coreapps/pyrt/pyrt.cc:770: error: expected ‘}’ at end 
> of input
> make[7]: *** [pyrt_la-pyrt.lo] Error 1
> make[7]: Leaving directory 
> `/home/parham/Documents/TEST-LAVI/noxcore/build/src/nox/coreapps/pyrt'
> make[6]: *** [all] Error 2
> make[6]: Leaving directory 
> `/home/parham/Documents/TEST-LAVI/noxcore/build/src/nox/coreapps/pyrt'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory 
> `/home/parham/Documents/TEST-LAVI/noxcore/build/src/nox/coreapps'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory 
> `/home/parham/Documents/TEST-LAVI/noxcore/build/src/nox/coreapps'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> `/home/parham/Documents/TEST-LAVI/noxcore/build/src/nox'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory 
> `/home/parham/Documents/TEST-LAVI/noxcore/build/src/nox'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/home/parham/Documents/TEST-LAVI/noxcore/build/src'
> make: *** [all] Error 2
> 
> 
> 
> 
> _______________________________________________
> 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