All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Yogi A. Patel" <yapatel@gatech.edu>, xenomai@xenomai.org
Subject: Re: [Xenomai] Error compiling on P4 machine
Date: Sun, 07 Sep 2014 20:29:34 +0200	[thread overview]
Message-ID: <540CA40E.9030308@xenomai.org> (raw)
In-Reply-To: <540C9126.1060403@gatech.edu>

On 09/07/2014 07:08 PM, Yogi A. Patel wrote:
> On 09/07/2014 12:59 PM, Gilles Chanteperdrix wrote:
>> On 09/04/2014 10:10 PM, Gilles Chanteperdrix wrote:
>>> On 09/04/2014 10:01 PM, Yogi A. Patel wrote:
>>>> Using
>>>>
>>>> Xenomai 2.6.3 and ipipe-core-3.8.13-x86-4.patch
>>>>
>>> This combination works for me.
>>>
>>> This was a (failed) attempt to make you realize that you should give us
>>> all the information allowing to reproduce your issue, otherwise there is
>>> not much we can do. The missing information here is the kernel
>>> configuration.
> Lesson learned.

Next time, please send the .config as an attachment, it makes it easier
for us to manipulate, and avoid sending it to all the subscribers of the
list who probably do not care.

So, I followed the following procedure:

tar -xf /path/to/linux-3.8.13.tar.xz
tar -xf /path/to/xenomai-2.6.3.tar.bz2
cd linux-3.8.13/
../xenomai-2.6.3/scripts/prepare-kernel.sh --linux=. --arch=x86
cp /path/to/your/.config .config
make ARCH=x86 oldconfig

At this point oldconfig asks me a question, which makes me doubt that
the config you sent me was really used to compile a kernel.

Then I run:
make -j 12 ARCH=x86
which ends with an issue in analogy (undefined reference to
a4l_proc_root), I will have a look into this.

Then
make -j 12 ARCH=x86 modules
Which runs correctly.

Anyway, except for the fact that it takes ages to compile because it
enables way too much stuff, including CONFIG_INTEL_IDLE which should be
disabled (as documented), your config seems to compile fine here.

So, are you sure you sent me the .config with which you had a problem?
If yes, how do you compile the kernel?


-- 
                                                                Gilles.


  reply	other threads:[~2014-09-07 18:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-04 17:58 [Xenomai] Error compiling on P4 machine Yogi A. Patel
2014-09-04 18:21 ` Gilles Chanteperdrix
2014-09-04 20:01   ` Yogi A. Patel
2014-09-04 20:10     ` Gilles Chanteperdrix
2014-09-07 16:59       ` Gilles Chanteperdrix
2014-09-07 17:08         ` Yogi A. Patel
2014-09-07 18:29           ` Gilles Chanteperdrix [this message]
2014-09-07 18:43             ` Gilles Chanteperdrix
2014-09-07 17:17         ` Philippe Gerum

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=540CA40E.9030308@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    --cc=yapatel@gatech.edu \
    /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.