問題如下:
$ make
[ 3%] Built target dynarec_arm
[ 3%] Generating box86/src/wrapped/generated/functions_list.txt
File "box86/rebuild_wrappers.py", line 169
__keys__: List[T] = []
^
SyntaxError: invalid syntax
CMakeFiles/WRAPPERS.dir/build.make:425: recipe for target 'box86/src/wrapped/generated/functions_list.txt' failed
make[2]: *** [box86/src/wrapped/generated/functions_list.txt] Error 1
CMakeFiles/Makefile2:101: recipe for target 'CMakeFiles/WRAPPERS.dir/all' failed
make[1]: *** [CMakeFiles/WRAPPERS.dir/all] Error 2
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2
解法如下:
使用新版本的Python3