Hi Daniel,

Are you compiling NOX for OpenFlow v0.9?  Basically, I would like to
know where and how you got the OpenFlow source. That will help in
resolving your question.

Regards
KK

2009/12/17  <n...@illicitonion.com>:
> Hi,
>
> I'm trying to get a version of NOX which is compatible with OpenFlow 0x98.  
> Compiling the version from git://noxrepo.org/nox or git://noxrepo.org/noxcore 
> both give me compile errors about undefined classes when setting 
> --with-openflow to any of 0.8.9r2, 0.9.0 or the openflow git.  Can anyone 
> point me at somewhere I can get a newer version of NOX?
>
> The specific compiler errors I'm getting (against openflow from git) are:
>
> In file included from ../../../src/lib/openflow-event.cc:43:
> ../../../src/include/flow-expired.hh: At global scope:
> ../../../src/include/flow-expired.hh:43: error: ISO C++ forbids declaration 
> of ‘ofp_flow_expired’ with no type
> ../../../src/include/flow-expired.hh:43: error: expected ‘,’ or ‘...’ before 
> ‘*’ token
> ../../../src/include/flow-expired.hh:58: error: ISO C++ forbids declaration 
> of ‘ofp_flow_expired’ with no type
> ../../../src/include/flow-expired.hh:58: error: expected ‘;’ before ‘*’ token
> ../../../src/include/flow-expired.hh:62: error: expected ‘;’ before ‘static’
> ../../../src/include/flow-expired.hh: In member function ‘virtual const 
> ofp_match* vigil::Flow_expired_event::get_flow() const’:
> ../../../src/include/flow-expired.hh:55: error: ‘get_flow_expired’ was not 
> declared in this scope
> ../../../src/include/flow-expired.hh: At global scope:
> ../../../src/include/flow-expired.hh:69: error: ISO C++ forbids declaration 
> of ‘ofp_flow_expired’ with no type
> ../../../src/include/flow-expired.hh:69: error: expected ‘,’ or ‘...’ before 
> ‘*’ token
> ../../../src/include/flow-expired.hh: In constructor 
> ‘vigil::Flow_expired_event::Flow_expired_event(vigil::datapathid, int)’:
> ../../../src/include/flow-expired.hh:71: error: ‘ofe’ was not declared in 
> this scope
> ../../../src/lib/openflow-event.cc: At global scope:
> ../../../src/lib/openflow-event.cc:68: error: ISO C++ forbids declaration of 
> ‘ofp_flow_expired’ with no type
> ../../../src/lib/openflow-event.cc:68: error: expected ‘,’ or ‘...’ before 
> ‘*’ token
> ../../../src/lib/openflow-event.cc: In function 
> ‘vigil::Event*<unnamed>::handle_flow_expired(vigil::datapathid, int)’:
> ../../../src/lib/openflow-event.cc:72: error: ‘ofe’ was not declared in this 
> scope
> ../../../src/lib/openflow-event.cc:72: error: ‘buf’ was not declared in this 
> scope
> ../../../src/lib/openflow-event.cc: In function ‘vigil::Event* 
> vigil::openflow_packet_to_event(vigil::datapathid, 
> std::auto_ptr<vigil::Buffer>)’:
> ../../../src/lib/openflow-event.cc:277: error: ‘OFPT_FLOW_EXPIRED’ was not 
> declared in this scope
> ../../../src/lib/openflow-event.cc:278: error: no matching function for call 
> to ‘handle_packet(vigil::Event* (&)(vigil::datapathid, int), 
> vigil::datapathid&, const ofp_header*&, std::auto_ptr<vigil::Buffer>&)’
>
>
> Thanks,
>
> Daniel
>
>
> _______________________________________________
> 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