cancel
Showing results for 
Search instead for 
Did you mean: 

SLPK libwrapsc.a error

SLPK libwrapsc.a error

Hello all,
I'm migrating code from Solaris 9 to RHEL3 and I've found the following problem compiling a snmp_polld modication of ucd-snmp original one:

/opt/slpk/lib/lp32/libwrapsc.a(slpk_sys_time.o)(.text+0x51): In function `__slpk_gethrtime':
: referencia a `clock_gettime' sin definir
collect2: ld devolvió el estado de salida 1
sl_gmake: *** [snmp_polld] Error 1

I don't know why that function is not present in the library as SLPK was supposed to manage the solaris function gettimeofday().

Anyone can help with this issue?

Thanks in advance for your support.