On 2017-11-22 08:19, Qiu Shui wrote: > I followed the instruction of "setup-on-banana-pi-arm-board.md" pretty > successfully, until came to "Cross Compiling Jailhouse(w/ FreeRTOS-cell) for > ARM on x86". > When I run "make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- > KDIR=../linux-stable". I got fatal errors: > WARNING: Symbol version dump ./Module.symvers > is missing; modules will have no dependencies and modversions. > CC /home/beyond2002/jailhouse/configs/amd-seattle-gic-demo.o > OBJCOPY /home/beyond2002/jailhouse/configs/amd-seattle-gic-demo.cell > CC /home/beyond2002/jailhouse/configs/amd-seattle-linux-demo.o > OBJCOPY /home/beyond2002/jailhouse/configs/amd-seattle-linux-demo.cell > CC /home/beyond2002/jailhouse/configs/amd-seattle-uart-demo.o > OBJCOPY /home/beyond2002/jailhouse/configs/amd-seattle-uart-demo.cell > CC /home/beyond2002/jailhouse/configs/amd-seattle.o > OBJCOPY /home/beyond2002/jailhouse/configs/amd-seattle.cell > CC /home/beyond2002/jailhouse/configs/apic-demo.o > OBJCOPY /home/beyond2002/jailhouse/configs/apic-demo.cell > CC /home/beyond2002/jailhouse/configs/bananapi-freertos-demo.o > /home/beyond2002/jailhouse/configs/bananapi-freertos-demo.c:1:25: fatal > error: linux/types.h: No such file or directory > compilation terminated. > scripts/Makefile.build:258: recipe for target > '/home/beyond2002/jailhouse/configs/bananapi-freertos-demo.o' failed > make[3]: *** [/home/beyond2002/jailhouse/configs/bananapi-freertos-demo.o] > Error 1 > scripts/Makefile.build:403: recipe for target > '/home/beyond2002/jailhouse/configs' failed > make[2]: *** [/home/beyond2002/jailhouse/configs] Error 2 > Makefile:1378: recipe for target '_module_/home/beyond2002/jailhouse' failed > make[1]: *** [_module_/home/beyond2002/jailhouse] Error 2 > Makefile:36: recipe for target 'modules' failed > make: *** [modules] Error 2 > > Maybe I missed instalingl some package or setting any variables? > > Would anybody please provide any suggestions to solve this error?
The kernel dir use are using does not contain all the outputs of a normal kernel build. Therefore, the build fails over missing files. Did you actually build the kernel like described in the readme? Did you reference the build folder in case you built out of tree? Jan -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
