Hello, Thanks a lot for your prompt answers to my previous email.
I've now installed Fedora 12 and got a newer gcc compiler (4.4.3) which eliminated the error I had. After that, I found the following error: ../../../src/lib/ssl-config.cc:87: error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*' Which I've solved adding a const in the following line (I don't know if it is the correct patch, but it compiles): ../../../src/lib/ssl-config.cc:87: "const ::SSL_METHOD* method = ::SSLv23_method();" I have now this error which I don't know how to solve (my swig version is swig-1.3.40-1.fc12.i86). I've read your previous emails about the problem (making sure to compile from the build folder, checking the swig version, trying with a make distclean...), but none of them worked in my case. Any hints are welcome! Thanks, Elisa ../../../../../src/include/netinet++/ethernetaddr.hh: In member function 'bool vigil::ethernetaddr::is_init() const': ../../../../../src/include/netinet++/ethernetaddr.hh:286: 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:401: 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:411: 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:457: 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:595: error: 'PySwigObject' was not declared in this scope ../../../../../src/nox/coreapps/pyrt/pyrt.cc:595: error: 'swigo' was not declared in this scope ../../../../../src/nox/coreapps/pyrt/pyrt.cc:596: error: expected primary-expression before ')' token ../../../../../src/nox/coreapps/pyrt/pyrt.cc:596: error: expected ')' before 'swigo' ../../../../../src/nox/coreapps/pyrt/pyrt.cc:604: error: expected ')' before 'try' ../../../../../src/nox/coreapps/pyrt/pyrt.cc:617: error: 'py_args' was not declared in this scope ../../../../../src/nox/coreapps/pyrt/pyrt.cc:622: error: 'py_args' was not declared in this scope ../../../../../src/nox/coreapps/pyrt/pyrt.cc:628: error: 'py_args' was not declared in this scope make[9]: *** [pyrt_la-pyrt.lo] Error 1 ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Elisa Bellagamba Sent: den 17 februari 2010 17:50 To: [email protected] Subject: [nox-dev] g++ in fedora Hello, I'm new with NOX controller; I'm just following the first steps to install and compile it. I have a question, is there any of you who is running it on Fedora? My problem is that I can't install g++ 4.2 as suggested in the tutorial because in Fedora the last available version seems to be gcc-c++.4.1.2. I'm getting a couple of compilation errors in the authenticator module and I thought this is the reason. Has anyone of you already solved this problem? Thanks, Elisa
_______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
