All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Steve Shumway <sshumway@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai install problem?
Date: Fri, 15 Aug 2008 14:06:13 +0200	[thread overview]
Message-ID: <48A57135.4020905@domain.hid> (raw)
In-Reply-To: <48A4ECEB.4060206@domain.hid>

Steve Shumway wrote:
> gcc -O2 -Wall -DMODULE -D__KERNEL__ -DLINUX -I/usr/src/linux/include 
> -I/usr/src/linux/include/xenomai/compat -I/usr/xenomai/include   -c -o 
> irqcontrol_driver.o irqcontrol_driver.c

So, the compiler looks for headers in /usr/src/linux.

> tar -xvzpf linux-2.6.25 tar -C /usr/src

And you installed the kernel sources in /usr/src/linux-2.6.25

And by the way, are you trying to compile a module with gcc by hand ?
If, yes, then it is normal that you get problems. The official way to
compile modules with the 2.6 kernel is to use the way described in
/usr/src/linux-2.6.25/Documentation/kbuild/modules.txt

-- 
					    Gilles.


  reply	other threads:[~2008-08-15 12:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15  2:41 [Xenomai-help] Xenomai install problem? Steve Shumway
2008-08-15 12:06 ` Gilles Chanteperdrix [this message]
2008-08-15 22:13   ` Steve Shumway

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=48A57135.4020905@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sshumway@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.