RKI Image for Raspberry PI 2

Mudit Jain muditjain18011995 at gmail.com
Tue May 24 09:17:44 UTC 2016


Hi All,

For raspberry pi bsp, the RKI image using https://github.com/alanc98/rki is
successfully build by modifying the Makefile as per the instructions given
in the same .

However when I try the same for raspberry pi 2 bsp, the build fails with
the following error :

------------------------------------------------------------------------------------------------------------------------------------------
mudit at mudit-HP-Pavilion-g6-Notebook-PC:~/Desktop/sandbox/rki$ make
ARCH=arm-rtems4.12 BSP=raspberrypi2
RTEMS_TOOL_BASE=/home/mudit/Desktop/sandbox/rtems-4.12
RTEMS_BSP_BASE=/home/mudit/Desktop/sandbox/rtems-4.12
arm-rtems4.12-gcc  -Wa,-a=legacy-build/arm-rtems4.12-raspberrypi2/init.lis
-march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a7
-D__ARM__   --pipe
-B/home/mudit/Desktop/sandbox/rtems-4.12/arm-rtems4.12/raspberrypi2/lib
-specs bsp_specs -qrtems -Wall -I. -Iinclude/  -I. -g -O2  -c -o
legacy-build/arm-rtems4.12-raspberrypi2/init.o init.c
init.c:23:24: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
                        ^
compilation terminated.
make: *** [init.o] Error 1
-----------------------------------------------------------------------------------------------------------------------------------------------

I have build RTEMS for Raspberry PI 2 with the following parameters :
$sandbox/rtems/configure --target=arm-rtems4.12 --prefix="$sandbox/
rtems-4.12" --enable-networking --enable-rtemsbsp=raspberrypi2

The build is successful, however when I try building the rki it gives out
the above error.

Can anyone help me with this issue.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160524/c26df8aa/attachment-0001.html>


More information about the devel mailing list