.9.2]$ make
gcc -o rpcscan rpcscan.c
gcc -fomit-frame-pointer -O9 -Wall -ffast-math -fforce-mem -fforce-addr -fcaller-saves -fstrength-reduce -fthread-jumps -funroll-loops -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -fexpensive-optimizations -fschedule-insns2 bannereater.c -o bannereater
bannereater.c: In function `scan_host':
bannereater.c:296: warning: passing arg 2 of `connect' from incompatible pointer type
gcc -fomit-frame-pointer -O9 -Wall -ffast-math -fforce-mem -fforce-addr -fcaller-saves -fstrength-reduce -fthread-jumps -funroll-loops -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -fexpensive-optimizations -fschedule-insns2 pingwin.c -lpcap -o pingwin
pingwin.c:43:18: pcap.h: No such file or directory
pingwin.c:44:21: net/bpf.h: No such file or directory
pingwin.c:49: error: `PCAP_ERRBUF_SIZE' undeclared here (not in a function)
pingwin.c:51: error: syntax error before '*' token
pingwin.c:51: warning: type defaults to `int' in declaration of `pt'
pingwin.c:51: warning: data definition has no type or storage class
pingwin.c: In function `start_sniffing':
pingwin.c:70: warning: implicit declaration of function `pcap_open_live'
pingwin.c:70: warning: assignment makes pointer from integer without a cast
pingwin.c:74: warning: implicit declaration of function `pcap_compile'
pingwin.c:75: warning: implicit declaration of function `pcap_perror'
pingwin.c:78: warning: implicit declaration of function `pcap_setfilter'
pingwin.c: At top level:
pingwin.c:86: warning: "struct pcap_pkthdr" declared inside parameter list
pingwin.c:86: warning: its scope is only this definition or declaration, which is probably not what you want
pingwin.c: In function `parse':
pingwin.c:88: error: dereferencing pointer to incomplete type
pingwin.c: In function `main':
pingwin.c:194: warning: implicit declaration of function `pcap_dispatch'
pingwin.c: At top level:
pingwin.c:49: error: storage size of `errbuf' isn't known
pingwin.c:50: error: storage size of `flt' isn't known
make: *** [pingwin] Error 1
Tietääkö joku mitä mun pitäis ladata, että saan make komennon toimiin?
|