[BusyBox 0001704]: 1.8.2 busybox does not build correctly
bugs at busybox.net
bugs at busybox.net
Wed Dec 12 08:32:16 UTC 2007
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1704
======================================================================
Reported By: code_slave
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1704
Category: Other
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
======================================================================
Date Submitted: 12-11-2007 15:33 PST
Last Modified: 12-12-2007 00:32 PST
======================================================================
Summary: 1.8.2 busybox does not build correctly
Description:
when cross compiling with 3.4.4 for ARM (arm-linux-tools-20061213.tar )
1.
CC miscutils/taskset.o
miscutils/taskset.c: In function `taskset_main':
miscutils/taskset.c:78: warning: passing arg 2 of `sched_getaffinity'
makes pointer from integer without a cast
miscutils/taskset.c:78: error: too many arguments to function
`sched_getaffinity'
miscutils/taskset.c:86: warning: passing arg 2 of `sched_setaffinity'
makes pointer from integer without a cast
miscutils/taskset.c:86: error: too many arguments to function
`sched_setaffinity'
make[1]: *** [miscutils/taskset.o] Error 1
make: *** [miscutils] Error 2
2. CC networking/route.o
In file included from
/usr/local/arm/3.4.4/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/net/dst.h:12,
from
/usr/local/arm/3.4.4/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/net/route.h:28,
from networking/route.c:29:
/usr/local/arm/3.4.4/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/net/neighbour.h:
In function `pneigh_alloc_flag':
/usr/local/arm/3.4.4/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/net/neighbour.h:429:
error: `GFP_KERNEL' undeclared (first use in this function)
/usr/local/arm/3.4.4/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/net/neighbour.h:429:
error: (Each undeclared identifier is reported only once
/usr/local/arm/3.4.4/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/net/neighbour.h:429:
error: for each function it appears in.)
In file included from
/usr/local/arm/3.4.4/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/net/route.h:28,
..........
a lot.
======================================================================
----------------------------------------------------------------------
bernhardf - 12-12-07 00:32
----------------------------------------------------------------------
1) Please read the help-text of taskset
2) This has come up before; search the archives:
http://www.google.com/search?as_q=sched_setaffinity&hl=en&num=50&btnG=Google+Search&as_epq=too+many+arguments+to+function&as_oq=&as_eq=&lr=&cr=&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=&as_rights=&safe=images
2b) There you can read that you're using an outdated version of libc (most
likely glibc in your case).
Issue History
Date Modified Username Field Change
======================================================================
12-11-07 15:33 code_slave New Issue
12-11-07 15:33 code_slave Status new => assigned
12-11-07 15:33 code_slave Assigned To => BusyBox
12-12-07 00:32 bernhardf Note Added: 0003104
======================================================================
More information about the busybox-cvs
mailing list