All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Breno Carneiro Pinheiro <brenodee@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] pipe.c
Date: Sun, 06 Jul 2008 16:13:59 +0200	[thread overview]
Message-ID: <4870D327.9030707@domain.hid> (raw)
In-Reply-To: <6132061f0807021209t1489f66cscac1e7f8be50bff5@domain.hid>

Breno Carneiro Pinheiro wrote:
> Hi all, I'm trying to compile and then run the pipe.c example on my MPC5200
> board but I got so many errors on cross-compiling process.  The code has two
> parts (user and kernel space). Firstly I separated the kernel space to get
> the kernel module .
> The Makefile and code used are attached. If anyone have already tried, let
> me know. I'm  missing something likely.

This line of your makefile is completely wrong:
EXTRA_CFLAGS := -I$(KSRC)/include/xenomai
-I$(KSRC)/include/xenomai/posix -I/home/
breno/ELDK/ppc_6xx/usr/include $(ADD_CFLAGS)

Since you are using the native skin, and not the posix skin, what you
should pass is -I$(KSRC)/include/xenomai/native.

Passing a path to user-space headers is also plain wrong, do not do it.

-- 


					    Gilles.


      reply	other threads:[~2008-07-06 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 19:09 [Xenomai-help] pipe.c Breno Carneiro Pinheiro
2008-07-06 14:13 ` Gilles Chanteperdrix [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=4870D327.9030707@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=brenodee@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.