Hacking Compiling JsTypeHax_payload error

TonyGgse

Active Member
OP
Newcomer
Joined
Jun 10, 2019
Messages
26
Trophies
0
Age
36
XP
155
Country
China
I was according to this link https://gbatemp.net/threads/more-stable-webhack-for-5-5-2-5-5-3-5-5-4-released.528757/, at "Host it yourself" step 3, compiling the code550.bin, and it ran into errors:

linking ... main_hook.elf
make[2]: Leaving directory '/home/Terny/Downloads/JsTypeHax_payload/main_hook'
xxd -i main_hook/main_hook.elf | sed "s/unsigned/static const unsigned/g;s/loader/loader/g;s/build_//g" > main_hook.h
powerpc-eabi-gcc -std=gnu99 -Os -fno-builtin -DVER=550 -c ./launcher.c
./launcher.c: In function 'thread_callback':
./launcher.c:87:47: error: 'main_hook_main_hook_elf' undeclared (first use in this function)
private_data.data_elf = (unsigned char *) main_hook_main_hook_elf; // use this address as temporary to load the elf
^~~~~~~~~~~~~~~~~
./launcher.c:87:47: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:32: main] Error 1
make[1]: Leaving directory '/home/Terny/Downloads/JsTypeHax_payload'
make: *** [Makefile:29: main550] Error 2


Plus: I was using git clone https://github.com/wiiu-env/JsTypeHax_payload, and finally got the repository with gx2sploit and main_hook folders empty! Then I seperately downloaded each folder and copied to the relative folders of the repository, and then type make command, then it ran into the errors...
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    DinohScene @ DinohScene: KFC dating sim