All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent BESSARD <laurent.bessard@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] CONFIG_XENO_OPT_SYS_STACKPOOLSZ warning
Date: Fri, 03 Oct 2008 11:52:13 +0200	[thread overview]
Message-ID: <48E5EB4D.4040401@domain.hid> (raw)

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

Thanks,

Laurent

-- 
LOLITech - TBI sarl
24, rue Pierre Evrat
88100 Saint-Dié des Vosges
tel: 03 29 52 95 67
fax: 03 29 58 93 16
laurent.bessard@domain.hid <mailto:laurent.bessard@domain.hid>
http://www.lolitech.fr 	<http://www.lolitech.fr>



             reply	other threads:[~2008-10-03  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03  9:52 Laurent BESSARD [this message]
2008-10-03  9:54 ` [Xenomai-help] CONFIG_XENO_OPT_SYS_STACKPOOLSZ warning Gilles Chanteperdrix

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=48E5EB4D.4040401@domain.hid \
    --to=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.