inflo wrote:
> hi, i wanna build xenomai user libs for powerpc 40x (405GP) cpu. The
> patching (preparing) of the linux kernel (2.6.36.7) works with the
> adeos patch.
> 
> But when i want to build the user libs, i get the error that e.g.
> linux/errno.h could not be found. linux/errno.h is in
> /usr/src/linux-2.6.35.7/include/linux/errno.h so it must be a false
> setup path i think, but i dont know where i should do that?

No, linux/errno.h is supposed to be found in the toolchain installation
directory. If it is not installed there, then your toolchain is not
correctly installed.

You can check this without trying and compiling Xenomai:

If the following program:

#include <stdio.h>
#include <errno.h>

int main(void)
{
        printf("%d\n", EINVAL);
        return 0;
}

Does not compile correctly with your toolchain, then your toolchain is
not correctly installed.


-- 
                                                                Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to