We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Got the glibc packages working, but getting this error:
cc -g sctpscan.c -o sctpscan -lglib-2.0 -I/opt/local/include/glib-2.0/ -I/opt/local/lib/glib-2.0/include/ -m32 sctpscan.c:1987:12: error: too many arguments to function call, expected 0, have 2 setpgrp(0, getpid()); ~~~~~~~ ^~~~~~~~~~~ /usr/include/unistd.h:586:1: note: 'setpgrp' declared here pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp); ^ 1 error generated.
The text was updated successfully, but these errors were encountered:
Did you manage to fix this? I'm encountering this bug right now.
Sorry, something went wrong.
I'd have to go back and check -- pretty sure I didn't get it fixed.
There's an easy fix to this. use the function setpgid() instead of setpgrp() used. It'll be automatically fixed
No branches or pull requests
Got the glibc packages working, but getting this error:
cc -g sctpscan.c -o sctpscan -lglib-2.0 -I/opt/local/include/glib-2.0/ -I/opt/local/lib/glib-2.0/include/ -m32
sctpscan.c:1987:12: error: too many arguments to function call, expected 0, have 2
setpgrp(0, getpid());
~~~~~~~ ^~~~~~~~~~~
/usr/include/unistd.h:586:1: note: 'setpgrp' declared here
pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp);
^
1 error generated.
The text was updated successfully, but these errors were encountered: