Compilation errors of busybox-1.10.1

Gary Yang garyyang6 at yahoo.com
Tue Mar 3 22:44:01 UTC 2009


Hi,

I got errors when I compile busybox-1.10.1. 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


Thanks




      


More information about the busybox mailing list