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

Unable to compile on windows #6

Open
aludayalu opened this issue Feb 15, 2024 · 0 comments
Open

Unable to compile on windows #6

aludayalu opened this issue Feb 15, 2024 · 0 comments

Comments

@aludayalu
Copy link

On make giffy

gcc main.c giffy.c -o giffy.exe
giffy.c: In function 'write_secret_message_symbols':
giffy.c:9:3: warning: implicit declaration of function 'flockfile' [-Wimplicit-function-declaration]
flockfile(giffy);
^~~~~~~~~
giffy.c:11:5: warning: implicit declaration of function 'putc_unlocked' [-Wimplicit-function-declaration]
putc_unlocked('_', giffy);
^~~~~~~~~~~~~
C:\Users\Aarav\AppData\Local\Temp\cceDbZfX.o:giffy.c:(.text+0xd): undefined reference to flockfile' C:\Users\Aarav\AppData\Local\Temp\cceDbZfX.o:giffy.c:(.text+0x29): undefined reference to putc_unlocked'
C:\Users\Aarav\AppData\Local\Temp\cceDbZfX.o:giffy.c:(.text+0x58): undefined reference to flockfile' C:\Users\Aarav\AppData\Local\Temp\cceDbZfX.o:giffy.c:(.text+0x7e): undefined reference to putc_unlocked'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:2: giffy] Error 1

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