Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/22967 _Compilation issues_ Submitter: Michal Jastrzebski Date: Fri, 31 Mar 2017 00:22:19 +0200 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:ba82829fda022e14a938c3a669de0e634626e4c8 Patch22967-22967 --> compile error Build Summary: 18 Builds Done, 2 Successful, 16 Failures Test environment and configuration as below: OS: RHEL7.2_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared OS: FreeBSD10.3_64 Kernel Version:10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version:gcc (FreeBSD Ports Collection) 4.8.5 Clang Version:3.4.1 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc OS: FC24_64 Kernel Version:4.9.13-100.fc24.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) Clang Version:3.8.0 x86_64-native-linuxapp-clang i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc-debug OS: UB1604_64 Kernel Version:4.4.0-64-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Clang Version:3.8.0 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: CentOS7_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc Failed Build #1: OS: RHEL7.2_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:368:2: error: nested extern declaration of ‘rte_eth_xstats_get_id_by_name’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: too many arguments to function ‘rte_eth_xstats_get_names’ port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t *’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ cc1: all warnings being treated as errors Failed Build #2: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:368:2: error: nested extern declaration of ‘rte_eth_xstats_get_id_by_name’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: too many arguments to function ‘rte_eth_xstats_get_names’ port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t *’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ cc1: all warnings being treated as errors Failed Build #3: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:368:2: error: nested extern declaration of ‘rte_eth_xstats_get_id_by_name’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: too many arguments to function ‘rte_eth_xstats_get_names’ port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t *’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ cc1: all warnings being treated as errors Failed Build #4: OS: FC24_64 Target: x86_64-native-linuxapp-clang ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:368:6: note: did you mean 'rte_eth_xstats_get_names'? /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2320:5: note: 'rte_eth_xstats_get_names' declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:54: error: too many arguments to function call, expected 3, have 4 len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ~~~~~~~~~~~~~~~~~~~~~~~~ ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2320:1: note: 'rte_eth_xstats_get_names' declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:33: error: too many arguments to function call, expected 3, have 4 port_id, xstats_names, NULL, len)) { ^~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2320:1: note: 'rte_eth_xstats_get_names' declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:50: error: too many arguments to function call, expected 3, have 4 ret = rte_eth_xstats_get(port_id, NULL, values, len); ~~~~~~~~~~~~~~~~~~ ^~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2346:1: note: 'rte_eth_xstats_get' declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ 4 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'main.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'proc_info' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #5: OS: FC24_64 Target: i686-native-linuxapp-gcc ^~ /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:48: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:8: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:27: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] port_id, xstats_names, NULL, len)) { ^~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:400:13: error: too many arguments to function ‘rte_eth_xstats_get_names’ if (len != rte_eth_xstats_get_names( ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:42: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror=int-conversion] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t * {aka long long unsigned int *}’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:8: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'main.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'proc_info' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #6: OS: FC24_64 Target: x86_64-native-linuxapp-gcc ^~ /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:48: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:8: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:27: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] port_id, xstats_names, NULL, len)) { ^~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:400:13: error: too many arguments to function ‘rte_eth_xstats_get_names’ if (len != rte_eth_xstats_get_names( ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:42: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror=int-conversion] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t * {aka long unsigned int *}’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:8: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'main.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'proc_info' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #7: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-shared ^~ /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:48: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:8: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:27: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] port_id, xstats_names, NULL, len)) { ^~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:400:13: error: too many arguments to function ‘rte_eth_xstats_get_names’ if (len != rte_eth_xstats_get_names( ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:42: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror=int-conversion] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t * {aka long unsigned int *}’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:8: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'main.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'proc_info' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #8: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-debug ^~ /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:48: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:8: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:27: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] port_id, xstats_names, NULL, len)) { ^~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:400:13: error: too many arguments to function ‘rte_eth_xstats_get_names’ if (len != rte_eth_xstats_get_names( ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:42: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror=int-conversion] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t * {aka long unsigned int *}’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:8: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^~~~~~~~~~~~~~~~~~ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'main.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'proc_info' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #9: OS: UB1604_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:48: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:8: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:27: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:400:13: error: too many arguments to function ‘rte_eth_xstats_get_names’ if (len != rte_eth_xstats_get_names( ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:42: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror=int-conversion] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t * {aka long long unsigned int *}’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:8: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'main.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'proc_info' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #10: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:48: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:8: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:27: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:400:13: error: too many arguments to function ‘rte_eth_xstats_get_names’ if (len != rte_eth_xstats_get_names( ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:42: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror=int-conversion] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t * {aka long unsigned int *}’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:8: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'main.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'proc_info' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #11: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:48: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:8: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:27: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror=int-conversion] port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:400:13: error: too many arguments to function ‘rte_eth_xstats_get_names’ if (len != rte_eth_xstats_get_names( ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:42: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror=int-conversion] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t * {aka long unsigned int *}’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:8: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'main.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'proc_info' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #12: OS: UB1604_64 Target: x86_64-native-linuxapp-clang ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:368:6: note: did you mean 'rte_eth_xstats_get_names'? /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2320:5: note: 'rte_eth_xstats_get_names' declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:54: error: too many arguments to function call, expected 3, have 4 len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ~~~~~~~~~~~~~~~~~~~~~~~~ ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2320:1: note: 'rte_eth_xstats_get_names' declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:33: error: too many arguments to function call, expected 3, have 4 port_id, xstats_names, NULL, len)) { ^~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2320:1: note: 'rte_eth_xstats_get_names' declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:50: error: too many arguments to function call, expected 3, have 4 ret = rte_eth_xstats_get(port_id, NULL, values, len); ~~~~~~~~~~~~~~~~~~ ^~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2346:1: note: 'rte_eth_xstats_get' declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ 4 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'main.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'proc_info' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #13: OS: CentOS7_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:368:2: error: nested extern declaration of ‘rte_eth_xstats_get_id_by_name’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: too many arguments to function ‘rte_eth_xstats_get_names’ port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t *’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ cc1: all warnings being treated as errors Failed Build #14: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:368:6: note: did you mean 'rte_eth_xstats_get_names'? /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2320:5: note: 'rte_eth_xstats_get_names' declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:54: error: too many arguments to function call, expected 3, have 4 len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ~~~~~~~~~~~~~~~~~~~~~~~~ ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2320:1: note: 'rte_eth_xstats_get_names' declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:33: error: too many arguments to function call, expected 3, have 4 port_id, xstats_names, NULL, len)) { ^~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2320:1: note: 'rte_eth_xstats_get_names' declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:50: error: too many arguments to function call, expected 3, have 4 ret = rte_eth_xstats_get(port_id, NULL, values, len); ~~~~~~~~~~~~~~~~~~ ^~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:2346:1: note: 'rte_eth_xstats_get' declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ 4 errors generated. Failed Build #15: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:368:2: error: nested extern declaration of ‘rte_eth_xstats_get_id_by_name’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: too many arguments to function ‘rte_eth_xstats_get_names’ port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t *’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ cc1: all warnings being treated as errors Failed Build #16: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:368:2: error: nested extern declaration of ‘rte_eth_xstats_get_id_by_name’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/proc_info/main.c: In function ‘nic_xstats_display’: /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:383:2: error: too many arguments to function ‘rte_eth_xstats_get_names’ len = rte_eth_xstats_get_names(port_id, NULL, NULL, 0); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: passing argument 3 of ‘rte_eth_xstats_get_names’ makes integer from pointer without a cast [-Werror] port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: expected ‘unsigned int’ but argument is of type ‘void *’ int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:401:4: error: too many arguments to function ‘rte_eth_xstats_get_names’ port_id, xstats_names, NULL, len)) { ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2320:5: note: declared here int rte_eth_xstats_get_names(uint8_t port_id, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: passing argument 3 of ‘rte_eth_xstats_get’ makes integer from pointer without a cast [-Werror] ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: expected ‘unsigned int’ but argument is of type ‘uint64_t *’ int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ /home/patchWorkOrg/compilation/app/proc_info/main.c:410:2: error: too many arguments to function ‘rte_eth_xstats_get’ ret = rte_eth_xstats_get(port_id, NULL, values, len); ^ In file included from /home/patchWorkOrg/compilation/app/proc_info/main.c:48:0: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2346:5: note: declared here int rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, ^ cc1: all warnings being treated as errors DPDK STV team