bb 1.20.2 with glibc 2.16.0

Priebe, Sebastian Sebastian.Priebe at cadcon.de
Fri Jan 11 11:12:56 UTC 2013


Hello,

I wanted to use a new toolchain for our embedded project.
The new toolchain uses glibc v2.16.0. The glibc is build with '--enable-kernel=2.6.32'.
While trying to build busybox I got the following errors:

miscutils/time.c:23:16: error: field 'ru' has incomplete type
networking/inetd.c:307:2: error: unknown type name 'rlim_t'
networking/inetd.c:308:16: error: field 'rlim_ofile' has incomplete type
networking/inetd.c: In function 'bump_nofile':
networking/inetd.c:459:16: error: storage size of 'rl' isn't known
networking/inetd.c:462:2: warning: implicit declaration of function 'getrlimit' [-Wimplicit-function-declaration]
networking/inetd.c:462:12: error: 'RLIMIT_OFILE' undeclared (first use in this function)
networking/inetd.c:462:12: note: each undeclared identifier is reported only once for each function it appears in
networking/inetd.c:471:2: warning: implicit declaration of function 'setrlimit' [-Wimplicit-function-declaration]
networking/inetd.c:459:16: warning: unused variable 'rl' [-Wunused-variable]
networking/inetd.c: In function 'add_fd_to_set':
networking/inetd.c:497:9: error: 'rlim_t' undeclared (first use in this function)
networking/inetd.c:497:16: error: expected ')' before 'fd'
networking/inetd.c: In function 'recalculate_maxsock':
networking/inetd.c:517:7: error: 'rlim_t' undeclared (first use in this function)
networking/inetd.c: In function 'inetd_main':
networking/inetd.c:1185:12: error: 'RLIMIT_OFILE' undeclared (first use in this function)
networking/inetd.c:1187:24: error: 'RLIM_INFINITY' undeclared (first use in this function)

I already took a look at the headers but couldn't figure out the problem.
Has anyone build busybox with glibc v2.16.0 or higher?
Any help appreciated.

Sebastian


==========================================
CADCON
Ingenieurgesellschaft mbH & Co. KG
Geschaeftsfuehrer: Robert Bauer, Andreas Gundel
Sitz der Gesellschaft: D-86368 Gersthofen
Registergericht: Amtsgericht Augsburg HRA 14521
==========================================



More information about the busybox mailing list