-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels