>>> hawktracer e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/hawktracer/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8 -xf - >>> hawktracer e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8 Patching >>> hawktracer e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8 Configuring (mkdir -p /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/ && cd /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-2/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DENABLE_ASAN=OFF -DENABLE_TESTS=OFF -DENABLE_CODE_COVERAGE=OFF -DENABLE_BENCHMARKS=OFF -DENABLE_DOC=OFF -DENABLE_PYTHON_BINDINGS=OFF -DENABLE_MAINTAINER_MODE=OFF -DENABLE_RELEASE_MODE=OFF -DENABLE_CLIENT=OFF -DENABLE_EXAMPLES=OFF -DBUILD_STATIC_LIB=OFF -DENABLE_TCP_LISTENER=OFF -DENABLE_THREADS=ON ) -- The C compiler identification is GNU 4.8.3 -- The CXX compiler identification is GNU 4.8.3 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Feature CPU_USAGE enabled. Used file: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/lib/platform/linux/cpu_usage.c -- Feature MEMORY_USAGE enabled. Used file: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/lib/platform/linux/memory_usage.c -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.3", minimum required is "3") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8 >>> hawktracer e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8 Building PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/ make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' [ 3%] Generating hawktracer.c [ 6%] Generating hawktracer.cpp make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' [ 12%] Building C object lib/CMakeFiles/hawktracer.dir/alloc.c.o [ 12%] Building C object lib/CMakeFiles/hawktracer.dir/bag.c.o [ 15%] Building C object lib/CMakeFiles/hawktracer.dir/command_line_parser.c.o [ 18%] Building C object lib/CMakeFiles/hawktracer.dir/event_utils.c.o [ 21%] Building C object lib/CMakeFiles/hawktracer.dir/events.c.o [ 24%] Building C object lib/CMakeFiles/hawktracer.dir/feature_cached_string.c.o Generating files... Generate header file /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h Generate source file /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp Generating files completed successfully! Generating files... Generate header file /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h Generate source file /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.c Generating files completed successfully! make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' [ 30%] Building CXX object CMakeFiles/amalgamated_hawktracer_cpp.dir/hawktracer.cpp.o [ 30%] Building C object CMakeFiles/amalgamated_hawktracer_c.dir/hawktracer.c.o In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.c:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:426:7: error: expected ',' or '}' before '*' token H * @param size new size of the memory block. ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:426:9: error: stray '@' in program H * @param size new size of the memory block. ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:428:4: error: stray '@' in program * @return a pointer to reallocated memory. ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:676:1: warning: "/*" within comment [-Wcomment] /** ^ In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.c:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:1679:0: error: unterminated #ifdef #ifdef HT_USE_PTHREADS ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:922:0: error: unterminated #ifdef #ifdef HT_PLATFORM_FEATURE_ALLOC_HOOKS_ENABLED ^ In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.c:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:26:0: error: unterminated #ifndef #ifndef HAWKTRACER_ALL_H ^ In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:426:9: error: stray '@' in program H * @param size new size of the memory block. ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:428:4: error: stray '@' in program * @return a pointer to reallocated memory. ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:676:1: warning: "/*" within comment [-Wcomment] /** ^ In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:1679:0: error: unterminated #ifdef #ifdef HT_USE_PTHREADS ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:922:0: error: unterminated #ifdef #ifdef HT_PLATFORM_FEATURE_ALLOC_HOOKS_ENABLED ^ In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:26:0: error: unterminated #ifndef #ifndef HAWKTRACER_ALL_H ^ [ 33%] Building C object lib/CMakeFiles/hawktracer.dir/feature_callstack.c.o CMakeFiles/amalgamated_hawktracer_c.dir/build.make:79: recipe for target 'CMakeFiles/amalgamated_hawktracer_c.dir/hawktracer.c.o' failed make[3]: *** [CMakeFiles/amalgamated_hawktracer_c.dir/hawktracer.c.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' CMakeFiles/Makefile2:137: recipe for target 'CMakeFiles/amalgamated_hawktracer_c.dir/all' failed make[2]: *** [CMakeFiles/amalgamated_hawktracer_c.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 36%] Building C object lib/CMakeFiles/hawktracer.dir/hash_map.c.o In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:426:7: error: expected '}' before '*' token H * @param size new size of the memory block. ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:426:16: error: expected initializer before 'size' H * @param size new size of the memory block. ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:496:17: error: redeclaration of 'HT_ERR_OK' HT_ERR_OK = 0, ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:424:5: note: previous declaration ' HT_ERR_OK' HT_ERR_OK = 0, ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:681:1: error: expected initializer before 'typedef' typedef struct _HT_EventIdProvider HT_EventIdProvider; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:690:8: error: 'HT_EventIdProvider' does not name a type HT_API HT_EventIdProvider* ht_event_id_provider_get_default(void); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:697:8: error: 'HT_EventIdProvider' does not name a type HT_API HT_EventIdProvider* ht_event_id_provider_create(void); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:703:42: error: variable or field 'ht_event_id_provider_destroy' declared void HT_API void ht_event_id_provider_destroy(HT_EventIdProvider* provider); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:703:42: error: 'HT_EventIdProvider' was not declared in this scope /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:703:62: error: 'provider' was not declared in this scope HT_API void ht_event_id_provider_destroy(HT_EventIdProvider* provider); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:712:45: error: 'HT_EventIdProvider' was not declared in this scope HT_API HT_EventId ht_event_id_provider_next(HT_EventIdProvider* provider); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:712:65: error: 'provider' was not declared in this scope HT_API HT_EventId ht_event_id_provider_next(HT_EventIdProvider* provider); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:287:49: error: 'HT_Event' was not declared in this scope size_t ht_event_utils_serialize_event_to_buffer(HT_Event* event, HT_Byte* buffer, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:287:59: error: 'event' was not declared in this scope size_t ht_event_utils_serialize_event_to_buffer(HT_Event* event, HT_Byte* buffer, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:287:73: error: expected primary-expression before '*' token size_t ht_event_utils_serialize_event_to_buffer(HT_Event* event, HT_Byte* buffer, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:287:75: error: 'buffer' was not declared in this scope size_t ht_event_utils_serialize_event_to_buffer(HT_Event* event, HT_Byte* buffer, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:287:94: error: expected primary-expression before 'serialize' size_t ht_event_utils_serialize_event_to_buffer(HT_Event* event, HT_Byte* buffer, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:287:103: error: expression list treated as compound expression in initializer [-fpermissive] size_t ht_event_utils_serialize_event_to_buffer(HT_Event* event, HT_Byte* buffer, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:321:9: error: 'HT_TimelineListenerCallback' has not been declared HT_TimelineListenerCallback callback, ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:448:56: error: 'HT_TimelineListenerCallback' was not declared in this scope size_t ht_system_info_push_endianness_info_to_listener(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:448:94: error: expected primary-expression before 'void' size_t ht_system_info_push_endianness_info_to_listener(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:448:121: error: expected primary-expression before 'serialize' size_t ht_system_info_push_endianness_info_to_listener(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:448:130: error: expression list treated as compound expression in initializer [-fpermissive] size_t ht_system_info_push_endianness_info_to_listener(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:450:52: error: 'HT_TimelineListenerCallback' was not declared in this scope size_t ht_system_info_push_system_info_to_listener(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:450:90: error: expected primary-expression before 'void' size_t ht_system_info_push_system_info_to_listener(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:450:117: error: expected primary-expression before 'serialize' size_t ht_system_info_push_system_info_to_listener(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:450:126: error: expression list treated as compound expression in initializer [-fpermissive] size_t ht_system_info_push_system_info_to_listener(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize); ^ [ 39%] Building C object lib/CMakeFiles/hawktracer.dir/init.c.o In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_TaskScheduler* ht_task_scheduler_create(HT_ErrorCode*)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:446:58: error: 'ht_alloc' was not declared in this scope #define HT_CREATE_TYPE(Type) (Type*)ht_alloc(sizeof(Type)) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:492:40: note: in expansion of macro 'HT_CREATE_TYPE' HT_TaskScheduler* task_scheduler = HT_CREATE_TYPE(HT_TaskScheduler); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:502:23: warning: comparison between 'enum HT_ErrorCode' and 'enum' [-Wenum-compare] if (error_code != HT_ERR_OK) ^ In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_TaskId ht_task_scheduler_schedule_task(HT_TaskScheduler*, HT_TaskSchedulingMode, HT_DurationNs, HT_TaskCallback, void*)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:446:58: error: 'ht_alloc' was not declared in this scope #define HT_CREATE_TYPE(Type) (Type*)ht_alloc(sizeof(Type)) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:544:12: note: in expansion of macro 'HT_CREATE_TYPE' task = HT_CREATE_TYPE(HT_Task); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:553:61: error: 'ht_monotonic_clock_get_timestamp' was not declared in this scope task->next_action_ts = ht_monotonic_clock_get_timestamp() + period; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:557:62: warning: comparison between 'enum HT_ErrorCode' and 'enum' [-Wenum-compare] if (ht_bag_void_ptr_add(&task_scheduler->tasks, task) != HT_ERR_OK) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'void ht_task_scheduler_tick(HT_TaskScheduler*)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:574:66: error: 'ht_monotonic_clock_get_timestamp' was not declared in this scope HT_TimestampNs now_ts = ht_monotonic_clock_get_timestamp(); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: At global scope: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:663:5: error: 'HT_TimelineListenerCallback' does not name a type HT_TimelineListenerCallback callback; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_Boolean ht_bag_listener_resize_(HT_BagListener*, size_t)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:86:78: error: 'ht_realloc' was not declared in this scope TYPE* ptr = (TYPE*)ht_realloc(bag->data, new_capacity * sizeof(void*)); \ ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:669:1: note: in expansion of macro 'HT_DEFINE_BAG_TYPE' HT_DEFINE_BAG_TYPE(Listener, _listener, HT_TimelineListenerEntry) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_bag_listener_init(HT_BagListener*, size_t)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:102:64: error: 'ht_alloc' was not declared in this scope bag->data = (TYPE*)ht_alloc(min_capacity * sizeof(TYPE)); \ ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:669:1: note: in expansion of macro 'HT_DEFINE_BAG_TYPE' HT_DEFINE_BAG_TYPE(Listener, _listener, HT_TimelineListenerEntry) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:113:16: error: cannot convert '' to 'HT_ErrorCode' in return return HT_ERR_OK; \ ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:669:1: note: in expansion of macro 'HT_DEFINE_BAG_TYPE' HT_DEFINE_BAG_TYPE(Listener, _listener, HT_TimelineListenerEntry) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_bag_listener_add(HT_BagListener*, HT_TimelineListenerEntry)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:144:16: error: cannot convert '' to 'HT_ErrorCode' in return return HT_ERR_OK; \ ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:669:1: note: in expansion of macro 'HT_DEFINE_BAG_TYPE' HT_DEFINE_BAG_TYPE(Listener, _listener, HT_TimelineListenerEntry) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'void ht_timeline_listener_container_notify_listeners(HT_TimelineListenerContainer*, TEventPtr, size_t, HT_Boolean)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:715:16: error: 'struct HT_TimelineListenerEntry' has no member named 'callback' entry->callback(events, size, serialize_events, entry->user_data); ^ In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_TimelineListenerContainer* ht_timeline_listener_container_create()': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:446:58: error: 'ht_alloc' was not declared in this scope #define HT_CREATE_TYPE(Type) (Type*)ht_alloc(sizeof(Type)) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:722:47: note: in expansion of macro 'HT_CREATE_TYPE' HT_TimelineListenerContainer* container = HT_CREATE_TYPE(HT_TimelineListenerContainer); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:729:58: warning: comparison between 'enum HT_ErrorCode' and 'enum' [-Wenum-compare] if (ht_bag_listener_init(&container->entries, 16) != HT_ERR_OK) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: At global scope: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:788:9: error: 'HT_TimelineListenerCallback' has not been declared HT_TimelineListenerCallback callback, ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_timeline_listener_container_register_listener(HT_TimelineListenerContainer*, int, void*, HT_DestroyCallback)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:795:5: error: too many initializers for 'HT_TimelineListenerEntry' }; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:795:5: error: invalid conversion from 'int' to 'void*' [-fpermissive] /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:795:5: error: invalid conversion from 'void*' to 'HT_DestroyCallback {aka void (*)(void*)}' [-fpermissive] /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:800:23: warning: comparison between 'enum HT_ErrorCode' and 'enum' [-Wenum-compare] if (error_code != HT_ERR_OK) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: At global scope: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:849:36: error: 'HT_TimelineListenerCallback' was not declared in this scope ht_timeline_listener_push_metadata(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:849:74: error: expected primary-expression before 'void' ht_timeline_listener_push_metadata(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:849:101: error: expected primary-expression before 'serialize' ht_timeline_listener_push_metadata(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:849:110: error: expression list treated as compound expression in initializer [-fpermissive] ht_timeline_listener_push_metadata(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:850:1: error: expected ',' or ';' before '{' token { ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'void ht_init(int, char**)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:874:29: error: 'HT_EndiannessInfoEvent' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_EndiannessInfoEvent); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:874:51: error: 'HT_REGISTER_EVENT_KLASS' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_EndiannessInfoEvent); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:875:29: error: 'HT_Event' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_Event); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:876:29: error: 'HT_EventKlassInfoEvent' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_EventKlassInfoEvent); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:877:29: error: 'HT_EventKlassFieldInfoEvent' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_EventKlassFieldInfoEvent); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:878:29: error: 'HT_CallstackBaseEvent' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_CallstackBaseEvent); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:879:29: error: 'HT_CallstackIntEvent' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_CallstackIntEvent); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:880:29: error: 'HT_CallstackStringEvent' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_CallstackStringEvent); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:881:29: error: 'HT_StringMappingEvent' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_StringMappingEvent); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:882:29: error: 'HT_SystemInfoEvent' was not declared in this scope HT_REGISTER_EVENT_KLASS(HT_SystemInfoEvent); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:887:38: error: '_ht_posix_mapped_tracepoint_init' was not declared in this scope _ht_posix_mapped_tracepoint_init(); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'void ht_deinit()': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:905:44: error: '_ht_posix_mapped_tracepoint_deinit' was not declared in this scope _ht_posix_mapped_tracepoint_deinit(); ^ [ 42%] Building C object lib/CMakeFiles/hawktracer.dir/listener_buffer.c.o [ 45%] Building C object lib/CMakeFiles/hawktracer.dir/registry.c.o [ 48%] Building C object lib/CMakeFiles/hawktracer.dir/scoped_tracepoint.c.o [ 51%] Building C object lib/CMakeFiles/hawktracer.dir/stack.c.o [ 54%] Building C object lib/CMakeFiles/hawktracer.dir/system_info.c.o [ 57%] Building C object lib/CMakeFiles/hawktracer.dir/task_scheduler.c.o [ 60%] Building C object lib/CMakeFiles/hawktracer.dir/thread.c.o [ 63%] Building C object lib/CMakeFiles/hawktracer.dir/timeline.c.o [ 66%] Building C object lib/CMakeFiles/hawktracer.dir/timeline_listener.c.o [ 69%] Building CXX object lib/CMakeFiles/hawktracer.dir/event_id_provider.cpp.o In file included from /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:58:0: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_Mutex* ht_mutex_create()': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.h:446:58: error: 'ht_alloc' was not declared in this scope #define HT_CREATE_TYPE(Type) (Type*)ht_alloc(sizeof(Type)) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1004:21: note: in expansion of macro 'HT_CREATE_TYPE' HT_Mutex* mtx = HT_CREATE_TYPE(HT_Mutex); ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_mutex_destroy(HT_Mutex*)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1025:24: error: cannot convert '' to 'HT_ErrorCode' in initialization HT_ErrorCode err = HT_ERR_OK; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_mutex_lock(HT_Mutex*)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1051:16: error: cannot convert '' to 'HT_ErrorCode' in return return HT_ERR_OK; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_mutex_unlock(HT_Mutex*)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1071:12: error: cannot convert '' to 'HT_ErrorCode' in return return HT_ERR_OK; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: At global scope: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1093:35: error: 'HT_Event' was not declared in this scope size_t HT_EVENT_GET_SIZE_FUNCTION(HT_Event)(HT_Event* event) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1093:44: error: expected ',' or ';' before '(' token size_t HT_EVENT_GET_SIZE_FUNCTION(HT_Event)(HT_Event* event) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1098:36: error: 'HT_Event' was not declared in this scope size_t HT_EVENT_SERIALIZE_FUNCTION(HT_Event)(HT_Event* event, HT_Byte* buffer) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1098:45: error: expected ',' or ';' before '(' token size_t HT_EVENT_SERIALIZE_FUNCTION(HT_Event)(HT_Event* event, HT_Byte* buffer) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1109:41: error: expected constructor, destructor, or type conversion before '(' token HT_EVENT_GET_KLASS_INSTANCE_FUNCTION_DEF(HT_Event) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1347:35: error: '_ht_file_dump_listener_is_stopped' declared as an 'inline' variable _ht_file_dump_listener_is_stopped(HT_FileDumpListener* listener) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1347:35: error: 'HT_FileDumpListener' was not declared in this scope /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1347:56: error: 'listener' was not declared in this scope _ht_file_dump_listener_is_stopped(HT_FileDumpListener* listener) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1348:1: error: expected ',' or ';' before '{' token { ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'void _ht_file_dump_listener_flush(void*, HT_Byte*, size_t)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1355:5: error: 'HT_FileDumpListener' was not declared in this scope HT_FileDumpListener* fd_listener = (HT_FileDumpListener*) listener; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1355:26: error: 'fd_listener' was not declared in this scope HT_FileDumpListener* fd_listener = (HT_FileDumpListener*) listener; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1355:61: error: expected primary-expression before ')' token HT_FileDumpListener* fd_listener = (HT_FileDumpListener*) listener; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1355:63: error: expected ';' before 'listener' HT_FileDumpListener* fd_listener = (HT_FileDumpListener*) listener; ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: At global scope: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1353:1: warning: unused parameter 'listener' [-Wunused-parameter] _ht_file_dump_listener_flush(void* listener, HT_Byte* data, size_t size) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1360:1: error: 'HT_FileDumpListener' does not name a type HT_FileDumpListener* ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1411:31: error: variable or field 'ht_file_dump_listener_destroy' declared void ht_file_dump_listener_destroy(HT_FileDumpListener* listener) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1411:31: error: 'HT_FileDumpListener' was not declared in this scope /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1411:52: error: 'listener' was not declared in this scope ht_file_dump_listener_destroy(HT_FileDumpListener* listener) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_bag_listener_init(HT_BagListener*, size_t)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:114:5: warning: control reaches end of non-void function [-Wreturn-type] } \ ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:669:1: note: in expansion of macro 'HT_DEFINE_BAG_TYPE' HT_DEFINE_BAG_TYPE(Listener, _listener, HT_TimelineListenerEntry) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_bag_listener_add(HT_BagListener*, HT_TimelineListenerEntry)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:145:5: warning: control reaches end of non-void function [-Wreturn-type] } \ ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:669:1: note: in expansion of macro 'HT_DEFINE_BAG_TYPE' HT_DEFINE_BAG_TYPE(Listener, _listener, HT_TimelineListenerEntry) ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_mutex_lock(HT_Mutex*)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1062:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: In function 'HT_ErrorCode ht_mutex_unlock(HT_Mutex*)': /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1077:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp: At global scope: /home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/hawktracer.cpp:1347:1: warning: '_ht_file_dump_listener_is_stopped' defined but not used [-Wunused-variable] _ht_file_dump_listener_is_stopped(HT_FileDumpListener* listener) ^ [ 72%] Building CXX object lib/CMakeFiles/hawktracer.dir/global_timeline.cpp.o CMakeFiles/amalgamated_hawktracer_cpp.dir/build.make:79: recipe for target 'CMakeFiles/amalgamated_hawktracer_cpp.dir/hawktracer.cpp.o' failed make[3]: *** [CMakeFiles/amalgamated_hawktracer_cpp.dir/hawktracer.cpp.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' CMakeFiles/Makefile2:163: recipe for target 'CMakeFiles/amalgamated_hawktracer_cpp.dir/all' failed make[2]: *** [CMakeFiles/amalgamated_hawktracer_cpp.dir/all] Error 2 [ 75%] Building CXX object lib/CMakeFiles/hawktracer.dir/monotonic_clock.cpp.o [ 78%] Building CXX object lib/CMakeFiles/hawktracer.dir/mutex.cpp.o [ 81%] Building C object lib/CMakeFiles/hawktracer.dir/listeners/file_dump_listener.c.o [ 84%] Building C object lib/CMakeFiles/hawktracer.dir/platform/linux/cpu_usage.c.o [ 87%] Building C object lib/CMakeFiles/hawktracer.dir/platform/linux/memory_usage.c.o [ 90%] Building C object lib/CMakeFiles/hawktracer.dir/posix_mapped_tracepoint.c.o [ 93%] Linking CXX shared library libhawktracer.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' [ 93%] Built target hawktracer make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' Makefile:155: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'