[ovs-discuss] An error : flow.h:36: error: field ‘used’ has incomplete type

蒲彦 yan.p.bjtu at gmail.com
Thu May 27 13:26:21 UTC 2010


Hello dear all, today I got a snapshot from git but when I try to compile it
I failed with the following information

make  all-recursive
make[1]: Entering directory `/home/yan/openvswitch'
Making all in datapath
make[2]: Entering directory `/home/yan/openvswitch/datapath'
Making all in linux-2.6
make[3]: Entering directory `/home/yan/openvswitch/datapath/linux-2.6'
make -C /lib/modules/2.6.26-2-686/build
M=/home/yan/openvswitch/datapath/linux-2.6 modules
make[4]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
  CC [M]  /home/yan/openvswitch/datapath/linux-2.6/flow.o
In file included from /home/yan/openvswitch/datapath/linux-2.6/flow.c:9:
/home/yan/openvswitch/datapath/linux-2.6/../flow.h:36: error: field ‘used’
has incomplete type
make[5]: *** [/home/yan/openvswitch/datapath/linux-2.6/flow.o] Error 1
make[4]: *** [_module_/home/yan/openvswitch/datapath/linux-2.6] Error 2
make[4]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/yan/openvswitch/datapath/linux-2.6'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/yan/openvswitch/datapath'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yan/openvswitch'
make: *** [all] Error 2

I am sure all the package required has been installed and actually the last
snapshot I got from git can work fine. Any help will be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100527/4c034484/attachment-0001.html>


More information about the discuss mailing list