[uClibc 0000899]: bits/sched.h lacks declerations
bugs at busybox.net
bugs at busybox.net
Mon Jun 12 10:11:54 UTC 2006
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=899
======================================================================
Reported By: syn
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 899
Category: Standards Compliance
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 06-12-2006 03:11 PDT
Last Modified: 06-12-2006 03:11 PDT
======================================================================
Summary: bits/sched.h lacks declerations
Description:
When building Busybox against uClibc, I got the error :
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c: In function
`taskset_main':
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:16: error:
`cpu_set_t' undeclared (first use in this function)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:16: error:
(Each undeclared identifier is reported only once
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:16: error: for
each function it appears in.)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:16: error:
syntax error before "mask"
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:39: warning:
implicit declaration of function `CPU_ZERO'
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:39: error:
`new_mask' undeclared (first use in this function)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:40: error:
`CPU_SETSIZE' undeclared (first use in this function)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:42: warning:
implicit declaration of function `CPU_SET'
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:49: warning:
implicit declaration of function `sched_getaffinity'
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:49: error:
`mask' undeclared (first use in this function)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:57: warning:
implicit declaration of function `sched_setaffinity'
The header bits/sched.h doesn't typedef cpu_set_t and doesn't define some
macros. This is simply a matter of complying with glibc, I guess.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
06-12-06 03:11 syn New Issue
06-12-06 03:11 syn Status new => assigned
06-12-06 03:11 syn Assigned To => uClibc
======================================================================
More information about the uClibc-cvs
mailing list