When trying to compile DPDK on Red Hat Enterprise Linux Server release 6.7 
(Santiago) it fails to compile.

This is the compilation error that is being seen:
LD test
/download/dpdk/x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_timer.o): In 
function `get_tsc_freq':
eal_timer.c:(.text+0x152): undefined reference to `clock_gettime'
eal_timer.c:(.text+0x190): undefined reference to `clock_gettime'
/download/dpdk/x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_alarm.o): In 
function `rte_eal_alarm_set':
eal_alarm.c:(.text+0x382): undefined reference to `clock_gettime'
/download/dpdk/x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_alarm.o): In 
function `eal_alarm_callback':
eal_alarm.c:(.text+0x5e2): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[5]: *** [test] Error 1
make[4]: *** [test] Error 2
make[3]: *** [app] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2

Kindest regards
Raslan Darawsheh

Reply via email to