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
root@guru:/home/sait32/Downloads/hping-master# make gcc -c -O2 -Wall -g main.c gcc -c -O2 -Wall -g getifname.c gcc -c -O2 -Wall -g getlhs.c gcc -c -O2 -Wall -g parseoptions.c gcc -c -O2 -Wall -g datafiller.c gcc -c -O2 -Wall -g datahandler.c gcc -c -O2 -Wall -g gethostname.c gcc -c -O2 -Wall -g binding.c gcc -c -O2 -Wall -g getusec.c gcc -c -O2 -Wall -g opensockraw.c gcc -c -O2 -Wall -g logicmp.c gcc -c -O2 -Wall -g waitpacket.c gcc -c -O2 -Wall -g resolve.c gcc -c -O2 -Wall -g sendip.c gcc -c -O2 -Wall -g sendicmp.c In file included from /usr/include/string.h:494, from sendicmp.c:19: In function ‘memcpy’, inlined from ‘send_icmp_other’ at sendicmp.c:256:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ forming offset [21, 28] is out of the bounds [0, 20] of object ‘icmp_ip’ with type ‘struct myiphdr’ [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendicmp.c: In function ‘send_icmp_other’: sendicmp.c:197:17: note: ‘icmp_ip’ declared here struct myiphdr icmp_ip; ^~~~~~~ gcc -c -O2 -Wall -g sendudp.c gcc -c -O2 -Wall -g sendtcp.c gcc -c -O2 -Wall -g cksum.c gcc -c -O2 -Wall -g statistics.c gcc -c -O2 -Wall -g usage.c gcc -c -O2 -Wall -g version.c gcc -c -O2 -Wall -g antigetopt.c gcc -c -O2 -Wall -g sockopt.c gcc -c -O2 -Wall -g listen.c listen.c: In function ‘listenmain’: listen.c:77:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(stdoutFD, p, size-(p-ip_packet)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -Wall -g sendhcmp.c gcc -c -O2 -Wall -g memstr.c gcc -c -O2 -Wall -g rtt.c rtt.c: In function ‘rtt’: rtt.c:43:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (i=0; i<TABLESIZE; i++) ^~~ rtt.c:48:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ if (i != TABLESIZE) ^~ gcc -c -O2 -Wall -g relid.c gcc -c -O2 -Wall -g sendip_handler.c gcc -c -O2 -Wall -g libpcap_stuff.c libpcap_stuff.c:19:10: fatal error: net/bpf.h: No such file or directory #include <net/bpf.h> ^~~~~~~~~~~ compilation terminated. make: *** [Makefile:66: libpcap_stuff.o] Error 1 root@guru:/home/sait32/Downloads/hping-master#
The text was updated successfully, but these errors were encountered:
No branches or pull requests
root@guru:/home/sait32/Downloads/hping-master# make
gcc -c -O2 -Wall -g main.c
gcc -c -O2 -Wall -g getifname.c
gcc -c -O2 -Wall -g getlhs.c
gcc -c -O2 -Wall -g parseoptions.c
gcc -c -O2 -Wall -g datafiller.c
gcc -c -O2 -Wall -g datahandler.c
gcc -c -O2 -Wall -g gethostname.c
gcc -c -O2 -Wall -g binding.c
gcc -c -O2 -Wall -g getusec.c
gcc -c -O2 -Wall -g opensockraw.c
gcc -c -O2 -Wall -g logicmp.c
gcc -c -O2 -Wall -g waitpacket.c
gcc -c -O2 -Wall -g resolve.c
gcc -c -O2 -Wall -g sendip.c
gcc -c -O2 -Wall -g sendicmp.c
In file included from /usr/include/string.h:494,
from sendicmp.c:19:
In function ‘memcpy’,
inlined from ‘send_icmp_other’ at sendicmp.c:256:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ forming offset [21, 28] is out of the bounds [0, 20] of object ‘icmp_ip’ with type ‘struct myiphdr’ [-Warray-bounds]
return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sendicmp.c: In function ‘send_icmp_other’:
sendicmp.c:197:17: note: ‘icmp_ip’ declared here
struct myiphdr icmp_ip;
^~~~~~~
gcc -c -O2 -Wall -g sendudp.c
gcc -c -O2 -Wall -g sendtcp.c
gcc -c -O2 -Wall -g cksum.c
gcc -c -O2 -Wall -g statistics.c
gcc -c -O2 -Wall -g usage.c
gcc -c -O2 -Wall -g version.c
gcc -c -O2 -Wall -g antigetopt.c
gcc -c -O2 -Wall -g sockopt.c
gcc -c -O2 -Wall -g listen.c
listen.c: In function ‘listenmain’:
listen.c:77:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(stdoutFD, p, size-(p-ip_packet));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -O2 -Wall -g sendhcmp.c
gcc -c -O2 -Wall -g memstr.c
gcc -c -O2 -Wall -g rtt.c
rtt.c: In function ‘rtt’:
rtt.c:43:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (i=0; i<TABLESIZE; i++)
^~~
rtt.c:48:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
if (i != TABLESIZE)
^~
gcc -c -O2 -Wall -g relid.c
gcc -c -O2 -Wall -g sendip_handler.c
gcc -c -O2 -Wall -g libpcap_stuff.c
libpcap_stuff.c:19:10: fatal error: net/bpf.h: No such file or directory
#include <net/bpf.h>
^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:66: libpcap_stuff.o] Error 1
root@guru:/home/sait32/Downloads/hping-master#
The text was updated successfully, but these errors were encountered: