Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find reference to memset #21

Open
LiEnby opened this issue May 16, 2021 · 0 comments
Open

cannot find reference to memset #21

LiEnby opened this issue May 16, 2021 · 0 comments

Comments

@LiEnby
Copy link

LiEnby commented May 16, 2021

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 to memset'
collect2.exe: error: ld returned 1 exit status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant