All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] xenomai user lib build error
@ 2010-11-29 18:50 inflo
  2010-11-29 20:29 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: inflo @ 2010-11-29 18:50 UTC (permalink / raw)
  To: xenomai@xenomai.org


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?

i configure and build the stuff like the README.INSTALL tells, just with another cross compile prefix

scripts/prepare-kernel.sh --arch=powerpc \
  --adeos=$xenomai_root/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.35.7-ppc-1.5-*.patch \
  --linux=$linux_tree
cd $linux_tree
make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- O=$build_root menuconfig

[select the kernel and Xenomai options, save the configuration]
make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- O=$build_root uImage
[manually install the kernel image, system map and modules to the proper location]
cd $build_root
$xenomai_root/configure  --host=powerpc-linux-gnu \
  CC=powerpc-linux-gnu-gcc LD=powerpc-linux-gnu-ld
make DESTDIR=$staging_dir install

The kernel builds without errors, but the xenomai stuff doesnt find the missing headers like linux/errno.h, but i dont know why?

thanks for help
flo

-- 
inflo <inflo@domain.hid>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-02 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-29 18:50 [Xenomai-help] xenomai user lib build error inflo
2010-11-29 20:29 ` Gilles Chanteperdrix
2010-12-01 18:35   ` inflo
2010-12-01 23:08     ` Gilles Chanteperdrix
2010-12-02 18:17       ` inflo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.