I'm working with Jailhouse for linux 5.10.50, which is downloaded by "git 
clone --depth=1 https://github.com/raspberrypi/linux";.

However, when I try "make KDIR=../linux" in jailhouse, the following 
information output:

CC [M]  /home/pi/Downloads/jailhouse/driver/cell.o

*/home/pi/Downloads/jailhouse/driver/cell.c:* In function ‘
*jailhouse_cmd_cell_create*’:

*/home/pi/Downloads/jailhouse/driver/cell.c:243:10:* *error: *implicit 
declaration of function ‘*remove_cpu*’; did you mean ‘*register_cpu*’? [
*-Werror=implicit-function-declaration*]

    err = *remove_cpu*(cpu);

          *^~~~~~~~~~*

          register_cpu

cc1: some warnings being treated as errors

make[3]: *** [scripts/Makefile.build:280: 
/home/pi/Downloads/jailhouse/driver/cell.o] Error 1

make[2]: *** [scripts/Makefile.build:497: 
/home/pi/Downloads/jailhouse/driver] Error 2

make[1]: *** [Makefile:1824: /home/pi/Downloads/jailhouse] Error 2

make: *** [Makefile:40: modules] Error 2

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/fc0f1d1e-0132-4c13-a98f-eb50679447a0n%40googlegroups.com.

Reply via email to