Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/27044 _Compilation issues_ Submitter: zhao wei Date: Wed, 19 Jul 2017 11:33:18 +0800 DPDK git baseline: Repo:dpdk-next-net, Branch:master, CommitID:97bd47c9bbd431dba78cc607fb25416fc23a3b69 Patch27044-27044 --> compile error Build Summary: 21 Builds Done, 12 Successful, 9 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: UB1610_64 Kernel Version:4.8.0-22-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005 Clang Version:NA x86_64-native-linuxapp-icc OS: RHEL7.3_64 Kernel Version:3.10.0-514.16.1.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-11) Clang Version:NA x86_64-native-linuxapp-icc OS: FC25_64 Kernel Version:4.8.6-300.fc25.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1) Clang Version:NA x86_64-native-linuxapp-icc OS: FreeBSD10.3_64 Kernel Version:10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-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: 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 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-gcc-debug i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: UB1604_64 Kernel Version:4.4.0-78-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 Failed Build #1: OS: RHEL7.2_64 Target: i686-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ether.h:51:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_srand’: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h:63:2: error: implicit declaration of function ‘srand48’ [-Werror=implicit-function-declaration] srand48((long unsigned int)seedval); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h:63:2: error: nested extern declaration of ‘srand48’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_rand’: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h:80:2: error: implicit declaration of function ‘lrand48’ [-Werror=implicit-function-declaration] val = lrand48(); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h:80:2: error: nested extern declaration of ‘lrand48’ [-Werror=nested-externs] In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mempool.h:78:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mbuf.h:65, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ring.h: At top level: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ring.h:199:1: error: unknown type name ‘ssize_t’ ssize_t rte_ring_get_memsize(unsigned count); ^ In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mbuf.h:65:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mempool.h:1525:1: error: unknown type name ‘ssize_t’ ssize_t rte_mempool_xmem_usage(void *vaddr, uint32_t elt_num, ^ cc1: all warnings being treated as errors Failed Build #2: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:51:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_srand’: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:63:2: error: implicit declaration of function ‘srand48’ [-Werror=implicit-function-declaration] srand48((long unsigned int)seedval); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:63:2: error: nested extern declaration of ‘srand48’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_rand’: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:80:2: error: implicit declaration of function ‘lrand48’ [-Werror=implicit-function-declaration] val = lrand48(); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:80:2: error: nested extern declaration of ‘lrand48’ [-Werror=nested-externs] In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:78:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ring.h: At top level: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ring.h:199:1: error: unknown type name ‘ssize_t’ ssize_t rte_ring_get_memsize(unsigned count); ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:1525:1: error: unknown type name ‘ssize_t’ ssize_t rte_mempool_xmem_usage(void *vaddr, uint32_t elt_num, ^ cc1: all warnings being treated as errors Failed Build #3: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc-shared In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:51:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_srand’: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:63:2: error: implicit declaration of function ‘srand48’ [-Werror=implicit-function-declaration] srand48((long unsigned int)seedval); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:63:2: error: nested extern declaration of ‘srand48’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_rand’: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:80:2: error: implicit declaration of function ‘lrand48’ [-Werror=implicit-function-declaration] val = lrand48(); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:80:2: error: nested extern declaration of ‘lrand48’ [-Werror=nested-externs] In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:78:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ring.h: At top level: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ring.h:199:1: error: unknown type name ‘ssize_t’ ssize_t rte_ring_get_memsize(unsigned count); ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:1525:1: error: unknown type name ‘ssize_t’ ssize_t rte_mempool_xmem_usage(void *vaddr, uint32_t elt_num, ^ cc1: all warnings being treated as errors Failed Build #4: OS: RHEL7.3_64 Target: x86_64-native-linuxapp-icc In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_ether.h(51), from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_ethdev.h(183), from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c(36): /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_random.h(63): error #266: function "srand48" declared implicitly srand48((long unsigned int)seedval); ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_ether.h(51), from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_ethdev.h(183), from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c(36): /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_random.h(80): error #266: function "lrand48" declared implicitly val = lrand48(); ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_mempool.h(78), from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_mbuf.h(65), from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_ether.h(52), from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_ethdev.h(183), from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c(36): /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_ring.h(199): error: identifier "ssize_t" is undefined ssize_t rte_ring_get_memsize(unsigned count); ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_mbuf.h(65), from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_ether.h(52), from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_ethdev.h(183), from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c(36): /home/patchWorkOrg/compilation/x86_64-native-linuxapp-icc/include/rte_mempool.h(1525): error: identifier "ssize_t" is undefined ssize_t rte_mempool_xmem_usage(void *vaddr, uint32_t elt_num, ^ compilation aborted for /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c (code 2) Failed Build #5: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc In file included from /usr/include/_ctype.h:94:0, from /usr/include/ctype.h:46, from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_common.h:50, from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_memory.h:57, from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_malloc.h:45, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:35: /usr/include/runetype.h:92:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const' extern _Thread_local const _RuneLocale *_ThreadRuneLocale; ^ /usr/include/runetype.h: In function '__getCurrentRuneLocale': /usr/include/runetype.h:96:6: error: '_ThreadRuneLocale' undeclared (first use in this function) if (_ThreadRuneLocale) ^ /usr/include/runetype.h:96:6: note: each undeclared identifier is reported only once for each function it appears in /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'failsafe.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'failsafe' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #6: OS: CentOS7_64 Target: i686-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ether.h:51:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_srand’: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h:63:2: error: implicit declaration of function ‘srand48’ [-Werror=implicit-function-declaration] srand48((long unsigned int)seedval); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h:63:2: error: nested extern declaration of ‘srand48’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_rand’: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h:80:2: error: implicit declaration of function ‘lrand48’ [-Werror=implicit-function-declaration] val = lrand48(); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_random.h:80:2: error: nested extern declaration of ‘lrand48’ [-Werror=nested-externs] In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mempool.h:78:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mbuf.h:65, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ring.h: At top level: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ring.h:199:1: error: unknown type name ‘ssize_t’ ssize_t rte_ring_get_memsize(unsigned count); ^ In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mbuf.h:65:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mempool.h:1525:1: error: unknown type name ‘ssize_t’ ssize_t rte_mempool_xmem_usage(void *vaddr, uint32_t elt_num, ^ cc1: all warnings being treated as errors Failed Build #7: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang In file included from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:183: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ether.h:51: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_random.h:63:2: error: implicit declaration of function 'srand48' is invalid in C99 [-Werror,-Wimplicit-function-declaration] srand48((long unsigned int)seedval); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_random.h:63:2: note: did you mean 'srand'? /usr/include/stdlib.h:376:13: note: 'srand' declared here extern void srand (unsigned int __seed) __THROW; ^ In file included from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:183: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ether.h:51: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_random.h:80:8: error: implicit declaration of function 'lrand48' is invalid in C99 [-Werror,-Wimplicit-function-declaration] val = lrand48(); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_random.h:80:8: note: did you mean 'srand48'? /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_random.h:63:2: note: 'srand48' declared here srand48((long unsigned int)seedval); ^ In file included from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:183: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ether.h:52: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_mbuf.h:65: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_mempool.h:78: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ring.h:199:1: error: unknown type name 'ssize_t'; did you mean 'size_t'? ssize_t rte_ring_get_memsize(unsigned count); ^~~~~~~ size_t /usr/bin/../lib/clang/3.4.2/include/stddef.h:42:23: note: 'size_t' declared here typedef __SIZE_TYPE__ size_t; ^ In file included from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev.h:183: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ether.h:52: In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_mbuf.h:65: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_mempool.h:1525:1: error: unknown type name 'ssize_t'; did you mean 'size_t'? ssize_t rte_mempool_xmem_usage(void *vaddr, uint32_t elt_num, ^~~~~~~ size_t /usr/bin/../lib/clang/3.4.2/include/stddef.h:42:23: note: 'size_t' declared here typedef __SIZE_TYPE__ size_t; ^ 4 errors generated. Failed Build #8: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:51:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_srand’: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:63:2: error: implicit declaration of function ‘srand48’ [-Werror=implicit-function-declaration] srand48((long unsigned int)seedval); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:63:2: error: nested extern declaration of ‘srand48’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_rand’: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:80:2: error: implicit declaration of function ‘lrand48’ [-Werror=implicit-function-declaration] val = lrand48(); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:80:2: error: nested extern declaration of ‘lrand48’ [-Werror=nested-externs] In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:78:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ring.h: At top level: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ring.h:199:1: error: unknown type name ‘ssize_t’ ssize_t rte_ring_get_memsize(unsigned count); ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:1525:1: error: unknown type name ‘ssize_t’ ssize_t rte_mempool_xmem_usage(void *vaddr, uint32_t elt_num, ^ cc1: all warnings being treated as errors Failed Build #9: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:51:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_srand’: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:63:2: error: implicit declaration of function ‘srand48’ [-Werror=implicit-function-declaration] srand48((long unsigned int)seedval); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:63:2: error: nested extern declaration of ‘srand48’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h: In function ‘rte_rand’: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:80:2: error: implicit declaration of function ‘lrand48’ [-Werror=implicit-function-declaration] val = lrand48(); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_random.h:80:2: error: nested extern declaration of ‘lrand48’ [-Werror=nested-externs] In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:78:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ring.h: At top level: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ring.h:199:1: error: unknown type name ‘ssize_t’ ssize_t rte_ring_get_memsize(unsigned count); ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:52, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:183, from /home/patchWorkOrg/compilation/drivers/net/failsafe/failsafe.c:36: /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:1525:1: error: unknown type name ‘ssize_t’ ssize_t rte_mempool_xmem_usage(void *vaddr, uint32_t elt_num, ^ cc1: all warnings being treated as errors DPDK STV team