this is caused by a feature called CONFIG_MONOTONIC_SYSCALL

Busybox Settings  --->Busybox Library Tuning  ---> Use 
clock_gettime(CLOCK_MONOTONIC) syscall


Can someone please add this to the FAQ ?

re,
 wh





Thomas Lundquist wrote:
> This log is from a buildroot based devkit with uClibc 0.9.28 and gcc
> 3.4.6, kernel 2.4:
> 
>   CC      libbb/time.o
> libbb/time.c: In function `monotonic_us':
> libbb/time.c:20: error: `__NR_clock_gettime' undeclared (first use in
>       this function)
> libbb/time.c:20: error: (Each undeclared identifier is reported only
>       once
> libbb/time.c:20: error: for each function it appears in.)
> libbb/time.c: In function `monotonic_sec':
> libbb/time.c:27: error: `__NR_clock_gettime' undeclared (first use in
>       this function)
> make[1]: *** [libbb/time.o] Error 1
> make: *** [libbb] Error 2
> 
> No problems on my Gutsy install nor a newer gcc 4.2 based buildroot
> devkit.
> 
> 
> 
> Thomas.
> _______________________________________________
> busybox mailing list
> [email protected]
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
> 
> 
> 
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to