May 28, 2015 10:59 PM
(This post was last modified: May 28, 2015 11:04 PM by Kumara.)
Hello, I'm having an error compiling a C script. I'm using GCC to compile.
It's a DNS scanner, but the problem persists with all my scanning scripts. DNS scanner source code: http://pastebin.com/Ay8cQYUS
dns.c:12:21: error: stropts.h: No such file or directory
dns.c: In function ‘flood’:
dns.c:103: warning: cast from pointer to integer of different size
dns.c: In function ‘main’:
dns.c:239: warning: passing argument 3 of ‘pthread_create’ from incompatible pointer type
/usr/include/pthread.h:225: note: expected ‘void (*)(void )’ but argument is of type ‘void (*)()’
dns.c:254: warning: cast to pointer from integer of different size
Anyone know how to fix this?
Thanks.
It's a DNS scanner, but the problem persists with all my scanning scripts. DNS scanner source code: http://pastebin.com/Ay8cQYUS
dns.c:12:21: error: stropts.h: No such file or directory
dns.c: In function ‘flood’:
dns.c:103: warning: cast from pointer to integer of different size
dns.c: In function ‘main’:
dns.c:239: warning: passing argument 3 of ‘pthread_create’ from incompatible pointer type
/usr/include/pthread.h:225: note: expected ‘void (*)(void )’ but argument is of type ‘void (*)()’
dns.c:254: warning: cast to pointer from integer of different size
Anyone know how to fix this?
Thanks.

