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

"SW2_GetSyscallNumber" referenced in " .text " section #1

Closed
pruno7 opened this issue Apr 5, 2022 · 1 comment
Closed

"SW2_GetSyscallNumber" referenced in " .text " section #1

pruno7 opened this issue Apr 5, 2022 · 1 comment

Comments

@pruno7
Copy link

pruno7 commented Apr 5, 2022

Hello,

I'm having a weird issue when trying to compile a binary :

« SW2_GetSyscallNumber » référencé dans la section « .text » de /tmp/syscalls_pe.exe.MGtNaa.ltrans0.ltrans.o: défini dans la section abandonnée « .text » de /home/pruno/.cache/nim/main_r/@mmain.nim.c.o (symbol from plugin) collect2: error: ld returned 1 exit status

Would you have any ideas ? My program is only a little process injector using one of your examples.

Searched for many ways but can't find a solution.

@pruno7
Copy link
Author

pruno7 commented Apr 7, 2022

Found what was the problem, don't use optimization options such as --opt:size and so on.

@pruno7 pruno7 closed this as completed Apr 10, 2022
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