hi, the code compiles without errors. I got it once compiled, but after replaying what i have done, it wont work again :(
The prepare-kernel.sh script i can call from whereever i am, i mean, i could go to e.g. /tmp and could call /usr/src/xenomai-2.5.5.2/scripts/prepare-kernel.sh --arch=powerpc --adeos=/usr/src/xenomai-2.5.5.2/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.35.7-ppc-1.5-*.patch --linux=/usr/src/linux-2.6.35.7 then i could go cd /usr/src/linux-2.6.35.7 and configure and build the kernel from within this directory ? whats with this linux/ shadow copy ? After building patched kernel, i need to configure xenomai user libs. This is done from whereever i want? i mean, i could go to e.g. /tmp and call /usr/src/xenomai-2.5.5.2/configure --host=powerpc-linux-gnu and then also call inside this dir make to build xenomai libs? The user libs build fails mostly with the same procedure deleting linux/ copying linux source to linux/ hanging my cross tools are prefixed with powerpc-linux-gnu- like powerpc-linux-gnu-gcc thanks for help flo On Mon, 29 Nov 2010 21:29:55 +0100 Gilles Chanteperdrix <[email protected]> wrote: > 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. -- inflo <[email protected]> _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
