See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/1/
------------------------------------------ [...truncated 1056 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_pool.lo CC odp_init.lo CC odp_packet.lo CC odp_packet_io.lo CC odp_buffer.lo CC odp_queue.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/2/
------------------------------------------ [...truncated 1058 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_fwd_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/3/
------------------------------------------ [...truncated 1057 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_crypto.lo CC odp_queue.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/4/
------------------------------------------ [...truncated 1058 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_packet.lo CC odp_buffer.lo CC odp_packet_io.lo CC odp_queue.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/5/
------------------------------------------ [...truncated 1058 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_crypto.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/6/
------------------------------------------ [...truncated 1061 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet_io.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/7/
------------------------------------------ [...truncated 1058 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/8/
------------------------------------------ [...truncated 1061 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/9/
------------------------------------------ [...truncated 1059 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_crypto.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/10/
------------------------------------------ [...truncated 1055 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/11/
------------------------------------------ [...truncated 1058 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/12/
------------------------------------------ [...truncated 1061 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/13/
------------------------------------------ [...truncated 1056 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/14/
------------------------------------------ [...truncated 1067 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC odp_packet.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/15/
------------------------------------------ [...truncated 1057 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/16/
------------------------------------------ [...truncated 1059 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/17/
------------------------------------------ [...truncated 1058 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/18/
------------------------------------------ [...truncated 1059 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/19/
------------------------------------------ [...truncated 1059 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/20/
------------------------------------------ [...truncated 1059 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_buffer.lo CC odp_init.lo CC odp_pool.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/21/
------------------------------------------ [...truncated 1061 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_crypto.lo CC odp_queue.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/22/
------------------------------------------ [...truncated 1060 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_packet.lo CC odp_buffer.lo CC odp_crypto.lo CC odp_packet_io.lo CC odp_queue.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/23/
------------------------------------------ [...truncated 45 lines...] Get:26 http://archive.ubuntu.com utopic/restricted amd64 Packages [18.4 kB] Get:27 http://archive.ubuntu.com utopic/universe amd64 Packages [8000 kB] Get:28 http://archive.ubuntu.com utopic/multiverse amd64 Packages [168 kB] Get:29 http://archive.ubuntu.com utopic/main i386 Packages [1727 kB] Get:30 http://archive.ubuntu.com utopic/restricted i386 Packages [18.9 kB] Get:31 http://archive.ubuntu.com utopic/universe i386 Packages [8008 kB] Get:32 http://archive.ubuntu.com utopic/multiverse i386 Packages [170 kB] Get:33 http://archive.ubuntu.com utopic-backports/main amd64 Packages [1437 B] Get:34 http://archive.ubuntu.com utopic-backports/restricted amd64 Packages [40 B] Get:35 http://archive.ubuntu.com utopic-backports/universe amd64 Packages [14.7 kB] Get:36 http://archive.ubuntu.com utopic-backports/multiverse amd64 Packages [40 B] Get:37 http://archive.ubuntu.com utopic-backports/main i386 Packages [1439 B] Get:38 http://archive.ubuntu.com utopic-backports/restricted i386 Packages [40 B] Get:39 http://archive.ubuntu.com utopic-backports/universe i386 Packages [13.9 kB] Get:40 http://archive.ubuntu.com utopic-backports/multiverse i386 Packages [40 B] Get:41 http://archive.ubuntu.com utopic-updates/main amd64 Packages [327 kB] Get:42 http://archive.ubuntu.com utopic-updates/restricted amd64 Packages [14.1 kB] Get:43 http://archive.ubuntu.com utopic-updates/universe amd64 Packages [128 kB] Get:44 http://archive.ubuntu.com utopic-updates/multiverse amd64 Packages [3943 B] Get:45 http://archive.ubuntu.com utopic-updates/main i386 Packages [325 kB] Get:46 http://archive.ubuntu.com utopic-updates/restricted i386 Packages [14.1 kB] Get:47 http://archive.ubuntu.com utopic-updates/universe i386 Packages [128 kB] Get:48 http://archive.ubuntu.com utopic-updates/multiverse i386 Packages [4102 B] Fetched 40.4 MB in 9s (4243 kB/s) Reading package lists... W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_multiverse_binary-amd64_Packages.gz is not what the server reported 3943 3947 W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_utopic-updates_multiverse_binary-amd64_Packages.gz is not what the server reported 3943 3947 + sudo apt-get install -y --no-install-recommends libssl-dev Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libssl1.0.0 zlib1g-dev Recommended packages: libssl-doc The following NEW packages will be installed: libssl-dev zlib1g-dev The following packages will be upgraded: libssl1.0.0 1 upgraded, 2 newly installed, 0 to remove and 61 not upgraded. Need to get 2119 kB of archives. After this operation, 6902 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ utopic-updates/main libssl1.0.0 amd64 1.0.1f-1ubuntu9.4 [848 kB] Get:2 http://archive.ubuntu.com/ubuntu/ utopic/main zlib1g-dev amd64 1:1.2.8.dfsg-1ubuntu1 [183 kB] Get:3 http://archive.ubuntu.com/ubuntu/ utopic-updates/main libssl-dev amd64 1.0.1f-1ubuntu9.4 [1087 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 2119 kB in 2s (885 kB/s) (Reading database ... 28322 files and directories currently installed.) Preparing to unpack .../libssl1.0.0_1.0.1f-1ubuntu9.4_amd64.deb ... Unpacking libssl1.0.0:amd64 (1.0.1f-1ubuntu9.4) over (1.0.1f-1ubuntu9.1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-1ubuntu1_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ... Selecting previously unselected package libssl-dev:amd64. Preparing to unpack .../libssl-dev_1.0.1f-1ubuntu9.4_amd64.deb ... Unpacking libssl-dev:amd64 (1.0.1f-1ubuntu9.4) ... Processing triggers for man-db (2.7.0.2-2) ... Setting up libssl1.0.0:amd64 (1.0.1f-1ubuntu9.4) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ... Setting up libssl-dev:amd64 (1.0.1f-1ubuntu9.4) ... Processing triggers for libc-bin (2.19-10ubuntu2.2) ... + case "${platform_type}" in + export tcbindir=/home/buildslave/srv/toolchain/arm-tc-14.09/bin + tcbindir=/home/buildslave/srv/toolchain/arm-tc-14.09/bin + bash -x https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build-ks2.sh + set -e + export ARCH=arm + ARCH=arm + export PLATFORM=linux-keystone2 + PLATFORM=linux-keystone2 +++ dirname https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build-ks2.sh ++ readlink -f https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp + export ROOT_DIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp + ROOT_DIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp + source https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/helper/generic ++ '[' -n '' ']' ++ readonly GENERIC_HELPER=1 ++ GENERIC_HELPER=1 ++ export SRCDIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/src ++ SRCDIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/src ++ export BUILDDIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build ++ BUILDDIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build ++ export LOGDIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/log ++ LOGDIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/log ++ export EXTRA_FLAGS=--enable-test-perf ++ EXTRA_FLAGS=--enable-test-perf ++ mkdir -p https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/src ++ mkdir -p https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build ++ mkdir -p https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/log ++ trap control_c SIGINT + export ODP_BUILDDIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2 + ODP_BUILDDIR=https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2 + https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build.sh Preparing platform x - debian-binary x - control.tar.gz x - data.tar.gz gpg: keyring `/home/buildslave/.repoconfig/gnupg/secring.gpg' created gpg: keyring `/home/buildslave/.repoconfig/gnupg/pubring.gpg' created gpg: /home/buildslave/.repoconfig/gnupg/trustdb.gpg: trustdb created gpg: key 920F5C65: public key "Repo Maintainer repo@android.kernel.org" imported gpg: key 692B382C: public key "Conley Owens cco3@android.com" imported gpg: Total number processed: 2 gpg: imported: 2 (RSA: 1) Get https://gerrit.googlesource.com/git-repo/clone.bundle Get git://git.linaro.org/people/taras.kondratiuk/ks2-odp-manifest.git
From git://git.linaro.org/people/taras.kondratiuk/ks2-odp-manifest
* [new branch] master -> origin/master * [new branch] odp-mcsdk-3.00.04.18 -> origin/odp-mcsdk-3.00.04.18 * [new branch] odp-mcsdk-3.01.00.03 -> origin/odp-mcsdk-3.01.00.03
repo has been initialized in https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/KS2/ks2_odp % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring. curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
From https://git.linaro.org/people/taras.kondratiuk/ks2-odp-build
* [new branch] master -> linaro/taras-https/master * [new branch] odp-mcsdk-3.00.04.18 -> linaro/taras-https/odp-mcsdk-3.00.04.18 * [new branch] odp-mcsdk-3.01.00.03 -> linaro/taras-https/odp-mcsdk-3.01.00.03 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
* [new branch] master -> linaro/taras-https/master * [new branch] odp-mcsdk-3.00.04.18 -> linaro/taras-https/odp-mcsdk-3.00.04.18 * [new branch] odp-mcsdk-3.01.00.03 -> linaro/taras-https/odp-mcsdk-3.01.00.03 * [new branch] odp-mcsdk-3.01.01.04 -> linaro/taras-https/odp-mcsdk-3.01.01.04 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
From https://git.linaro.org/people/taras.kondratiuk/nwal-lld
* [new branch] master -> linaro/taras-https/master * [new branch] odp-mcsdk-3.00.04.18 -> linaro/taras-https/odp-mcsdk-3.00.04.18 * [new branch] odp-mcsdk-3.01.00.03 -> linaro/taras-https/odp-mcsdk-3.01.00.03 * [new branch] odp-mcsdk-3.01.01.04 -> linaro/taras-https/odp-mcsdk-3.01.01.04 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
From https://git.linaro.org/people/taras.kondratiuk/common-csl-ip
* [new branch] odp-mcsdk-3.01.00.03 -> linaro/taras-https/odp-mcsdk-3.01.00.03 * [new branch] odp-mcsdk-3.01.01.04 -> linaro/taras-https/odp-mcsdk-3.01.01.04 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
* [new branch] master -> linaro-https/master % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
* [new branch] master -> linaro/taras-https/master * [new branch] odp-mcsdk-3.00.04.18 -> linaro/taras-https/odp-mcsdk-3.00.04.18 * [new branch] odp-mcsdk-3.01.00.03 -> linaro/taras-https/odp-mcsdk-3.01.00.03 * [new branch] odp-mcsdk-3.01.01.04 -> linaro/taras-https/odp-mcsdk-3.01.01.04 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
From https://git.linaro.org/people/taras.kondratiuk/qmss-lld
* [new branch] master -> linaro/taras-https/master * [new branch] odp-mcsdk-3.00.04.18 -> linaro/taras-https/odp-mcsdk-3.00.04.18 * [new branch] odp-mcsdk-3.01.00.03 -> linaro/taras-https/odp-mcsdk-3.01.00.03 * [new branch] odp-mcsdk-3.01.01.04 -> linaro/taras-https/odp-mcsdk-3.01.01.04 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
* [new branch] master -> linaro/taras-https/master * [new branch] odp-mcsdk-3.00.04.18 -> linaro/taras-https/odp-mcsdk-3.00.04.18 * [new branch] odp-mcsdk-3.01.00.03 -> linaro/taras-https/odp-mcsdk-3.01.00.03 * [new branch] odp-mcsdk-3.01.01.04 -> linaro/taras-https/odp-mcsdk-3.01.01.04 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
* [new branch] master -> linaro/taras-https/master * [new branch] odp-mcsdk-3.00.04.18 -> linaro/taras-https/odp-mcsdk-3.00.04.18 * [new branch] odp-mcsdk-3.01.00.03 -> linaro/taras-https/odp-mcsdk-3.01.00.03 * [new branch] odp-mcsdk-3.01.01.04 -> linaro/taras-https/odp-mcsdk-3.01.01.04 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
From https://git.linaro.org/people/taras.kondratiuk/cppi-lld
* [new branch] master -> linaro/taras-https/master * [new branch] odp-mcsdk-3.00.04.18 -> linaro/taras-https/odp-mcsdk-3.00.04.18 * [new branch] odp-mcsdk-3.01.00.03 -> linaro/taras-https/odp-mcsdk-3.01.00.03 * [new branch] odp-mcsdk-3.01.01.04 -> linaro/taras-https/odp-mcsdk-3.01.01.04 fatal: unable to access 'https://git.linaro.org/people/taras.kondratiuk/pa-lld.git/': gnutls_handshake() failed: Error in the pull function. fatal: unable to access 'https://git.linaro.org/people/taras.kondratiuk/pa-lld.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated. error: Cannot fetch pa-lld.git
error: Exited sync due to fetch errors Fetching project pktlib.git Fetching project ks2-odp-build.git Fetching project nwal-lld.git Fetching project common-csl-ip.git Fetching project pa-lld.git Fetching project lng/odp-keystone2.git Fetching project rm-lld.git Fetching project qmss-lld.git Fetching project sa-lld.git Fetching project hplib.git Fetching project cppi-lld.git Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/25/
------------------------------------------ [...truncated 1056 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/26/
------------------------------------------ [...truncated 1057 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_packet.lo CC odp_buffer.lo CC odp_packet_io.lo CC odp_crypto.lo CC odp_queue.lo CC shared_resource.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC ../linux-generic/odp_barrier.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/27/
------------------------------------------ [...truncated 1061 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC odp_buffer.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/28/
------------------------------------------ [...truncated 1060 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/29/
------------------------------------------ [...truncated 1062 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/30/
------------------------------------------ [...truncated 1060 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_queue.lo CC odp_buffer.lo CC odp_packet.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/31/
------------------------------------------ [...truncated 1058 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_pool.lo CC odp_init.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/32/
------------------------------------------ [...truncated 1060 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_packet.lo CC odp_crypto.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_buffer.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/33/
------------------------------------------ [...truncated 1061 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_crypto.lo CC odp_queue.lo CC odp_packet.lo CC shared_resource.lo CC odp_packet_io.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/34/
------------------------------------------ [...truncated 1060 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/35/
------------------------------------------ [...truncated 1060 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_packet.lo CC odp_pool.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC odp_buffer.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/36/
------------------------------------------ [...truncated 1060 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_init.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/37/
------------------------------------------ [...truncated 1059 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_crypto.lo CC odp_packet_io.lo CC odp_queue.lo CC odp_packet.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/38/
------------------------------------------ [...truncated 1061 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_pool.lo CC odp_crypto.lo CC odp_init.lo CC odp_packet.lo CC odp_buffer.lo CC odp_packet_io.lo CC odp_queue.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_sa_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/40/
------------------------------------------ [...truncated 1056 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_crypto.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_packet.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/41/
------------------------------------------ [...truncated 1056 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/42/
------------------------------------------ [...truncated 1062 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/43/
------------------------------------------ [...truncated 1056 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/44/
------------------------------------------ [...truncated 1058 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/45/
------------------------------------------ [...truncated 1059 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/46/
------------------------------------------ [...truncated 1056 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_packet.lo CC odp_buffer.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_fwd_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/47/
------------------------------------------ [...truncated 1056 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/48/
------------------------------------------ [...truncated 1056 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet_io.lo CC odp_queue.lo CC odp_packet.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/49/
------------------------------------------ [...truncated 1057 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/50/
------------------------------------------ [...truncated 1058 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/51/
------------------------------------------ [...truncated 1062 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_packet_io.lo CC odp_crypto.lo CC odp_queue.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_sp_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/52/
------------------------------------------ [...truncated 1063 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/53/
------------------------------------------ [...truncated 1064 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/54/
------------------------------------------ [...truncated 1061 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_queue.lo CC odp_packet.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/55/
------------------------------------------ [...truncated 1065 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_packet.lo CC odp_buffer.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_init.lo CC mcsdk/sockutils.lo CC mcsdk/mcsdk_navig.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/56/
------------------------------------------ [...truncated 1064 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_queue.lo CC odp_buffer.lo CC odp_packet.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_stream.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/57/
------------------------------------------ [...truncated 1068 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_init.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/58/
------------------------------------------ [...truncated 1062 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/59/
------------------------------------------ [...truncated 1062 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC odp_crypto.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/60/
------------------------------------------ [...truncated 1063 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_init.lo CC mcsdk/sockutils.lo CC mcsdk/mcsdk_rmclient.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_loop_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/61/
------------------------------------------ [...truncated 1062 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_packet.lo CC odp_queue.lo CC odp_crypto.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_fwd_db.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE
See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/62/
------------------------------------------ [...truncated 1062 lines...] am_cflags: -pthread -DODP_DEBUG_PRINT=1 -DODP_DEBUG=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: am_ldflags: -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/cunit-2.1-3/lib -Lhttps://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/installed/arm/openssl-OpenSSL_1_0_1h/lib -pthread -lrt libs: -lcrypto -lcunit cunit: yes test_vald: yes test_perf: yes test_cpp: no
Making all in doc make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/doc' Making all in platform make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in linux-keystone2 make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' CC odp_init.lo CC odp_pool.lo CC odp_buffer.lo CC odp_crypto.lo CC odp_packet.lo CC odp_queue.lo CC odp_packet_io.lo CC shared_resource.lo CC mcsdk/mcsdk_init.lo CC mcsdk/mcsdk_rmclient.lo CC mcsdk/mcsdk_navig.lo CC mcsdk/sockutils.lo CC ../linux-generic/odp_barrier.lo CC ../linux-generic/odp_cpumask.lo CC ../linux-generic/odp_impl.lo CC ../linux-generic/odp_errno.lo CC ../linux-generic/odp_linux.lo CC ../linux-generic/odp_ring.lo CC ../linux-generic/odp_rwlock.lo CC ../linux-generic/odp_shared_memory.lo CC ../linux-generic/odp_schedule.lo CC ../linux-generic/odp_spinlock.lo CC ../linux-generic/odp_system_info.lo CC ../linux-generic/odp_thread.lo CC ../linux-generic/odp_ticketlock.lo CC ../linux-generic/odp_time.lo CC ../linux-generic/odp_version.lo CC ../linux-generic/odp_weak.lo CCLD ../../lib/libodp.la make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform/linux-keystone2' make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/platform' Making all in example make[1]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Making all in generator make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' CC odp_generator-odp_generator.o CCLD odp_generator make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/generator' Making all in ipsec make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' CC odp_ipsec-odp_ipsec_sa_db.o CC odp_ipsec-odp_ipsec.o CC odp_ipsec-odp_ipsec_sp_db.o CC odp_ipsec-odp_ipsec_fwd_db.o CC odp_ipsec-odp_ipsec_loop_db.o CC odp_ipsec-odp_ipsec_stream.o CC odp_ipsec-odp_ipsec_cache.o CCLD odp_ipsec make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/ipsec' Making all in l2fwd make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' CC odp_l2fwd-odp_l2fwd.o CCLD odp_l2fwd make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/l2fwd' Making all in packet make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' CC odp_pktio-odp_pktio.o CCLD odp_pktio make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/packet' Making all in timer make[2]: Entering directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' CC odp_timer_test-odp_timer_test.o odp_timer_test.c:50:8: error: unknown type name 'odp_timer_pool_t' static odp_timer_pool_t tp; ^ odp_timer_test.c:56:33: error: unknown type name 'odp_timer_set_t' static const char *timerset2str(odp_timer_set_t val) ^ odp_timer_test.c:74:2: error: unknown type name 'odp_timer_t' odp_timer_t tim; ^ odp_timer_test.c: In function 'test_abs_timeouts': odp_timer_test.c:89:2: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo; ^ odp_timer_test.c:96:2: error: implicit declaration of function 'odp_timer_ns_to_tick' [-Werror=implicit-function-declaration] period = odp_timer_ns_to_tick(tp, period_ns); ^ odp_timer_test.c:96:2: error: nested extern declaration of 'odp_timer_ns_to_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: implicit declaration of function 'odp_timer_current_tick' [-Werror=implicit-function-declaration] EXAMPLE_DBG(" [%i] current tick %"PRIu64"\n", thr, ^ odp_timer_test.c:101:2: error: nested extern declaration of 'odp_timer_current_tick' [-Werror=nested-externs] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:101:2: error: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'int' [-Werror=format=] odp_timer_test.c:105:2: error: implicit declaration of function 'odp_timer_alloc' [-Werror=implicit-function-declaration] ttp->tim = odp_timer_alloc(tp, queue, ttp); ^ odp_timer_test.c:105:2: error: nested extern declaration of 'odp_timer_alloc' [-Werror=nested-externs] odp_timer_test.c:106:18: error: 'ODP_TIMER_INVALID' undeclared (first use in this function) if (ttp->tim == ODP_TIMER_INVALID) { ^ odp_timer_test.c:106:18: note: each undeclared identifier is reported only once for each function it appears in odp_timer_test.c:110:2: error: implicit declaration of function 'odp_timeout_alloc' [-Werror=implicit-function-declaration] tmo = odp_timeout_alloc(pool); ^ odp_timer_test.c:110:2: error: nested extern declaration of 'odp_timeout_alloc' [-Werror=nested-externs] odp_timer_test.c:111:13: error: 'ODP_TIMEOUT_INVALID' undeclared (first use in this function) if (tmo == ODP_TIMEOUT_INVALID) { ^ odp_timer_test.c:115:2: error: implicit declaration of function 'odp_timeout_to_event' [-Werror=implicit-function-declaration] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:115:2: error: nested extern declaration of 'odp_timeout_to_event' [-Werror=nested-externs] odp_timer_test.c:115:10: error: assignment makes pointer from integer without a cast [-Werror] ttp->ev = odp_timeout_to_event(tmo); ^ odp_timer_test.c:120:3: error: unknown type name 'odp_timer_set_t' odp_timer_set_t rc; ^ odp_timer_test.c:123:3: error: implicit declaration of function 'odp_timer_set_abs' [-Werror=implicit-function-declaration] rc = odp_timer_set_abs(ttp->tim, tick, &ttp->ev); ^ odp_timer_test.c:123:3: error: nested extern declaration of 'odp_timer_set_abs' [-Werror=nested-externs] In file included from ../../platform/linux-generic/include/odp/hints.h:28:0, from ../../platform/linux-keystone2/include/odp.h:28, from odp_timer_test.c:19: odp_timer_test.c:124:26: error: 'ODP_TIMER_SUCCESS' undeclared (first use in this function) if (odp_unlikely(rc != ODP_TIMER_SUCCESS)) { ^ ../../include/odp/api/hints.h:71:43: note: in definition of macro 'odp_unlikely' #define odp_unlikely(x) __builtin_expect((x), 0) ^ odp_timer_test.c:126:4: error: implicit declaration of function 'timerset2str' [-Werror=implicit-function-declaration] EXAMPLE_ABORT("odp_timer_set_abs() failed: %s\n", ^ odp_timer_test.c:126:4: error: nested extern declaration of 'timerset2str' [-Werror=nested-externs] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:126:4: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] odp_timer_test.c:152:3: error: unknown type name 'odp_timeout_t' odp_timeout_t tmo = odp_timeout_from_event(ev); ^ odp_timer_test.c:152:3: error: implicit declaration of function 'odp_timeout_from_event' [-Werror=implicit-function-declaration] odp_timer_test.c:152:3: error: nested extern declaration of 'odp_timeout_from_event' [-Werror=nested-externs] odp_timer_test.c:153:3: error: implicit declaration of function 'odp_timeout_tick' [-Werror=implicit-function-declaration] tick = odp_timeout_tick(tmo); ^ odp_timer_test.c:153:3: error: nested extern declaration of 'odp_timeout_tick' [-Werror=nested-externs] odp_timer_test.c:154:3: error: implicit declaration of function 'odp_timeout_user_ptr' [-Werror=implicit-function-declaration] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:154:3: error: nested extern declaration of 'odp_timeout_user_ptr' [-Werror=nested-externs] odp_timer_test.c:154:7: error: assignment makes pointer from integer without a cast [-Werror] ttp = odp_timeout_user_ptr(tmo); ^ odp_timer_test.c:156:3: error: implicit declaration of function 'odp_timeout_fresh' [-Werror=implicit-function-declaration] if (!odp_timeout_fresh(tmo)) { ^ odp_timer_test.c:156:3: error: nested extern declaration of 'odp_timeout_fresh' [-Werror=nested-externs] odp_timer_test.c:168:2: error: implicit declaration of function 'odp_timer_cancel' [-Werror=implicit-function-declaration] (void)odp_timer_cancel(ttp->tim, &ttp->ev); ^ odp_timer_test.c:168:2: error: nested extern declaration of 'odp_timer_cancel' [-Werror=nested-externs] odp_timer_test.c:170:3: error: implicit declaration of function 'odp_timeout_free' [-Werror=implicit-function-declaration] odp_timeout_free(odp_timeout_from_event(ttp->ev)); ^ odp_timer_test.c:170:3: error: nested extern declaration of 'odp_timeout_free' [-Werror=nested-externs] odp_timer_test.c:175:2: error: implicit declaration of function 'odp_timer_free' [-Werror=implicit-function-declaration] (void)odp_timer_free(ttp->tim); ^ odp_timer_test.c:175:2: error: nested extern declaration of 'odp_timer_free' [-Werror=nested-externs] odp_timer_test.c: In function 'main': odp_timer_test.c:317:2: error: unknown type name 'odp_timer_pool_param_t' odp_timer_pool_param_t tparams; ^ odp_timer_test.c:318:2: error: unknown type name 'odp_timer_pool_info_t' odp_timer_pool_info_t tpinfo; ^ odp_timer_test.c:386:9: error: request for member 'res_ns' in something not a structure or union tparams.res_ns = args.resolution_us*ODP_TIME_USEC; ^ odp_timer_test.c:387:9: error: request for member 'min_tmo' in something not a structure or union tparams.min_tmo = args.min_us*ODP_TIME_USEC; ^ odp_timer_test.c:388:9: error: request for member 'max_tmo' in something not a structure or union tparams.max_tmo = args.max_us*ODP_TIME_USEC; ^ odp_timer_test.c:389:9: error: request for member 'num_timers' in something not a structure or union tparams.num_timers = num_workers; /* One timer per worker */ ^ odp_timer_test.c:390:9: error: request for member 'priv' in something not a structure or union tparams.priv = 0; /* Shared */ ^ odp_timer_test.c:391:9: error: request for member 'clk_src' in something not a structure or union tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:391:20: error: 'ODP_CLOCK_CPU' undeclared (first use in this function) tparams.clk_src = ODP_CLOCK_CPU; ^ odp_timer_test.c:392:2: error: implicit declaration of function 'odp_timer_pool_create' [-Werror=implicit-function-declaration] tp = odp_timer_pool_create("timer_pool", &tparams); ^ odp_timer_test.c:392:2: error: nested extern declaration of 'odp_timer_pool_create' [-Werror=nested-externs] odp_timer_test.c:393:12: error: 'ODP_TIMER_POOL_INVALID' undeclared (first use in this function) if (tp == ODP_TIMER_POOL_INVALID) { ^ odp_timer_test.c:397:2: error: implicit declaration of function 'odp_timer_pool_start' [-Werror=implicit-function-declaration] odp_timer_pool_start(); ^ odp_timer_test.c:397:2: error: nested extern declaration of 'odp_timer_pool_start' [-Werror=nested-externs] odp_timer_test.c:400:2: error: implicit declaration of function 'odp_timer_pool_info' [-Werror=implicit-function-declaration] (void)odp_timer_pool_info(tp, &tpinfo); ^ odp_timer_test.c:400:2: error: nested extern declaration of 'odp_timer_pool_info' [-Werror=nested-externs] odp_timer_test.c:403:31: error: request for member 'name' in something not a structure or union printf(" name: %s\n", tpinfo.name); ^ odp_timer_test.c:404:47: error: request for member 'param' in something not a structure or union printf(" resolution: %"PRIu64" ns\n", tpinfo.param.res_ns); ^ odp_timer_test.c:405:47: error: request for member 'param' in something not a structure or union printf(" min tmo: %"PRIu64" ticks\n", tpinfo.param.min_tmo); ^ odp_timer_test.c:406:47: error: request for member 'param' in something not a structure or union printf(" max tmo: %"PRIu64" ticks\n", tpinfo.param.max_tmo); ^ cc1: all warnings being treated as errors Makefile:462: recipe for target 'odp_timer_test-odp_timer_test.o' failed make[2]: *** [odp_timer_test-odp_timer_test.o] Error 1 make[2]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example/timer' Makefile:377: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/ws/check-odp/build/odp-keystone2/example' Makefile:462: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Build step 'Execute shell' marked build as failure Skipping publisher since build result is FAILURE