Compilation errors of busybox-1.10.1
Denys Vlasenko
vda.linux at googlemail.com
Wed Mar 4 11:41:43 UTC 2009
On Tuesday 03 March 2009 11:44:01 pm Gary Yang wrote:
> Hi,
>
> I got errors when I compile busybox-1.10.1.
Try 1.10.4 and 1.13.3. I am interested, do *they* work?
> Here is what I did:
>
> make defconfig
> make
>
> I got errors below. Any idea?
>
> miscutils/taskset.c: In function `taskset_main':
> miscutils/taskset.c:79: warning: passing arg 2 of `sched_getaffinity' makes pointer from integer without a cast
> miscutils/taskset.c:79: error: too many arguments to function `sched_getaffinity'
> miscutils/taskset.c:106: warning: passing arg 2 of `sched_setaffinity' makes pointer from integer without a cast
> miscutils/taskset.c:106: error: too many arguments to function `sched_setaffinity'
> make[1]: *** [miscutils/taskset.o] Error 1
> make: *** [miscutils] Error 2
>
> gcc --version
> gcc (GCC) 3.3.2
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> uname -a
> Linux 2.4.21-40.ELhugemem #1 SMP Thu Feb 2 22:14:10 EST 2006 i686 i686 i386 GNU/Linux
libc flavor (glibc? uclibc?) and version is more important for this error.
If your libc is old, it may have wrong/missing prototypes
for CPU affinity functions.
--
vda
More information about the busybox
mailing list