➜ ~ r2pm -i r2golf
Cloning into 'r2lrn'...
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (46/46), done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 46 (delta 0), reused 32 (delta 0), pack-reused 0
Unpacking objects: 100% (46/46), done.
Install Done For r2golf
cc -g -I/usr/include/libr -lr_core -lr_config -lr_debug -lr_bin -lr_anal -lr_bp -lr_egg -lr_asm -lr_lang -lr_parse -lr_flag -lr_cons -lr_reg -lr_search -lr_syscall -lr_fs -lr_io -lr_socket -lr_magic -lr_crypto -lr_hash -lr_util -ldl -shared -o r2golf.so plugin.c
plugin.c: In function ‘isRootCommand’:
plugin.c:201:36: error: ‘RConsContext {aka struct r_cons_context_t}’ has no member named ‘cmd_depth’
int curDepth = core->cons->context->cmd_depth;
^~
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1
mkdir -p "/home/lushan/.local/share/radare2/plugins"
cp -f r2golf.so "/home/lushan/.local/share/radare2/plugins"
cp: cannot stat 'r2golf.so': No such file or directory
Makefile:10: recipe for target 'install' failed
make: *** [install] Error 1