I compiled the bdb and libevent successfully, and made changes to Makefile.conf in main libpaxos directory.
But while compiling libpaxos with:
cd libpaxos && make

got the following error

/home/priyanka/Downloads/Paxos/libevent/libevent-1.4.12-stable/.libs/libevent.a(event.o): In function `gettime':
/home/priyanka/Downloads/Paxos/libevent/libevent-1.4.12-stable/event.c:150: undefined reference to `clock_gettime'
/home/priyanka/Downloads/Paxos/libevent/libevent-1.4.12-stable/.libs/libevent.a(event.o): In function `detect_monotonic':
/home/priyanka/Downloads/Paxos/libevent/libevent-1.4.12-stable/event.c:133: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[1]: *** [example_learner] Error 1
make[1]: Leaving directory `/home/priyanka/Downloads/Paxos/LibPaxos/libpaxos2-src-rev-116/libpaxos2-src-rev-116/tests'
make: *** [tests] Error 1


i.e an undefined reference to 'clock_gettime'... Please suggest, how to get out of it..

Thanks,
Priyanka