busybox-1.5.0 miscutils/taskset.c compile errors
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 14 lines · Ulf Samuelsson
Quoted 11 lines
It seems that there is some undefined defines's in the "
taskset.c"
CPU_ISSETCPU_SETSIZECPU_ZEROCPU_SETThey are supposed to be set in "
sched.h", and they are present in
/usr/include/sched.h
Quoted 9 lines
Quoted 3 lines
on my OpenSuse PC, but they are not present in linux-2.6.20.4 tarball
I could not find them in the toolchain includes...
my copy of glibc 2.4 supplies
/usr/include/sched.h, and it does contain those defines.
--
vda
The buildroot toolchain is built using uclibc so maybe it is an uclibc problem then? Then definitely, buildroot busybox configs should not enable building "taskset.c"...
Best Regards
Ulf Samuelsson
Quoted 18 lines · Ulf Samuelsson
Quoted 18 lines · Ulf Samuelsson
Quoted 14 lines
It seems that there is some undefined defines's in the "
taskset.c"
CPU_ISSETCPU_SETSIZECPU_ZEROCPU_SETThey are supposed to be set in "
sched.h", and they are present in
/usr/include/sched.hon my OpenSuse PC, but they are not present in linux-2.6.20.4 tarball
I could not find them in the toolchain includes...
Quoted 8 lines
Quoted 5 lines
my copy of glibc 2.4 supplies
/usr/include/sched.h, and it does contain those defines.
--
vdaThe buildroot toolchain is built using uclibc so maybe it is an uclibc problem then? Then definitely, buildroot busybox configs should not enable building "
taskset.c"...
The user should not choose to use stuff that does not work for their config. taskset works perfectly well with uClibc trunk, so, as said, if you need taskset then use uClibc-trunk otherwise turn it off. Keep in mind that buildroot's config is supposed to be set by the user depending on their needs. It's really a "doctor, it hurts when i.." (non-)issue.
kind regards,