All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Marc Le Douarain <marc.le-douarain@laposte.net>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] Error "field ‘pse51_si’ has incomplete type" in syscall.h after upgrading Ubuntu Distrib to 13.04
Date: Sun, 01 Sep 2013 14:49:19 +0200	[thread overview]
Message-ID: <522337CF.2010402@xenomai.org> (raw)
In-Reply-To: <52232BE0.6050400@laposte.net>

On 09/01/2013 01:58 PM, Marc Le Douarain wrote:
> Hello everybody,
> 
> I have an application using Xenomai that do no more compile after I have 
> recently upgraded from Ubuntu 12.10 to 13.04
> 
> Here the error I have in one one file including "phread.h" :
> gcc -c tasks.c -o tasks.o -march=i486 ...(custom defines)... 
> `xeno-config --skin posix --cflags`
> In file included from /usr/xenomai/include/asm/xenomai/syscall.h:23:0,
>                   from /usr/xenomai/include/nucleus/trace.h:52,
>                   from /usr/xenomai/include/nucleus/system.h:27,
>                   from /usr/xenomai/include/asm/xenomai/system_32.h:137,
>                   from /usr/xenomai/include/asm/xenomai/system.h:2,
>                   from /usr/xenomai/include/nucleus/types.h:41,
>                   from /usr/xenomai/include/nucleus/thread.h:25,
>                   from /usr/xenomai/include/posix/pthread.h:136,
>                   from tasks.c:34:
> /usr/xenomai/include/asm-generic/xenomai/syscall.h:78:17: erreur: field 
> ‘pse51_si’ has incomplete type
> make: *** [tasks.o] Erreur 1
> 
> gcc installed on this version is 4.7.3
> My project based on Linux kernel 2.6.38.8 and Xenomai 2.5.6
> 
> any one have an idea, on something that could be done...?
> else I'm thinking to install an older version in virtual machine to no 
> more encounter bad surprises with upgrades !

You are probably lacking a #include, add the missing include and it
should be fine. Also, Xenomai 2.5.6 and Linux 2.6.38 are really old,
updating is recommended.


-- 
                                                                Gilles.


  reply	other threads:[~2013-09-01 12:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-01 11:58 [Xenomai] Error "field ‘pse51_si’ has incomplete type" in syscall.h after upgrading Ubuntu Distrib to 13.04 Marc Le Douarain
2013-09-01 12:49 ` Gilles Chanteperdrix [this message]
2013-09-01 13:06   ` Marc Le Douarain
2013-09-01 13:11   ` Marc Le Douarain
     [not found]   ` <52233B54.7060402@laposte.net>
2013-09-02 11:06     ` 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=522337CF.2010402@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=marc.le-douarain@laposte.net \
    --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.