All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: inflo <inflo@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] xenomai user lib build error
Date: Mon, 29 Nov 2010 21:29:55 +0100	[thread overview]
Message-ID: <4CF40D43.2070200@domain.hid> (raw)
In-Reply-To: <20101129195014.b79eb9be.inflo@domain.hid>

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.


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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-29 18:50 [Xenomai-help] xenomai user lib build error inflo
2010-11-29 20:29 ` Gilles Chanteperdrix [this message]
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=4CF40D43.2070200@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=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.