problems to compile busybox 1.10.4
Bernhard Fischer
rep.dot.nop at gmail.com
Fri Jun 27 05:35:52 PDT 2008
On Fri, Jun 27, 2008 at 01:59:26PM +0200, Reinhard Thies wrote:
>Hi,
>I am cross compiling busybox using eldk 4.1 (ARCH=ppc CROSS_COMPILE=ppc_4xx- )
>and got the following error:
>
> CC libbb/bb_qsort.o
> CC libbb/bb_strtonum.o
>libbb/bb_strtonum.c: In function 'ret_ERANGE':
>libbb/bb_strtonum.c:26: error: 'ULLONG_MAX' undeclared (first use in this
>function)
>libbb/bb_strtonum.c:26: error: (Each undeclared identifier is reported only
>once
>libbb/bb_strtonum.c:26: error: for each function it appears in.)
>make[1]: *** [libbb/bb_strtonum.o] Error 1
>make: *** [libbb] Error 2
>
>Where is ULLONG_MAX defined ?
ULLONG_MAX is a C99 token and is probably defined in limits.h
>I wasn't able to find it.
Old toolchain or building with -std=c89 instead of -std=c99?
More information about the busybox
mailing list