Unable to Install benchmark tools

benchmark

#1

Hello,

I have installed aerospike C client and trying to install benchmark package along with it.

I am getting below error while doing a ‘make’ . Please let me know how to solve it. OS: Ubuntu 14.04:

mkdir target
mkdir target/obj
gcc -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -rdynamic -I/usr/include -o target/obj/benchmark.o -c src/main/benchmark.c
gcc -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -rdynamic -I/usr/include -o target/obj/latency.o -c src/main/latency.c
gcc -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -rdynamic -I/usr/include -o target/obj/linear.o -c src/main/linear.c
gcc -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -rdynamic -I/usr/include -o target/obj/main.o -c src/main/main.c
gcc -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -rdynamic -I/usr/include -o target/obj/random.o -c src/main/random.c
gcc -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -rdynamic -I/usr/include -o target/obj/record.o -c src/main/record.c
gcc -o target/benchmarks target/obj/benchmark.o target/obj/latency.o target/obj/linear.o target/obj/main.o target/obj/random.o target/obj/record.o /usr/lib/libaerospike.a -L/usr/local/lib -lssl -lcrypto -lpthread -lrt -ldl -lm -lz
/usr/lib/libaerospike.a(as_pipe.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_pipe.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_pipe.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_pipe.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_pipe.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_set_total_timer':
/work/source/src/include/aerospike/as_event_internal.h:290: undefined reference to `ev_timer_start'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_repeat_socket_timer':
/work/source/src/include/aerospike/as_event_internal.h:306: undefined reference to `ev_timer_again'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_init_total_timer':
/work/source/src/include/aerospike/as_event_internal.h:284: undefined reference to `ev_timer_start'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_init_socket_timer':
/work/source/src/include/aerospike/as_event_internal.h:299: undefined reference to `ev_timer_again'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_set_total_timer':
/work/source/src/include/aerospike/as_event_internal.h:290: undefined reference to `ev_timer_start'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_repeat_socket_timer':
/work/source/src/include/aerospike/as_event_internal.h:306: undefined reference to `ev_timer_again'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `ev_loop':
/usr/local/include/ev.h:835: undefined reference to `ev_run'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_worker':
/work/source/src/main/aerospike/as_event_ev.c:101: undefined reference to `ev_loop_destroy'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_close_loop':
/work/source/src/main/aerospike/as_event_ev.c:48: undefined reference to `ev_async_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `ev_unloop':
/usr/local/include/ev.h:836: undefined reference to `ev_break'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_event_stop_timer':
/work/source/src/include/aerospike/as_event_internal.h:312: undefined reference to `ev_timer_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_event_create_loop':
/work/source/src/main/aerospike/as_event_ev.c:117: undefined reference to `ev_loop_new'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_init_loop':
/work/source/src/main/aerospike/as_event_ev.c:111: undefined reference to `ev_async_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_event_execute':
/work/source/src/main/aerospike/as_event_ev.c:145: undefined reference to `ev_async_send'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watcher_init':
/work/source/src/main/aerospike/as_event_ev.c:714: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_write':
/work/source/src/main/aerospike/as_event_ev.c:162: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:164: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_read':
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_read':
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_write':
/work/source/src/main/aerospike/as_event_ev.c:162: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:164: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_write':
/work/source/src/main/aerospike/as_event_ev.c:162: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:164: undefined reference to `ev_io_start'
/work/source/src/main/aerospike/as_event_ev.c:162: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:164: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_read':
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_write':
/work/source/src/main/aerospike/as_event_ev.c:162: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:164: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_read':
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_write':
/work/source/src/main/aerospike/as_event_ev.c:162: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:164: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_event_stop_watcher':
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/work/source/src/include/aerospike/as_event_internal.h:318: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_write':
/work/source/src/main/aerospike/as_event_ev.c:162: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:164: undefined reference to `ev_io_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_read':
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
/work/source/src/main/aerospike/as_event_ev.c:179: undefined reference to `ev_io_stop'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_init_loop':
/work/source/src/main/aerospike/as_event_ev.c:111: undefined reference to `ev_async_start'
/usr/lib/libaerospike.a(as_event_ev.o): In function `as_ev_watch_read':
/work/source/src/main/aerospike/as_event_ev.c:181: undefined reference to `ev_io_start'
collect2: error: ld returned 1 exit status
make: *** [target/benchmarks] Error 1