Hi, I am the INSTALL.Linux document to install Open Vswitch in fedora 17(release: 3.4.4-3.fc17.x86_64) dom0.
I did ./configure --prefix=/usr --localstatedir=/var --with-linux=/lib/modules/3.4.4-3.fc17.x86_64/build and then make. But make gives this error: make all-recursive make[1]: Entering directory `/home/arindam/Downloads/openvswitch-1.6.1' Making all in datapath make[2]: Entering directory `/home/arindam/Downloads/openvswitch-1.6.1/datapath' Making all in linux make[3]: Entering directory `/home/arindam/Downloads/openvswitch-1.6.1/datapath/linux' make -C /lib/modules/3.4.4-3.fc17.x86_64/build M=/home/arindam/Downloads/openvswitch-1.6.1/datapath/linux modules make[4]: Entering directory `/usr/src/kernels/3.4.4-3.fc17.x86_64' CC [M] /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/brcompat.o In file included from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/../vlan.h:22:0, from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/../datapath.h:34, from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/brcompat.c:32: /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/compat/include/linux/if_vlan.h: In function ‘rpl_vlan_put_tag’: /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/compat/include/linux/if_vlan.h:33:40: error: ‘VLAN_ETH_ALEN’ undeclared (first use in this function) /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/compat/include/linux/if_vlan.h:33:40: note: each undeclared identifier is reported only once for each function it appears in In file included from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/../vlan.h:22:0, from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/../datapath.h:34, from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/brcompat.c:32: /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/compat/include/linux/if_vlan.h: At top level: /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/compat/include/linux/if_vlan.h:59:60: error: redefinition of ‘vlan_set_encap_proto’ In file included from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/compat/include/linux/if_vlan.h:4:0, from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/../vlan.h:22, from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/../datapath.h:34, from /home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/brcompat.c:32: include/linux/if_vlan.h:326:60: note: previous definition of ‘vlan_set_encap_proto’ was here make[5]: *** [/home/arindam/Downloads/openvswitch-1.6.1/datapath/linux/brcompat.o] Error 1 make[4]: *** [_module_/home/arindam/Downloads/openvswitch-1.6.1/datapath/linux] Error 2 make[4]: Leaving directory `/usr/src/kernels/3.4.4-3.fc17.x86_64' make[3]: *** [default] Error 2 make[3]: Leaving directory `/home/arindam/Downloads/openvswitch-1.6.1/datapath/linux' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/arindam/Downloads/openvswitch-1.6.1/datapath' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/arindam/Downloads/openvswitch-1.6.1' make: *** [all] Error 2 any help.
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss