r/jailbreakdevelopers • u/Ghh-Haker Developer • Nov 13 '24
Unable to build TweakInject.dylib from libhooker-basebins! Help
Help!
/opt/theos/include/sandbox.h:28:5: error: typedef redefinition with different types ('struct (unnamed struct at /opt/theos/include/sandbox.h:24:16) *' vs 'struct sandbox_profile *')
} * sandbox_profile_t;
^
/opt/theos/vendor/include/sandbox.h:28:5: note: previous definition is here
} * sandbox_profile_t;
^
In file included from Tweak.x:9:
/opt/theos/include/sandbox.h:30:16: error: redefinition of 'sandbox_params'
typedef struct sandbox_params {
^
/opt/theos/vendor/include/sandbox.h:30:16: note: previous definition is here
typedef struct sandbox_params {
Errors like that.
1 Upvotes
2
u/level3tjg Nov 13 '24
Looks like you have a duplicate header,
/opt/theos/include/sandbox.h
and/opt/theos/vendor/include/sandbox.h