[BusyBox 0001769]: busybox-1.8.2: cannot compile miscutils/taskset

bugs at busybox.net bugs at busybox.net
Sun Dec 16 14:50:18 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1769 
====================================================================== 
Reported By:                mmokrejs
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1769
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             12-15-2007 13:41 PST
Last Modified:              12-16-2007 06:50 PST
====================================================================== 
Summary:                    busybox-1.8.2: cannot compile miscutils/taskset
Description: 
Hi,
  I am trying to compile busybox on and ARM host with gcc-3.4.2, I ran
'make defconfig' and 'make busybox'. Here are the relevant outputs:


...

taskset (TASKSET) [Y/n/?] y
  fancy output (FEATURE_TASKSET_FANCY) [Y/n/?] y

...

  CC      miscutils/taskset.o
miscutils/taskset.c:17: error: parse error before '*' token
miscutils/taskset.c:18: warning: function declaration isn't a prototype
miscutils/taskset.c: In function `__from_cpuset':
miscutils/taskset.c:22: error: `CPU_SETSIZE' undeclared (first use in this
function)
miscutils/taskset.c:22: error: (Each undeclared identifier is reported
only once
miscutils/taskset.c:22: error: for each function it appears in.)
miscutils/taskset.c:26: warning: implicit declaration of function
`CPU_ISSET'
miscutils/taskset.c:26: error: `mask' undeclared (first use in this
function)
miscutils/taskset.c: In function `taskset_main':
miscutils/taskset.c:47: error: `cpu_set_t' undeclared (first use in this
function)
miscutils/taskset.c:47: error: parse error before "mask"
miscutils/taskset.c:68: warning: implicit declaration of function
`CPU_ZERO'
miscutils/taskset.c:68: error: `new_mask' undeclared (first use in this
function)
miscutils/taskset.c:69: error: `CPU_SETSIZE' undeclared (first use in this
function)
miscutils/taskset.c:71: warning: implicit declaration of function
`CPU_SET'
miscutils/taskset.c:78: warning: implicit declaration of function
`sched_getaffinity'
miscutils/taskset.c:78: error: `mask' undeclared (first use in this
function)
miscutils/taskset.c:86: warning: implicit declaration of function
`sched_setaffinity'
make[1]: *** [miscutils/taskset.o] Error 1
make: *** [miscutils] Error 2
busybox-1.8.2# 
====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 12-16-07 06:50  
---------------------------------------------------------------------- 
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).
2c) You use an outdated version of uClibc. uClibc-0.9.28.3 and later work
fine. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-15-07 13:41  mmokrejs       New Issue                                    
12-15-07 13:41  mmokrejs       Status                   new => assigned     
12-15-07 13:41  mmokrejs       Assigned To               => BusyBox         
12-16-07 06:50  bernhardf      Status                   assigned => closed  
12-16-07 06:50  bernhardf      Note Added: 0003189                          
======================================================================




More information about the busybox-cvs mailing list