rumpkernel / rumprun

The Rumprun unikernel and toolchain for various platforms
Other
1.14k stars 128 forks source link

Issue with ARM #116

Open hemalbavisi opened 6 years ago

hemalbavisi commented 6 years ago

I am a newbie with rumprun, I would like to build rumprun on arm controller. I am using linaro compiler "Compiler Version" arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 4.8.4

I did few manual changes e.g. /platform/hw/Makefile , I changed the Machine settings as follows:

ifeq (${MACHINE},evbearmhf-el) supported:= true ARCHDIR= arm/integrator endif

After that I used following command to build rumprun kernel CC=arm-linux-gnueabihf-gcc ./build-rr.sh hw

Build process started and after a while I got following error which I couldn't solve it. It would be great if you can help me in this regard. mkdir -p /home/avin/rumprun/./obj-evbearmhf-el-hw/platform/arch/arm/integrator /home/avin/rumprun/obj-evbearmhf-el-hw/rumptools/bin/arm--netbsdelf-eabihf-gcc -Iinclude -I../../include -I/home/avin/rumprun/./obj-evbearmhf-el-hw/include -nostdinc -I/home/avin/rumprun/./obj-evbearmhf-el-hw/dest.stage/include -Iarch/arm -std=gnu99 -O2 -g -fno-stack-protector -ffreestanding -Wall -Wimplicit -Wmissing-prototypes -Wstrict-prototypes -Werror -U_FORTIFY_SOURCE -c intr.c -o /home/avin/rumprun/./obj-evbearmhf-el-hw/platform/intr.o In file included from intr.c:26:0: include/hw/kernel.h:1:27: fatal error: hw/machine/md.h: No such file or directory

include <hw/machine/md.h>

kent-mcleod commented 6 years ago

What happens when you rename the folder platform/hw/include/arch/earm to platform/hw/include/arch/arm?