All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: sinisa.denic@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xenomai 2.5.0 uclibc 0.30 compatibility?
Date: Sun, 31 Jan 2010 11:31:28 +0100	[thread overview]
Message-ID: <4B655C00.6090809@domain.hid> (raw)
In-Reply-To: <fd55ced7db48fe30f8139df895fb9d4c.squirrel@domain.hid>

sinisa.denic@domain.hid wrote:
> In file included from ../../../src/include/asm/xenomai/atomic.h:82,
>                  from ../../../include/nucleus/system.h:26,
>                  from ../../../src/include/asm/xenomai/system.h:223,
>                  from ../../../include/nucleus/types.h:40,
>                  from ../../../include/nucleus/thread.h:25,
>                  from ../../../include/posix/pthread.h:136,
> 
> from
> /opt/toolchains/arm926t-uclibcgnueabi/usr/include/bits/uClibc_mutex.h:15,
> 
> from
> /opt/toolchains/arm926t-uclibcgnueabi/usr/include/bits/uClibc_stdio.h:119,
> 
> from /opt/toolchains/arm926t-uclibcgnueabi/usr/include/stdio.h:72,
>                  from init.c:19:
> ../../../src/include/asm/xenomai/syscall.h: In
> function &#8216;xeno_arm_features_check&#8217;:
> ../../../src/include/asm/xenomai/syscall.h:377: error:
> &#8216;stderr&#8217; undeclared
> (first use in this function)
> ../../../src/include/asm/xenomai/syscall.h:377: error: (Each undeclared
> identifier is reported only once
> ../../../src/include/asm/xenomai/syscall.h:377: error: for each function it
> appears in.)

This is bad news, the problem is that uclibc's stdio.h needs pthread.h,
which because of the -I flags we pass is xenomai's pthread.h, which
includes asm/syscall.h, which needs stdio.h.

You can fix this locally by #including pthread.h before stdio.h. We will
 propose a better fix for 2.5.1.

-- 
Gilles Chanteperdrix


  reply	other threads:[~2010-01-31 10:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-30 13:28 [Xenomai-help] xenomai 2.5.0 uclibc 0.30 compatibility? sinisa.denic
2010-01-31 10:31 ` Gilles Chanteperdrix [this message]
2010-02-01 11:32   ` Sinisa Denic
2010-02-01 13:07     ` Gilles Chanteperdrix
2010-02-01 14:32       ` Sinisa Denic
2010-02-03 18:30         ` Gilles Chanteperdrix
2010-02-04 13:04           ` Sinisa Denic
2010-02-04 13:21             ` Gilles Chanteperdrix
     [not found] ` <201002041515.13220.sinisa.denic@domain.hid>
     [not found]   ` <4B6AD8CF.4060706@domain.hid>
2010-02-04 16:36     ` Sinisa Denic

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=4B655C00.6090809@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sinisa.denic@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.