All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] xenomai & zynq
@ 2016-05-03 20:21 Ran Shalit
  2016-05-03 20:44 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Ran Shalit @ 2016-05-03 20:21 UTC (permalink / raw)
  To: xenomai

Hello,

I hope someone will have idea about the following.
I try to build xenomai 3 .
The configure seems to works fine, but
 make <DESTDIR> install, gives errors:
".....
Making install in init
make[4]: Entering directory
`/home/ubuntu/zynq/xenomai_3/xenomai-3.0.2/lib/boilerplate/init'
  CC       libbootstrap_a-bootstrap.o
In file included from ../../../include/xenomai/init.h:21:0,
                 from bootstrap.c:23:
../../../include/boilerplate/setup.h:27:2: error: unknown type name 'cpu_set_t'
  cpu_set_t cpu_affinity;
  ^
../../../include/boilerplate/setup.h: In function 'get_program_name':
../../../include/boilerplate/setup.h:107:2: error: implicit
declaration of function 'basename'
[-Werror=implicit-function-declaration]
  return basename(__base_setup_data.arg0 ?: "program");
  ^
...."
I configure it as following:
  ./configure CFLAGS="-march=armv7-a -mfpu=neon"
LDFLAGS="-march=armv7-a -mfpu=neon"   --build=i686-pc-linux-gnu
--host=arm-xilinx-eabi --with-core=cobalt

But When I change the host cross compiles from
host=arm-xilinx-eabi
to
host=arm-none-linux-gnueabi

than  build is completed without errors.

Is there anything wrong with the configuration I use with zynq ?
I am not sure if arm-none-linux-gnueabi can be used instead of arm-xilinx-eabi.
Is there anyone who used xenomai with zynq ?

Regards,
Ran


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

end of thread, other threads:[~2016-05-05  8:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03 20:21 [Xenomai] xenomai & zynq Ran Shalit
2016-05-03 20:44 ` Gilles Chanteperdrix
2016-05-03 21:17   ` Gilles Chanteperdrix
2016-05-05  5:41     ` Ran Shalit
2016-05-05  8:25       ` 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.