radareorg / radare2-extras

Source graveyard and random candy for radare2
http://www.radare.org/
GNU Lesser General Public License v3.0
241 stars 116 forks source link

Problem with installing unicorn plugin #240

Closed fr0ster closed 4 years ago

fr0ster commented 4 years ago

I can't install unicorn plugin by r2pm

I use radare2 that build from source and use r2pm for installing plugins. I'me trying install unicorn and get error message "" I use radare2 with commit ad17ab6d811483e951a4c8b5b89534bd397dc082 I have next installed plugins:

  1. keystone
  2. keystone-lib
  3. r2frida
  4. r2ghidra-dec
  5. r2lldb
  6. sdb
  7. unicorn-lib

After command r2pm -i unicorn get message Final report:

While I don't know how deal with it

Screenshots

Additional context

radare commented 4 years ago

this plugins hasnt been maintained in years so its probably not building with last r2, few fixes should be needed to make it work again, if you are in the mood :) otherwise ill try to find some spare time for it

On 9 Apr 2020, at 09:31, Aleksey Kislitsa notifications@github.com wrote:

I can't install unicorn plugin by r2pm

I use radare2 that build from source and use r2pm for installing plugins. I'me trying install unicorn and get error message "" I use radare2 with commit ad17ab6d811483e951a4c8b5b89534bd397dc082 I have next installed plugins:

keystone keystone-lib r2frida r2ghidra-dec r2lldb sdb unicorn-lib After command r2pm -i unicorn get message Final report:

PREFIX = /home/alex/.local/share/radare2/prefix make: Entering directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/unicorn' make -C ../libr/debug clean make[1]: Entering directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/libr/debug' make -C p clean make[2]: Entering directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/libr/debug/p' rm -f .so .o debug_evm.o debug_unicorn.o make[2]: Leaving directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/libr/debug/p' make[1]: Leaving directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/libr/debug' make: Leaving directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/unicorn' make: Entering directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/unicorn' make -C ../libr/debug unicorn make[1]: Entering directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/libr/debug' make -C p debug_unicorn.so make[2]: Entering directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/libr/debug/p' gcc -I/home/alex/.local/share/radare2/prefix/include -I/usr/local/include/libr -g -I/shlr -I../../include -I../arch/ -I../arch/include -Wall -shared -fPIC -DLIL_ENDIAN=1 -I/usr/local/include/libr -g -DHAVE_PKGCFG_UNICORN=1 -I/home/alex/.local/share/radare2/prefix/include -c -o debug_unicorn.o debug_unicorn.c In file included from /home/alex/.local/share/radare2/prefix/include/sdb/sdbht.h:4, from /home/alex/.local/share/radare2/prefix/include/sdb/sdb.h:14, from /usr/local/include/libr/sdb.h:1, from /usr/local/include/libr/r_list.h:6, from /usr/local/include/libr/r_io.h:6, from /usr/local/include/libr/r_anal.h:11, from /usr/local/include/libr/r_debug.h:5, from debug_unicorn.c:11: /home/alex/.local/share/radare2/prefix/include/sdb/ht_pp.h:9:10: fatal error: ht_inc.h: No such file or directory

include "ht_inc.h"

^~~~~~ compilation terminated. make[2]: [: debug_unicorn.o] Error 1 make[2]: Leaving directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/libr/debug/p' make[1]: [Makefile:5: unicorn] Error 2 make[1]: Leaving directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/libr/debug' make: *** [Makefile:2: all] Error 2 make: Leaving directory '/home/alex/.local/share/radare2/r2pm/git/radare2-extras/unicorn' While I don't know how deal with it

Screenshots

Additional context

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/radareorg/radare2-extras/issues/240, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG75FT25IEN5EGDAIXM3HTRLV2WTANCNFSM4MEQK7ZA.

radare commented 4 years ago

fixed