All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Linux 4.1.18 with xenomai 3.0.3, libraries build failed
@ 2017-11-27  4:00 Jack Lee
  2017-11-27  9:13 ` Philippe Gerum
  0 siblings, 1 reply; 8+ messages in thread
From: Jack Lee @ 2017-11-27  4:00 UTC (permalink / raw)
  To: xenomai

My board cpu is intel Atom N2800, OS is Lubuntu 17.10, gcc version is 
7.2.0.
Since the newest 3.0.6 cannot setup on my board, I tried the older version.
It works now. But when I build the xenomai libraries, it encounters the 
following error:

-r and -pie can not be used together.

then I changed the configuration to

../configure --with-core=cobalt --enable-smp --enable-pshared 
CFLAGS="-no-pie"

It didn't work with the new error:

In file included from ../../../utils/analogy/calibration_ni_m.h:27:0,
                  from ../../../utils/analogy/calibration_ni_m.c:26:
../../../utils/analogy/analogy_calibrate.h: In function ‘__debug’:
../../../utils/analogy/analogy_calibrate.h:95:2: error: implicit 
declaration of function ‘clock_gettime’ 
[-Werror=implicit-function-declaration]
   clock_gettime(CLOCK_MONOTONIC, &now);
   ^~~~~~~~~~~~~
../../../utils/analogy/analogy_calibrate.h:95:16: error: 
‘CLOCK_MONOTONIC’ undeclared (first use in this function)
   clock_gettime(CLOCK_MONOTONIC, &now);
                 ^~~~~~~~~~~~~~~
../../../utils/analogy/analogy_calibrate.h:95:16: note: each undeclared 
identifier is reported only once for each function it appears in

Can anyone help?
Thanks.




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

end of thread, other threads:[~2017-11-28 11:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-27  4:00 [Xenomai] Linux 4.1.18 with xenomai 3.0.3, libraries build failed Jack Lee
2017-11-27  9:13 ` Philippe Gerum
2017-11-28  1:05   ` Jack Lee
2017-11-28  8:41     ` Philippe Gerum
2017-11-28  9:10       ` Jack Lee
2017-11-28  9:13         ` Christoph Müllner
2017-11-28  9:13         ` Philippe Gerum
2017-11-28 11:38           ` Jack Lee

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.