sleirsgoevy / ps4jb-payloads

Extracted payloads from the main repo
110 stars 28 forks source link

ps4-libjbc/jailbreak.h not found #1

Closed oneohthree closed 3 years ago

oneohthree commented 3 years ago

Got this error trying to build bgft on Arch Linux.

../lib; make
make[1]: Entering directory '/home/johndoe/ps4jb-payloads/lib'
yasm -f elf64 crt.asm
gcc -c -isystem ../freebsd-headers -nostdinc -fno-stack-protector dl.c -o dl.o -fPIE -ffreestanding
python3 syscalls.py > syscalls.asm
yasm -f elf64 syscalls.asm
ld -r crt.o dl.o syscalls.o -o lib.a
make[1]: Leaving directory '/home/johndoe/ps4jb-payloads/lib'
gcc -g -mcmodel=small -isystem ../freebsd-headers -nostdinc -nostdlib -fno-stack-protector -static ../lib/lib.a main.c download.c ps4-libjbc/*.c -Wl,-gc-sections -o payload.elf -fPIE -ffreestanding
main.c:3:10: fatal error: ps4-libjbc/jailbreak.h: No such file or directory
    3 | #include "ps4-libjbc/jailbreak.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
cc1: fatal error: ps4-libjbc/*.c: No such file or directory
compilation terminated.
make: *** [Makefile:10: payload.elf] Error 1
sleirsgoevy commented 3 years ago

Clone ps4-libjbc into the bgft/ps4-libjbc directory. Will make it a submodule later.