All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] compiling xenomai on x86_64
Date: Tue, 18 Oct 2005 10:07:54 +0200	[thread overview]
Message-ID: <4354AD5A.7010305@domain.hid> (raw)
In-Reply-To: <435419B0.8030004@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 2896 bytes --]

Jan Kiszka wrote:
> ...
> make[3]: Entering directory `/tmp/xenomai/build/skins/native/lib'
> if /bin/sh ../../../libtool --mode=compile --tag=CC gcc -m32
> -DHAVE_CONFIG_H -I. -I/tmp/xenomai/skins/native/lib -I../../../include
> -O2 -I/tmp/linux-2.6.13.1/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__
>  -march=i586 -Wall -pipe -fstrict-aliasing -Wno-strict-aliasing
> -D__IN_XENO__ -Wstrict-prototypes -I../../../include
> -I/tmp/xenomai/include -I/tmp/xenomai/skins/native/lib/../..    -MT
> libnative_la-task.lo -MD -MP -MF ".deps/libnative_la-task.Tpo" -c -o
> libnative_la-task.lo `test -f 'task.c' || echo
> '/tmp/xenomai/skins/native/lib/'`task.c; \
> then mv -f ".deps/libnative_la-task.Tpo" ".deps/libnative_la-task.Plo";
> else rm -f ".deps/libnative_la-task.Tpo"; exit 1; fi
>  gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/xenomai/skins/native/lib
> -I../../../include -O2 -I/tmp/linux-2.6.13.1/include -D_GNU_SOURCE
> -D_REENTRANT -D__XENO__ -march=i586 -Wall -pipe -fstrict-aliasing
> -Wno-strict-aliasing -D__IN_XENO__ -Wstrict-prototypes
> -I../../../include -I/tmp/xenomai/include
> -I/tmp/xenomai/skins/native/lib/../.. -MT libnative_la-task.lo -MD -MP
> -MF .deps/libnative_la-task.Tpo -c /tmp/xenomai/skins/native/lib/task.c
>  -fPIC -DPIC -o .libs/libnative_la-task.o
> In file included from /tmp/linux-2.6.13.1/include/asm/math_emu.h:4,
>                  from /tmp/linux-2.6.13.1/include/asm/processor.h:11,
>                  from /tmp/linux-2.6.13.1/include/asm/atomic.h:6,
>                  from ../../../include/nucleus/asm/atomic.h:44,
>                  from /tmp/xenomai/include/nucleus/system.h:33,
>                  from /tmp/xenomai/include/nucleus/asm-generic/system.h:560,
>                  from ../../../include/nucleus/asm/system.h:25,
>                  from /tmp/xenomai/include/nucleus/types.h:40,
>                  from /tmp/xenomai/include/nucleus/queue.h:23,
>                  from /tmp/xenomai/include/nucleus/timer.h:23,
>                  from /tmp/xenomai/include/nucleus/thread.h:23,
>                  from /tmp/xenomai/skins/native/lib/../../native/task.h:26,
>                  from /tmp/xenomai/skins/native/lib/task.c:28:
> /tmp/linux-2.6.13.1/include/asm/sigcontext.h:20: error: redefinition of
> struct _fpreg
> /tmp/linux-2.6.13.1/include/asm/sigcontext.h:25: error: redefinition of
> struct _fpxreg
> /tmp/linux-2.6.13.1/include/asm/sigcontext.h:31: error: redefinition of
> struct _xmmreg
> /tmp/linux-2.6.13.1/include/asm/sigcontext.h:35: error: redefinition of
> struct _fpstate
> /tmp/linux-2.6.13.1/include/asm/sigcontext.h:59: error: redefinition of
> struct sigcontext
> 
> Any idea where this comes from? If not, I will dig deeper.
> 

I just analysed this further: the problem disappears when I manually
remove any "-I<path-to-kernel-includes>" from the makefiles. Seems to be
the well-known user space include issue again... ;)

Jan

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

  reply	other threads:[~2005-10-18  8:07 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17 18:44 [Xenomai-help] compiling xenomai on x86_64 Jan Kiszka
2005-10-17 18:57 ` Heikki Lindholm
2005-10-17 19:16   ` Jan Kiszka
2005-10-17 19:59     ` Heikki Lindholm
2005-10-17 20:04       ` Philippe Gerum
2005-10-17 20:10         ` Jan Kiszka
2005-10-17 20:17           ` Philippe Gerum
2005-10-17 20:26             ` Philippe Gerum
2005-10-17 21:37               ` Jan Kiszka
2005-10-18  8:07                 ` Jan Kiszka [this message]
2005-10-18  8:14                   ` Gilles Chanteperdrix
2005-10-18  8:29                     ` Jan Kiszka
2005-10-18 17:49                   ` Gilles Chanteperdrix
2005-10-18 18:29                     ` Jan Kiszka
2005-10-18 19:20                       ` Gilles Chanteperdrix
2005-10-18 19:24                         ` Jan Kiszka
2005-10-18 19:34                           ` Gilles Chanteperdrix
2005-10-18 19:43                             ` Jan Kiszka
2005-10-19  8:37                               ` Jan Kiszka
2005-10-19 17:15                                 ` [Xenomai-help] newbie question Ignacio García Pérez
2005-10-19 17:34                                   ` Jan Kiszka
2005-10-19 17:44                                   ` Philippe Gerum
2005-10-19 18:16                                     ` Gilles Chanteperdrix
2005-10-19 18:31                                       ` Jan Kiszka
2005-10-19 18:20                                 ` [Xenomai-help] compiling xenomai on x86_64 Gilles Chanteperdrix
2005-10-17 20:29             ` Jan Kiszka
2005-10-17 20:38               ` Philippe Gerum
2005-10-17 23:32                 ` Gilles Chanteperdrix
2005-10-18  5:32                   ` Heikki Lindholm
2005-10-18 17:33                     ` Gilles Chanteperdrix
2005-10-18 11:16                 ` Jan Kiszka
2005-10-17 23:32       ` Gilles Chanteperdrix
2005-10-18  8:09         ` Jan Kiszka
2005-10-18  8:16           ` Gilles Chanteperdrix
2005-10-18  8:32             ` Jan Kiszka

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=4354AD5A.7010305@domain.hid \
    --to=kiszka@domain.hid \
    --cc=rpm@xenomai.org \
    --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.