Hello everybody,
I'm trying to install Nox as it is described on the maual in the
noxrepo.orgsite:
git clone git://noxrepo.org/noxcore
cd noxcore/
./boot.sh
mkdir build/
cd build/
../configure --with-python=yes
make
make check
Precisely I am having issues on the make step, because, after doing the
configure script in the build directory, I find this error:
netinet_wrap.cc: In function 'void SWIG_Python_AddErrorMsg(const char*)':
netinet_wrap.cc:864: warning: format not a string literal and no format
arguments
netinet_wrap.cc: In function 'int SWIG_Python_ConvertFunctionPtr(PyObject*,
void**, swig_type_info*)':
netinet_wrap.cc:2051: error: invalid conversion from 'const char*' to
'char*'
netinet_wrap.cc: In function 'vigil::ipaddr* ipaddr___copy__(vigil::ipaddr*,
const PyObject*)':
netinet_wrap.cc:2961: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'vigil::ipaddr*
ipaddr___deepcopy__(vigil::ipaddr*, const PyObject*)':
netinet_wrap.cc:2964: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'bool
ipaddr_operator_Se__Se___SWIG_1(vigil::ipaddr*, const vigil::ipaddr*)':
netinet_wrap.cc:3001: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'bool
ipaddr_operator_SN__Se___SWIG_1(vigil::ipaddr*, const vigil::ipaddr*)':
netinet_wrap.cc:3006: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'vigil::cidr_ipaddr*
cidr_ipaddr___copy__(vigil::cidr_ipaddr*, const PyObject*)':
netinet_wrap.cc:3071: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'vigil::cidr_ipaddr*
cidr_ipaddr___deepcopy__(vigil::cidr_ipaddr*, const PyObject*)':
netinet_wrap.cc:3074: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'bool
cidr_ipaddr_operator_Se__Se_(vigil::cidr_ipaddr*, const
vigil::cidr_ipaddr*)':
netinet_wrap.cc:3084: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'bool
cidr_ipaddr_operator_SN__Se_(vigil::cidr_ipaddr*, const
vigil::cidr_ipaddr*)':
netinet_wrap.cc:3089: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'vigil::ethernetaddr*
ethernetaddr___copy__(vigil::ethernetaddr*, const PyObject*)':
netinet_wrap.cc:4347: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'vigil::ethernetaddr*
ethernetaddr___deepcopy__(vigil::ethernetaddr*, const PyObject*)':
netinet_wrap.cc:4350: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'PyObject*
ethernetaddr_binary_str(vigil::ethernetaddr*)':
netinet_wrap.cc:4358: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'bool
ethernetaddr_operator_Se__Se_(vigil::ethernetaddr*, const
vigil::ethernetaddr*)':
netinet_wrap.cc:4367: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'bool
ethernetaddr_operator_SN__Se_(vigil::ethernetaddr*, const
vigil::ethernetaddr*)':
netinet_wrap.cc:4372: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'vigil::datapathid*
datapathid___copy__(vigil::datapathid*, const PyObject*)':
netinet_wrap.cc:4484: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'vigil::datapathid*
datapathid___deepcopy__(vigil::datapathid*, const PyObject*)':
netinet_wrap.cc:4487: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'bool
datapathid_operator_Se__Se_(vigil::datapathid*, const vigil::datapathid*)':
netinet_wrap.cc:4501: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'bool
datapathid_operator_SN__Se_(vigil::datapathid*, const vigil::datapathid*)':
netinet_wrap.cc:4507: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'void
Packet_expr_set_uint32_field__SWIG_0(vigil::Packet_expr*,
vigil::Packet_expr::Expr_field, uint32_t)':
netinet_wrap.cc:4542: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'void
Packet_expr_set_uint32_field__SWIG_1(vigil::Packet_expr*,
vigil::Packet_expr::Expr_field, int32_t)':
netinet_wrap.cc:4555: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'void
Packet_expr_set_ip_field(vigil::Packet_expr*,
vigil::Packet_expr::Expr_field, vigil::ipaddr)':
netinet_wrap.cc:4568: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'void
Packet_expr_set_eth_field(vigil::Packet_expr*,
vigil::Packet_expr::Expr_field, vigil::ethernetaddr)':
netinet_wrap.cc:4583: error: '$self' was not declared in this scope
netinet_wrap.cc: In function 'void SWIG_Python_FixMethods(PyMethodDef*,
swig_const_info*, swig_type_info**, swig_type_info**)':
netinet_wrap.cc:14603: error: invalid conversion from 'const char*' to
'char*'
make[9]: *** [_netinet_la-netinet_wrap.lo] Error 1
make[9]: Leaving directory
`/home/netfpga2/nox/nox/build/src/nox/lib/netinet'
make[8]: *** [all] Error 2
make[8]: Leaving directory
`/home/netfpga2/nox/nox/build/src/nox/lib/netinet'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/netfpga2/nox/nox/build/src/nox/lib'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/netfpga2/nox/nox/build/src/nox/lib'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/netfpga2/nox/nox/build/src/nox'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/netfpga2/nox/nox/build/src/nox'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/netfpga2/nox/nox/build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/netfpga2/nox/nox/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/netfpga2/nox/nox/build'
make: *** [all] Error 2
Moreover, at first there was another kind of error that now is disappeared,
about the line:
hash_map<std::string,std::string> argmap;
in the deployer.cc file (it said: "ERROR: expected initializer before '<'
token").
I am sorry I did not managed to understand where I went wrong, and I hope
anyone could help me with this.
Thanks to all,
Regards
--
Leonardo
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev