From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Laurent BESSARD <laurent.bessard@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] CONFIG_XENO_OPT_SYS_STACKPOOLSZ warning
Date: Fri, 03 Oct 2008 11:54:18 +0200 [thread overview]
Message-ID: <48E5EBCA.4020702@domain.hid> (raw)
In-Reply-To: <48E5EB4D.4040401@domain.hid>
Laurent BESSARD wrote:
> Hello all,
>
> Recently, I tried to compile a driver for Xenomai and I received this
> warning while trying to include rtdm_driver.h:
> In file included from /usr/xenomai/include/nucleus/xenomai.h:25,
> from /usr/xenomai/include/rtdm/rtdm_driver.h:37
> /usr/xenomai/include/nucleus/heap.h:110:5: warning:
> "CONFIG_XENO_OPT_SYS_STACKPOOLSZ" is not defined
>
> This symbol is provided by kernel config while compiling kernel, but
> doesn't exist in any other context.
>
> It would solve the problem if heap.h test if this symbol exist before
> trying to use it, or define a default value for this symbol like:
>
> #ifndef CONFIG_XENO_OPT_SYS_STACKPOOLSZ
> #define CONFIG_XENO_OPT_SYS_STACKPOOLSZ 0
> #endif
If you do not use the Linux kernel makefiles to compile your driver,
then it is your driver that is broken and needs fixing.
--
Gilles.
prev parent reply other threads:[~2008-10-03 9:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-03 9:52 [Xenomai-help] CONFIG_XENO_OPT_SYS_STACKPOOLSZ warning Laurent BESSARD
2008-10-03 9:54 ` 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=48E5EBCA.4020702@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=laurent.bessard@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.