All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mariusz Janiak" <mariuszjaniak@wp.pl>
To: Xenomai <xenomai@xenomai.org>
Subject: [Xenomai] posix/stdio.h error: ?size_t? does not name a type
Date: Fri, 28 Dec 2012 13:26:15 +0100	[thread overview]
Message-ID: <50dd8fe7a2bbd6.25169205@wp.pl> (raw)

Hi

After successful Xenomai 2.6.2 installation (with Gilles help), I have started building OROCOS 2.6 with xeno support, and once again I went into trouble. This time I am not sure that it is a Xenomai related bug. The problem is following 

from /worek/install/orocos-toolchain-xeno/rtt/rtt/transports/mqueue/MQLib.hpp:42,
                     from /worek/install/orocos-toolchain-xeno/rtt/rtt/transports/mqueue/MQLib.cpp:40:
    /usr/xenomai/include/xenomai/posix/stdio.h:30:1: error: ?size_t? does not name a type
    make[2]: *** [rtt/transports/mqueue/CMakeFiles/rtt-transport-mqueue-xenomai_plugin.dir/MQLib.cpp.o] Błąd 1

I have found one thread related to this problem 

http://www.xenomai.org/pipermail/xenomai/2012-September/026143.html

Adding #include <unistd.h> in /usr/xenomai/include/xenomai/posix/stdio.h have solved my problem, but I don't know if it is a suitable solution. 

Mariusz






             reply	other threads:[~2012-12-28 12:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28 12:26 Mariusz Janiak [this message]
2012-12-28 15:01 ` [Xenomai] posix/stdio.h error: ?size_t? does not name a type Gilles Chanteperdrix
2012-12-28 15:33   ` hauptmech
2012-12-28 15:44     ` Gilles Chanteperdrix
     [not found]       ` <50DDCFB4.3070206@nta-inc.net>
2012-12-28 17:02         ` Jeff Webb
2012-12-28 17:29           ` Jeff Webb
2012-12-28 17:41             ` Jeff Webb
2012-12-28 17:59             ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2012-12-28 15:13 Mariusz Janiak

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=50dd8fe7a2bbd6.25169205@wp.pl \
    --to=mariuszjaniak@wp.pl \
    --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.