On 19.07.21 17:10, 王文竹 wrote:
> 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 likely used the last release - we didn't update it for way too long,
and that version was not yet aware of the changes 5.7+ would bring.
Please retry with current git master, that should work.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

-- 
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/98ff0faa-73fc-e532-355c-c131b90de694%40siemens.com.

Reply via email to