You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried in dockers and in a server but same error. I do not what I am missing.
Help!!
cd /home/SDN/openvswitch-2.10.2
./boot.sh
./configure --with-dpdk=$DPDK_BUILD
make install CFLAGS='-O3 -march=native'
lib/netdev-dpdk.c: In function ‘netdev_dpdk_policer_construct’:
lib/netdev-dpdk.c:2785:37: warning: passing argument 2 of ‘rte_meter_srtcm_config’ from incompatible pointer type [-Wincompatible-pointer-types]
&policer->app_srtcm_params);
^
In file included from lib/netdev-dpdk.c:37:0:
/usr/src/dpdk-stable-18.11.2/x86_64-native-linuxapp-gcc/include/rte_meter.h:113:1: note: expected ‘struct rte_meter_srtcm_profile *’ but argument is of type ‘struct rte_meter_srtcm_params *’
rte_meter_srtcm_config(struct rte_meter_srtcm *m,
^
lib/netdev-dpdk.c: In function ‘netdev_dpdk_get_status’:
lib/netdev-dpdk.c:3080:17: error: ‘struct rte_eth_dev_info’ has no member named ‘pci_dev’
if (dev_info.pci_dev) {
^
lib/netdev-dpdk.c:3082:33: error: ‘struct rte_eth_dev_info’ has no member named ‘pci_dev’
dev_info.pci_dev->id.vendor_id);
^
lib/netdev-dpdk.c:3084:33: error: ‘struct rte_eth_dev_info’ has no member named ‘pci_dev’
dev_info.pci_dev->id.device_id);
^
lib/netdev-dpdk.c: In function ‘egress_policer_qos_construct’:
lib/netdev-dpdk.c:3795:34: warning: passing argument 2 of ‘rte_meter_srtcm_config’ from incompatible pointer type [-Wincompatible-pointer-types]
&policer->app_srtcm_params);
^
In file included from lib/netdev-dpdk.c:37:0:
/usr/src/dpdk-stable-18.11.2/x86_64-native-linuxapp-gcc/include/rte_meter.h:113:1: note: expected ‘struct rte_meter_srtcm_profile *’ but argument is of type ‘struct rte_meter_srtcm_params *’
rte_meter_srtcm_config(struct rte_meter_srtcm m,
^
In file included from /usr/include/x86_64-linux-gnu/bits/byteswap.h:35:0,
from /usr/include/endian.h:60,
from /usr/include/x86_64-linux-gnu/bits/string2.h:51,
from /usr/include/string.h:630,
from ./lib/string.h:20,
from lib/netdev-dpdk.c:20:
lib/netdev-dpdk.c: In function ‘dump_flow_pattern’:
lib/netdev-dpdk.c:4160:37: error: ‘const struct rte_flow_item_vlan’ has no member named ‘tpid’
ntohs(vlan_spec->tpid), ntohs(vlan_spec->tci));
^
lib/netdev-dpdk.c:4168:31: error: ‘const struct rte_flow_item_vlan’ has no member named ‘tpid’
vlan_mask->tpid, vlan_mask->tci);
^
lib/netdev-dpdk.c: In function ‘add_flow_rss_action’:
lib/netdev-dpdk.c:4362:8: error: ‘struct rte_flow_action_rss’ has no member named ‘rss_conf’
rss->rss_conf = NULL;
^
lib/netdev-dpdk.c:4363:8: error: ‘struct rte_flow_action_rss’ has no member named ‘num’
rss->num = netdev->n_rxq;
^
lib/netdev-dpdk.c:4365:24: error: ‘struct rte_flow_action_rss’ has no member named ‘num’
for (i = 0; i < rss->num; i++) {
^
lib/netdev-dpdk.c:4366:23: error: assignment of read-only location ‘(rss->queue + (sizetype)((long unsigned int)i * 2ul))’
rss->queue[i] = i;
^
lib/netdev-dpdk.c: In function ‘netdev_dpdk_add_rte_flow_offload’:
lib/netdev-dpdk.c:4435:18: error: ‘struct rte_flow_item_vlan’ has no member named ‘tpid’
vlan_mask.tpid = 0;
^
lib/netdev-dpdk.c: In function ‘netdev_dpdk_policer_pkt_handle’:
lib/netdev-dpdk.c:1941:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
lib/netdev-dpdk.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-null-pointer-arithmetic’
Makefile:4946: recipe for target 'lib/netdev-dpdk.lo' failed
make[2]: *** [lib/netdev-dpdk.lo] Error 1
make[2]: Leaving directory '/home/shenyao1/SDN/openvswitch-2.10.2'
Makefile:5700: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/shenyao1/SDN/openvswitch-2.10.2'
Makefile:3343: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Hey guys,
I run dpdk 18.11.2, dpdk-19.08 and dpdk-17.11 with OVS 2.10.2 and 2.9.0 but I received the same error in make command.
I am following this guide to install OVS with DPDK.
Here https://stackoverflow.com/questions/39227298/cant-make-install-ovs
they said it is a version problem but I tried almost all new versions. I have no idea what to do.
I tried in dockers and in a server but same error. I do not what I am missing.
Help!!
cd /home/SDN/openvswitch-2.10.2
./boot.sh
./configure --with-dpdk=$DPDK_BUILD
make install CFLAGS='-O3 -march=native'
lib/netdev-dpdk.c: In function ‘netdev_dpdk_policer_construct’:
lib/netdev-dpdk.c:2785:37: warning: passing argument 2 of ‘rte_meter_srtcm_config’ from incompatible pointer type [-Wincompatible-pointer-types]
&policer->app_srtcm_params);
^
In file included from lib/netdev-dpdk.c:37:0:
/usr/src/dpdk-stable-18.11.2/x86_64-native-linuxapp-gcc/include/rte_meter.h:113:1: note: expected ‘struct rte_meter_srtcm_profile *’ but argument is of type ‘struct rte_meter_srtcm_params *’
rte_meter_srtcm_config(struct rte_meter_srtcm *m,
^
lib/netdev-dpdk.c: In function ‘netdev_dpdk_get_status’:
lib/netdev-dpdk.c:3080:17: error: ‘struct rte_eth_dev_info’ has no member named ‘pci_dev’
if (dev_info.pci_dev) {
^
lib/netdev-dpdk.c:3082:33: error: ‘struct rte_eth_dev_info’ has no member named ‘pci_dev’
dev_info.pci_dev->id.vendor_id);
^
lib/netdev-dpdk.c:3084:33: error: ‘struct rte_eth_dev_info’ has no member named ‘pci_dev’
dev_info.pci_dev->id.device_id);
^
lib/netdev-dpdk.c: In function ‘egress_policer_qos_construct’:
lib/netdev-dpdk.c:3795:34: warning: passing argument 2 of ‘rte_meter_srtcm_config’ from incompatible pointer type [-Wincompatible-pointer-types]
&policer->app_srtcm_params);
^
In file included from lib/netdev-dpdk.c:37:0:
/usr/src/dpdk-stable-18.11.2/x86_64-native-linuxapp-gcc/include/rte_meter.h:113:1: note: expected ‘struct rte_meter_srtcm_profile *’ but argument is of type ‘struct rte_meter_srtcm_params *’
rte_meter_srtcm_config(struct rte_meter_srtcm m,
^
In file included from /usr/include/x86_64-linux-gnu/bits/byteswap.h:35:0,
from /usr/include/endian.h:60,
from /usr/include/x86_64-linux-gnu/bits/string2.h:51,
from /usr/include/string.h:630,
from ./lib/string.h:20,
from lib/netdev-dpdk.c:20:
lib/netdev-dpdk.c: In function ‘dump_flow_pattern’:
lib/netdev-dpdk.c:4160:37: error: ‘const struct rte_flow_item_vlan’ has no member named ‘tpid’
ntohs(vlan_spec->tpid), ntohs(vlan_spec->tci));
^
lib/netdev-dpdk.c:4168:31: error: ‘const struct rte_flow_item_vlan’ has no member named ‘tpid’
vlan_mask->tpid, vlan_mask->tci);
^
lib/netdev-dpdk.c: In function ‘add_flow_rss_action’:
lib/netdev-dpdk.c:4362:8: error: ‘struct rte_flow_action_rss’ has no member named ‘rss_conf’
rss->rss_conf = NULL;
^
lib/netdev-dpdk.c:4363:8: error: ‘struct rte_flow_action_rss’ has no member named ‘num’
rss->num = netdev->n_rxq;
^
lib/netdev-dpdk.c:4365:24: error: ‘struct rte_flow_action_rss’ has no member named ‘num’
for (i = 0; i < rss->num; i++) {
^
lib/netdev-dpdk.c:4366:23: error: assignment of read-only location ‘(rss->queue + (sizetype)((long unsigned int)i * 2ul))’
rss->queue[i] = i;
^
lib/netdev-dpdk.c: In function ‘netdev_dpdk_add_rte_flow_offload’:
lib/netdev-dpdk.c:4435:18: error: ‘struct rte_flow_item_vlan’ has no member named ‘tpid’
vlan_mask.tpid = 0;
^
lib/netdev-dpdk.c: In function ‘netdev_dpdk_policer_pkt_handle’:
lib/netdev-dpdk.c:1941:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
lib/netdev-dpdk.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-null-pointer-arithmetic’
Makefile:4946: recipe for target 'lib/netdev-dpdk.lo' failed
make[2]: *** [lib/netdev-dpdk.lo] Error 1
make[2]: Leaving directory '/home/shenyao1/SDN/openvswitch-2.10.2'
Makefile:5700: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/shenyao1/SDN/openvswitch-2.10.2'
Makefile:3343: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: