RKI Build Error
Olufowobi, Habeeb
habeeb.olufowobi at bison.howard.edu
Thu Apr 21 00:50:55 UTC 2016
Hi,
I am trying to build RKI for Raspberrypi but I have been getting this error
message:
arm-rtems4.12-gcc
-Wa,-a=legacy-build/arm-rtems4.12-raspberrypi/task_cmd.lis -march=armv7-a
-mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a7 -D__ARM__ --pipe
-B/home/dipupo/development/rtems/kernel/builds/b-rpi/arm-rtems4.12/raspberrypi/lib
-specs bsp_specs -qrtems -Wall -I. -Iinclude/ -I. -g -O2 -c -o
legacy-build/arm-rtems4.12-raspberrypi/task_cmd.o task_cmd.c
task_cmd.c: In function 'get_ticks_per_second':
task_cmd.c:23:10: warning: implicit declaration of function
'rtems_clock_get' [-Wimplicit-function-declaration]
(void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND,
&ticks_per_second ); return ticks_per_second;
^~~~~~~~~~~~~~~
task_cmd.c:23:27: error: 'RTEMS_CLOCK_GET_TICKS_PER_SECOND' undeclared
(first use in this function)
(void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND,
&ticks_per_second ); return ticks_per_second;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The line associated with this message in the task_cmd.c is
{
rtems_interval ticks_per_second;
(void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND,
&ticks_per_second ); return ticks_per_second;
}
Any ideas on how I can fix this?
Thanks.
Best regards,
Habeeb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160420/8c0f48c8/attachment.html>
More information about the devel
mailing list