Hi,<br><div dir="ltr"><div><div><div><div><div><br></div>I am trying to build RKI for Raspberrypi but I have been getting this error message:<br><br><br>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<br>task_cmd.c: In function 'get_ticks_per_second':<br>task_cmd.c:23:10: warning: implicit declaration of function 'rtems_clock_get' [-Wimplicit-function-declaration]<br> (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); return ticks_per_second;<br> ^~~~~~~~~~~~~~~<br>task_cmd.c:23:27: error: 'RTEMS_CLOCK_GET_TICKS_PER_SECOND' undeclared (first use in this function)<br> (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); return ticks_per_second;<br> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br></div><br>The line associated with this message in the task_cmd.c is <br><br>{<br> rtems_interval ticks_per_second;<br> (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); return ticks_per_second;<br>}<br><br><br><span style="font-size:12.8px">Any ideas on how I can fix this?<br><br></span></div><span style="font-size:12.8px">Thanks.<br><br></span></div><span style="font-size:12.8px">Best regards,<br></span></div><span style="font-size:12.8px">Habeeb<br></span></div>
<br>