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

The problem was my lack of understanding about how to build a module. 
The installation of linux+xenomai was ok.

Thanks

Steve


Gilles Chanteperdrix wrote:
> 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
> 


      reply	other threads:[~2008-08-15 22:13 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
2008-08-15 22:13   ` Steve Shumway [this message]

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