Hi,

Now with updated openflow.

/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../..  -DPKGDATADIR=\"/usr/local/share/nox\"
-DPKGLIBDIR=\"/usr/local/lib/nox\"
-DPKGLOCALSTATEDIR=\"/usr/local/var/nox\"
-DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -I ../../src/include
-I../../src/include/openflow/ -I/usr/include  -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../../src/include/openflow/   -Wall
-Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g
-O2 -MT openflow-event.lo -MD -MP -MF .deps/openflow-event.Tpo -c -o
openflow-event.lo openflow-event.cc
 g++ -DHAVE_CONFIG_H -I. -I../.. -DPKGDATADIR=\"/usr/local/share/nox\"
-DPKGLIBDIR=\"/usr/local/lib/nox\"
-DPKGLOCALSTATEDIR=\"/usr/local/var/nox\"
-DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -I ../../src/include
-I../../src/include/openflow/ -I/usr/include -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../../src/include/openflow/ -Wall
-Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g
-O2 -MT openflow-event.lo -MD -MP -MF .deps/openflow-event.Tpo -c
openflow-event.cc  -fPIC -DPIC -o .libs/openflow-event.o
openflow-event.cc: In function
'vigil::Event*<unnamed>::handle_stats_port_reply(vigil::datapathid,
const ofp_stats_reply*)':
openflow-event.cc:151: error: 'struct ofp_port_stats' has no member
named 'tx_count'
openflow-event.cc:152: error: 'struct ofp_port_stats' has no member
named 'rx_count'
openflow-event.cc:153: error: 'struct ofp_port_stats' has no member
named 'drop_count'

Thanks.

Regards
KK


2008/9/8 Martin Casado <[EMAIL PROTECTED]>:
> It requires a more recent openflow than your compiling against.  I'm pretty
> sure the openflow at noxrepo is sufficiently up to date.
>
> On Sep 8, 2008, at 10:58 AM, kk yap wrote:
>
>> Hi,
>>
>> The latest repo gives the following error.
>>
>> /bin/sh ../../../../libtool --tag=CXX   --mode=compile g++
>> -DHAVE_CONFIG_H -I. -I../../../..
>> -DPKGDATADIR=\"/usr/local/share/nox\"
>> -DPKGLIBDIR=\"/usr/local/lib/nox\"
>> -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\"
>> -DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -I ../../../../src/include
>> -I../../../../src/include/openflow/ -I/usr/include  -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   -Wall
>> -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g
>> -O2 -MT pyrt_la-pycontext.lo -MD -MP -MF .deps/pyrt_la-pycontext.Tpo
>> -c -o pyrt_la-pycontext.lo `test -f 'pycontext.cc' || echo
>> './'`pycontext.cc
>> g++ -DHAVE_CONFIG_H -I. -I../../../..
>> -DPKGDATADIR=\"/usr/local/share/nox\"
>> -DPKGLIBDIR=\"/usr/local/lib/nox\"
>> -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\"
>> -DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -I ../../../../src/include
>> -I../../../../src/include/openflow/ -I/usr/include -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 -Wall
>> -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g
>> -O2 -MT pyrt_la-pycontext.lo -MD -MP -MF .deps/pyrt_la-pycontext.Tpo
>> -c pycontext.cc  -fPIC -DPIC -o .libs/pyrt_la-pycontext.o
>> pycontext.cc: In member function 'void
>> vigil::applications::PyContext::send_flow_command(uint64_t,
>> ofp_flow_mod_command, const ofp_match&, uint16_t, uint16_t, const
>> ofp_action*, uint32_t, uint32_t, uint16_t)':
>> pycontext.cc:170: error: 'struct ofp_flow_mod' has no member named
>> 'idle_timeout'
>> pycontext.cc:171: error: 'struct ofp_flow_mod' has no member named
>> 'hard_timeout'
>>
>>
>> Regards
>> KK
>>
>> _______________________________________________
>> 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