See https://ci.linaro.org/jenkins/job/odp-api-platform-check/label=docker-utopic,platform_type=ks2/64/
------------------------------------------ [...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_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_fwd_db.o CC odp_ipsec-odp_ipsec_cache.o CC odp_ipsec-odp_ipsec_sp_db.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