All of lore.kernel.org
 help / color / mirror / Atom feed
From: inflo <inflo@domain.hid>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: [Xenomai-help] xenomai user lib build error
Date: Mon, 29 Nov 2010 19:50:14 +0100	[thread overview]
Message-ID: <20101129195014.b79eb9be.inflo@domain.hid> (raw)


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>


             reply	other threads:[~2010-11-29 18:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-29 18:50 inflo [this message]
2010-11-29 20:29 ` [Xenomai-help] xenomai user lib build error Gilles Chanteperdrix
2010-12-01 18:35   ` inflo
2010-12-01 23:08     ` Gilles Chanteperdrix
2010-12-02 18:17       ` inflo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101129195014.b79eb9be.inflo@domain.hid \
    --to=inflo@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.