Skip to contentSkip to conversation

busybox-1.5.0 miscutils/taskset.c compile errors

Buildroot Ulf Samuelsson 2 participants 2 messages Apr 11, 2007 – Apr 12, 2007 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 14 lines · Ulf Samuelsson
Quoted 11 lines

It seems that there is some undefined defines's in the "taskset.c"

CPU_ISSET
CPU_SETSIZE
CPU_ZERO
CPU_SET

They 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

#3 lore raw
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_ISSET
CPU_SETSIZE
CPU_ZERO
CPU_SET

They are supposed to be set in "sched.h", and they are present in

/usr/include/sched.h

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

Quoted 8 lines
Quoted 5 lines

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"...

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,