Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % gcc -o test test.c
- test.c:1: error: stray '\357' in program
- test.c:1: error: stray '\273' in program
- test.c:1: error: stray '\277' in program
- test.c:1: error: stray '#' in program
- In file included from test.c:2:
- test.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
- test.c:141: error: expected specifier-qualifier-list before 'u_char'
- test.c:190: error: field 'ippseudo_src' has incomplete type
- test.c:191: error: field 'ippseudo_dst' has incomplete type
- test.c:192: error: expected specifier-qualifier-list before 'u_char'
- test.c: In function 'sniff':
- test.c:26: error: field 'iph' has incomplete type
- test.c:46: warning: incompatible implicit declaration of built-in function 'printf'
- test.c:51: error: 'struct tcphdr' has no member named 'source'
- test.c:52: error: 'struct tcphdr' has no member named 'dest'
- test.c:55: error: 'struct tcphdr' has no member named 'seq'
- test.c:56: error: 'struct tcphdr' has no member named 'fin'
- test.c:57: error: 'struct tcphdr' has no member named 'syn'
- test.c: In function 'scan_ports':
- test.c:129: warning: incompatible implicit declaration of built-in function 'bzero'
- test.c:143: warning: incompatible implicit declaration of built-in function 'printf'
- test.c: In function 'rawsyn':
- test.c:153: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
- test.c:157: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
- test.c:166: error: dereferencing pointer to incomplete type
- test.c:167: error: dereferencing pointer to incomplete type
- test.c:168: error: dereferencing pointer to incomplete type
- test.c:169: error: dereferencing pointer to incomplete type
- test.c:169: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
- test.c:170: error: dereferencing pointer to incomplete type
- test.c:171: error: dereferencing pointer to incomplete type
- test.c:172: error: dereferencing pointer to incomplete type
- test.c:173: error: dereferencing pointer to incomplete type
- test.c:174: error: dereferencing pointer to incomplete type
- test.c:175: error: dereferencing pointer to incomplete type
- test.c:177: error: 'struct tcphdr' has no member named 'source'
- test.c:178: error: 'struct tcphdr' has no member named 'dest'
- test.c:179: error: 'struct tcphdr' has no member named 'seq'
- test.c:180: error: 'struct tcphdr' has no member named 'ack_seq'
- test.c:181: error: 'struct tcphdr' has no member named 'doff'
- test.c:182: error: 'struct tcphdr' has no member named 'syn'
- test.c:183: error: 'struct tcphdr' has no member named 'window'
- test.c:184: error: 'struct tcphdr' has no member named 'check'
- test.c:185: error: 'struct tcphdr' has no member named 'urg_ptr'
- test.c:187: error: dereferencing pointer to incomplete type
- test.c:187: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
- test.c:188: error: 'struct tcphdr' has no member named 'check'
- test.c:188: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
- test.c:190: error: dereferencing pointer to incomplete type
- test.c:192: error: 'struct tcphdr' has no member named 'source'
- test.c:203: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
- test.c:209: warning: incompatible implicit declaration of built-in function 'printf'
- test.c: In function 'getRequests':
- test.c:243: warning: incompatible implicit declaration of built-in function 'bzero'
- test.c:247: warning: incompatible implicit declaration of built-in function 'fprintf'
- test.c:247: error: 'stdout' undeclared (first use in this function)
- test.c:247: error: (Each undeclared identifier is reported only once
- test.c:247: error: for each function it appears in.)
- test.c:251: warning: incompatible implicit declaration of built-in function 'strlen'
- test.c:253: warning: incompatible implicit declaration of built-in function 'snprintf'
- test.c: In function 'main':
- test.c:275: warning: incompatible implicit declaration of built-in function 'printf'
- test.c:289: warning: incompatible implicit declaration of built-in function 'printf'
- test.c:299: warning: incompatible implicit declaration of built-in function 'printf'
- test.c:304: warning: incompatible implicit declaration of built-in function 'printf'
- test.c:311: warning: incompatible implicit declaration of built-in function 'printf'
Add Comment
Please, Sign In to add comment