Failed to compile busybox 1.7.1 with gcc 3.2.2

Steven Shiau steven at nchc.org.tw
Fri Sep 21 16:08:19 UTC 2007


Denys Vlasenko wrote:
> On Friday 21 September 2007 15:28, Steven Shiau wrote:
>> Hi,
>> I am having a problem to compile busybox 1.7.1 with gcc 3.2.2. This is
>> the error messages I got:
>> ----------------------------------
>> libbb/time.c: In function `monotonic_us':
>> libbb/time.c:20: `__NR_clock_gettime' undeclared (first use in this
>> function)
>> libbb/time.c:20: (Each undeclared identifier is reported only once
>> libbb/time.c:20: for each function it appears in.)
>> libbb/time.c: In function `monotonic_sec':
>> libbb/time.c:27: `__NR_clock_gettime' undeclared (first use in this
>> function)
>> make[1]: *** [libbb/time.o] Error 1
>> make: *** [libbb] Error 2
>> ----------------------------------
>> Does anyone have similar problem ?
>> Attached is the config file I used.
> 
> Switch off CONFIG_MONOTONIC_SYSCALL
> --
> vda

Cool! It's working here.
Thanks for your fast response.

Steven

-- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A



More information about the busybox mailing list