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

bugs at busybox.net bugs at busybox.net
Sat Dec 15 21:41:01 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             12-15-2007 13:41 PST
Last Modified:              12-15-2007 13:41 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# 
====================================================================== 

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         
======================================================================




More information about the busybox-cvs mailing list