On Tue, 2007-04-10 at 13:44 -0400, Phil Wilshire wrote:
> Hi All
> 
> I fixed it here by renaming cpu_set_t to cpu_setx_t
> this is an internal variable that has the same name as a kernel variable.
> 
> Patch attached
> 
> The kernel definition of cpu_set_t would not work with xenomai
> 

The configure script is expected to identify the way the glibc exports
sched_affinity() (how cpu_set_t is/isn't defined is part of it), and
obviously it doesn't. I'm going to check this asap. Thanks.

> Regards
>    Phil
> 
> 
> Mike Frysinger wrote:
> > On 4/10/07, Phil Wilshire <[EMAIL PROTECTED]> wrote:
> >> ../../../../../../adeos/xenomai/src/testsuite/switchtest/switchtest.c:26:
> >> error: conflicting types for 'cpu_set_t'
> >> /mnt/106/disk1/work/bf533.9/2007R1/toolchain_07r1_rc9/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h:116:
> >>  
> >>
> >> error: previous declaration of 'cpu_set_t' was here
> > 
> > adeos shouldnt be defining cpu_set_t ... that's what headers are for ...
> > -mike
> > 
> 
-- 
Philippe.


_______________________________________________
Uclinux-dist-devel mailing list
Uclinux-dist-devel@blackfin.uclinux.org
http://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel

Reply via email to