TheOfficialFloW / h-encore-2

Fully chained kernel exploit for the PS Vita on firmwares 3.65-3.74
MIT License
335 stars 45 forks source link

cannot find reference to memset #21

Open LiEnby opened 3 years ago

LiEnby commented 3 years ago

when trying to build:

arm-vita-eabi-gcc -fPIE -fno-zero-initialized-in-bss -std=c99 -mcpu=cortex-a9 -Os -mthumb payload.o -o payload.elf -T linker.x -nostartfiles -nostdlib -pie c:/msys64/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.2.0/../../../../arm-vita-eabi/bin/ld.exe: payload.o: in function thread_main': payload.c:(.text+0x624): undefined reference tomemset' collect2.exe: error: ld returned 1 exit status