All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Fwd: problem in installing xenomai on arm
       [not found] <CAEhuWcW0RS=r-U1W3Ciyw7Wmpvdp3A4GBJzvxa_qV7xmyNPgDw@domain.hid>
@ 2011-11-09 14:07 ` xinxin wei
  2011-11-09 14:13   ` Gilles Chanteperdrix
  2011-11-09 15:47   ` Gilles Chanteperdrix
  0 siblings, 2 replies; 4+ messages in thread
From: xinxin wei @ 2011-11-09 14:07 UTC (permalink / raw)
  To: xenomai

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

---------- Forwarded message ----------
From: xinxin wei <weixinxin63@domain.hid>
Date: 2011/11/9
Subject: problem in installing xenomai on arm
To: gilles.chanteperdrix@xenomai.org


now i have a new  problem
i compile xenomai-2.6.0 for arm

cross compile toolchain is arm-none-linux-gnueabi-gcc   and

./configure CC="arm-none-linux-gnueabi-gcc"    --build=i686-pc-linux-gnu
--host=arm-none-linux-gnueabi  --enable-arm-mach=omap4430 --enable-arm-tsc

but the result is

configure: WARNING: unrecognized options: --enable-arm-mach
checking build system type... i686-pc-linux-gnu
checking host system type... arm-none-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-none-linux-gnueabi-gcc... arm-none-linux-gnueabi-gcc
checking whether the C compiler works... no
configure: error: in `/root/xenomai-2.6.0':
configure: error: C compiler cannot create executables
See `config.log' for more details


and  i change the  configure


./configure     --build=i686-pc-linux-gnu  --host=arm-linux
--enable-arm-mach=omap4430

it can  configure  successfull
but  when  i make  install

make DESTDIR=/opt/nfs/angstrom_minimal-fs/usr/xenomai  install


the  result is  error:

In file included from ../../../src/include/asm/xenomai/atomic.h:26,
                 from ../../../include/nucleus/system.h:26,
                 from ../../../src/include/asm/xenomai/system.h:247,
                 from ../../../include/nucleus/types.h:36,
                 from ../../../include/nucleus/thread.h:25,
                 from assert_context.c:24:
../../../src/include/asm/xenomai/features.h:73:2: error: #error "Could not
find current ARM architecture"


who can resolve  this problem  ?

[-- Attachment #2: Type: text/html, Size: 2345 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] Fwd: problem in installing xenomai on arm
  2011-11-09 14:07 ` [Xenomai-help] Fwd: problem in installing xenomai on arm xinxin wei
@ 2011-11-09 14:13   ` Gilles Chanteperdrix
  2011-11-09 14:15     ` Gilles Chanteperdrix
  2011-11-09 15:47   ` Gilles Chanteperdrix
  1 sibling, 1 reply; 4+ messages in thread
From: Gilles Chanteperdrix @ 2011-11-09 14:13 UTC (permalink / raw)
  To: xinxin wei; +Cc: xenomai

On 11/09/2011 03:07 PM, xinxin wei wrote:
> ---------- Forwarded message ----------
> From: xinxin wei <weixinxin63@domain.hid>
> Date: 2011/11/9
> Subject: problem in installing xenomai on arm
> To: gilles.chanteperdrix@xenomai.org
> 
> 
> now i have a new  problem
> i compile xenomai-2.6.0 for arm
> 
> cross compile toolchain is arm-none-linux-gnueabi-gcc   and
> 
> ./configure CC="arm-none-linux-gnueabi-gcc"    --build=i686-pc-linux-gnu
> --host=arm-none-linux-gnueabi  --enable-arm-mach=omap4430 --enable-arm-tsc

Try ./configure --help

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] Fwd: problem in installing xenomai on arm
  2011-11-09 14:13   ` Gilles Chanteperdrix
@ 2011-11-09 14:15     ` Gilles Chanteperdrix
  0 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2011-11-09 14:15 UTC (permalink / raw)
  To: xinxin wei; +Cc: xenomai

On 11/09/2011 03:13 PM, Gilles Chanteperdrix wrote:
> On 11/09/2011 03:07 PM, xinxin wei wrote:
>> ---------- Forwarded message ----------
>> From: xinxin wei <weixinxin63@domain.hid>
>> ./configure CC="arm-none-linux-gnueabi-gcc"    --build=i686-pc-linux-gnu
>> --host=arm-none-linux-gnueabi  --enable-arm-mach=omap4430 --enable-arm-tsc
> 
> Try ./configure --help
> 
and README.INSTALL

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] Fwd: problem in installing xenomai on arm
  2011-11-09 14:07 ` [Xenomai-help] Fwd: problem in installing xenomai on arm xinxin wei
  2011-11-09 14:13   ` Gilles Chanteperdrix
@ 2011-11-09 15:47   ` Gilles Chanteperdrix
  1 sibling, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2011-11-09 15:47 UTC (permalink / raw)
  To: xinxin wei; +Cc: xenomai

On 11/09/2011 03:07 PM, xinxin wei wrote:
> ./configure     --build=i686-pc-linux-gnu  --host=arm-linux 
> --enable-arm-mach=omap4430
> 
> it can  configure  successfull
> but  when  i make  install
> 
> make DESTDIR=/opt/nfs/angstrom_minimal-fs/usr/xenomai  install
>   
> 
> the  result is  error:
> 
> In file included from ../../../src/include/asm/xenomai/atomic.h:26,
>                  from ../../../include/nucleus/system.h:26,
>                  from ../../../src/include/asm/xenomai/system.h:247,
>                  from ../../../include/nucleus/types.h:36,
>                  from ../../../include/nucleus/thread.h:25,
>                  from assert_context.c:24:
> ../../../src/include/asm/xenomai/features.h:73:2: error: #error "Could
> not find current ARM architecture"

I missed that.

Please show us the result of the following command on your system:
arm-none-linux-gnueabi-gcc -dM -x c -E /dev/null | grep ARCH

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-09 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAEhuWcW0RS=r-U1W3Ciyw7Wmpvdp3A4GBJzvxa_qV7xmyNPgDw@domain.hid>
2011-11-09 14:07 ` [Xenomai-help] Fwd: problem in installing xenomai on arm xinxin wei
2011-11-09 14:13   ` Gilles Chanteperdrix
2011-11-09 14:15     ` Gilles Chanteperdrix
2011-11-09 15:47   ` Gilles Chanteperdrix

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.