Ticket #53318: main.log

File main.log, 24.7 KB (added by hktalent (MTX_TianXia), 7 years ago)
Line 
1version:1
2:msg:main --->  Computing dependencies for angst:info:main .:debug:main Found Dependency: path: /opt/local/lib filename: libnet.dylib regex: ^libnet\.dylib$
3:debug:main Searching for dependency: libnet
4:debug:main Didn't find receipt, going to depspec regex for: libnet
5:debug:main Found Dependency: path: /opt/local/lib filename: libnet.dylib regex: ^libnet\.dylib$
6:msg:main
7:debug:main Executing org.macports.main (angst)
8:debug:main changing euid/egid - current euid: 0 - current egid: 0
9:debug:main egid changed to: 501
10:debug:main euid changed to: 502
11:debug:main Skipping completed org.macports.fetch (angst)
12:debug:main Privilege de-escalation not attempted as not running as root.
13:debug:main Skipping completed org.macports.checksum (angst)
14:debug:main Privilege de-escalation not attempted as not running as root.
15:debug:main Skipping completed org.macports.extract (angst)
16:debug:main Privilege de-escalation not attempted as not running as root.
17:debug:main Skipping completed org.macports.patch (angst)
18:debug:main Privilege de-escalation not attempted as not running as root.
19:debug:main Skipping completed org.macports.configure (angst)
20:debug:main Privilege de-escalation not attempted as not running as root.
21:debug:build build phase started at Sun Jan 15 15:14:52 CST 2017
22:notice:build --->  Building angst
23:debug:build Executing org.macports.build (angst)
24:debug:build Environment:
25CC='/usr/bin/clang'
26CC_PRINT_OPTIONS='YES'
27CC_PRINT_OPTIONS_FILE='/Volumes/BOOK/xiatian/local/macports/build/_Volumes_BOOK_xiatian_local_macports_sources_rsync.macports.org_release_ports_net_angst/angst/work/.CC_PRINT_OPTIONS'
28CPATH='/opt/local/include'
29LIBRARY_PATH='/opt/local/lib'
30MACOSX_DEPLOYMENT_TARGET='10.12'
31:debug:build Assembled command: 'cd "/Volumes/BOOK/xiatian/local/macports/build/_Volumes_BOOK_xiatian_local_macports_sources_rsync.macports.org_release_ports_net_angst/angst/work/angst-0.4b" && /usr/bin/make -j4 -w all'
32:debug:build Executing command line:  cd "/Volumes/BOOK/xiatian/local/macports/build/_Volumes_BOOK_xiatian_local_macports_sources_rsync.macports.org_release_ports_net_angst/angst/work/angst-0.4b" && /usr/bin/make -j4 -w all
33:info:build make: Entering directory `/Volumes/BOOK/xiatian/local/macports/build/_Volumes_BOOK_xiatian_local_macports_sources_rsync.macports.org_release_ports_net_angst/angst/work/angst-0.4b'
34:info:build /usr/bin/clang -O2 -Wall -arch x86_64 -I/opt/local/include `libnet-config --defines`  -c active.c -o active.o
35:info:build /usr/bin/clang -O2 -Wall -arch x86_64 -I/opt/local/include `libnet-config --defines`  -c pcap.c -o pcap.o
36:info:build active.c:24:34: error: too many arguments to function call, expected single argument 'l', have 3 arguments
37:info:build   if((libnet_select_device(&sin, &device, errbuf)) == -1)
38:info:build       ~~~~~~~~~~~~~~~~~~~~       ^~~~~~~~~~~~~~~
39:info:build /opt/local/include/./libnet/libnet-functions.h:2222:1: note: 'libnet_select_device' declared here
40:info:build int
41:info:build ^
42:info:build active.c:28:14: warning: implicit declaration of function 'libnet_open_link_interface' is invalid in C99 [-Wimplicit-function-declaration]
43:info:build  if((netif = libnet_open_link_interface(device, errbuf)) == NULL)
44:info:build              ^
45:info:build active.c:28:12: warning: incompatible integer to pointer conversion assigning to 'struct libnet_link_int *' from 'int' [-Wint-conversion]
46:info:build  if((netif = libnet_open_link_interface(device, errbuf)) == NULL)
47:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
48:info:build pcap.c:47:22: error: no member named 'ar_tpa' in 'struct libnet_arp_hdr'; did you mean 'ar_op'?
49:info:build     if((memcmp(arph->ar_tpa, current->tpa, 4)) == 0)
50:info:build                      ^~~~~~
51:info:build                      ar_op
52:info:build /opt/local/include/./libnet/libnet-headers.h:216:14: note: 'ar_op' declared here
53:info:build     uint16_t ar_op;          /* operation type */
54:info:build              ^
55:info:build pcap.c:52:34: error: no member named 'ar_sha' in 'struct libnet_arp_hdr'
56:info:build     add_host(arph->ar_tpa, arph->ar_sha, arph->ar_spa);
57:info:build                            ~~~~  ^
58:info:build pcap.c:52:20: error: no member named 'ar_tpa' in 'struct libnet_arp_hdr'; did you mean 'ar_op'?
59:info:build     add_host(arph->ar_tpa, arph->ar_sha, arph->ar_spa);
60:info:build                    ^~~~~~
61:info:build                    ar_op
62:info:build /opt/local/include/./libnet/libnet-headers.h:216:14: note: 'ar_op' declared here
63:info:build     uint16_t ar_op;          /* operation type */
64:info:build              ^
65:info:build pcap.c:52:48: error: no member named 'ar_spa' in 'struct libnet_arp_hdr'; did you mean 'ar_op'?
66:info:build     add_host(arph->ar_tpa, arph->ar_sha, arph->ar_spa);
67:info:build                                                ^~~~~~
68:info:build                                                ar_op
69:info:build /opt/local/include/./libnet/libnet-headers.h:216:14: note: 'ar_op' declared here
70:info:build     uint16_t ar_op;          /* operation type */
71:info:build              ^
72:info:build active.c:32:37: error: too many arguments to function call, expected single argument 'l', have 3 arguments
73:info:build  if((lea = libnet_get_hwaddr(netif, device, errbuf)) == NULL)
74:info:build            ~~~~~~~~~~~~~~~~~        ^~~~~~~~~~~~~~
75:info:build /opt/local/include/./libnet/libnet-functions.h:1906:1: note: 'libnet_get_hwaddr' declared here
76:info:build struct libnet_ether_addr *
77:info:build ^
78:info:build active.c:37:6: warning: implicit declaration of function 'libnet_init_packet' is invalid in C99 [-Wimplicit-function-declaration]
79:info:build  if((libnet_init_packet(pktsize, &packet)) == -1)
80:info:build      ^
81:info:build active.c:44:42: error: incomplete definition of type 'struct ether_addr'
82:info:build   libnet_build_ethernet(current->sha, lea->ether_addr_octet, ETHERTYPE_ARP,
83:info:build                                       ~~~^
84:info:build active.c:19:9: note: forward declaration of 'struct ether_addr'
85:info:build  struct ether_addr *lea;
86:info:build         ^
87:info:build active.c:49:5: error: incomplete definition of type 'struct ether_addr'
88:info:build         lea->ether_addr_octet, current->tpa, current->sha, current->spa,
89:info:build         ~~~^
90:info:build active.c:19:9: note: forward declaration of 'struct ether_addr'
91:info:build  struct ether_addr *lea;
92:info:build         ^
93:info:build active.c:53:7: warning: implicit declaration of function 'libnet_write_link_layer' is invalid in C99 [-Wimplicit-function-declaration]
94:info:build   if((libnet_write_link_layer(netif, device, packet, (LIBNET_ETH_H + LIBNET_ARP_H))) < 0)
95:info:build       ^
96:info:build active.c:64:6: warning: implicit declaration of function 'libnet_close_link_interface' is invalid in C99 [-Wimplicit-function-declaration]
97:info:build  if((libnet_close_link_interface(netif)) == -1)
98:info:build      ^
99:info:build pcap.c:57:22: error: use of undeclared identifier 'LIBNET_IP_H'
100:info:build  if(pkthdr->caplen < LIBNET_IP_H)
101:info:build                      ^
102:info:build pcap.c:61:49: error: use of undeclared identifier 'LIBNET_IP_H'
103:info:build  tcp = (struct libnet_tcp_hdr *)(pkt + hdrlen + LIBNET_IP_H);
104:info:build                                                 ^
105:info:build pcap.c:63:7: error: incomplete definition of type 'struct libnet_ip_hdr'
106:info:build  if(ip->ip_p == IPPROTO_TCP)
107:info:build     ~~^
108:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
109:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
110:info:build         ^
111:info:build pcap.c:65:13: error: incomplete definition of type 'struct libnet_ip_hdr'
112:info:build   shost = ip->ip_src;
113:info:build           ~~^
114:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
115:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
116:info:build         ^
117:info:build pcap.c:66:13: error: incomplete definition of type 'struct libnet_ip_hdr'
118:info:build   dhost = ip->ip_dst;
119:info:build           ~~^
120:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
121:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
122:info:build         ^
123:info:build pcap.c:67:20: error: incomplete definition of type 'struct libnet_ip_hdr'
124:info:build   iptlen = ntohs(ip->ip_len);
125:info:build                  ~~^
126:info:build /usr/include/sys/_endian.h:132:39: note: expanded from macro 'ntohs'
127:info:build #define ntohs(x)        __DARWIN_OSSwapInt16(x)
128:info:build                                              ^
129:info:build /usr/include/libkern/_OSByteOrder.h:72:40: note: expanded from macro '__DARWIN_OSSwapInt16'
130:info:build     ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
131:info:build                                        ^
132:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
133:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
134:info:build         ^
135:info:build pcap.c:67:20: error: incomplete definition of type 'struct libnet_ip_hdr'
136:info:build   iptlen = ntohs(ip->ip_len);
137:info:build                  ~~^
138:info:build /usr/include/sys/_endian.h:132:39: note: expanded from macro 'ntohs'
139:info:build #define ntohs(x)        __DARWIN_OSSwapInt16(x)
140:info:build                                              ^
141:info:build /usr/include/libkern/_OSByteOrder.h:72:71: note: expanded from macro '__DARWIN_OSSwapInt16'
142:info:build     ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
143:info:build                                                                       ^
144:info:build /usr/include/libkern/_OSByteOrder.h:44:34: note: expanded from macro '__DARWIN_OSSwapConstInt16'
145:info:build     ((__uint16_t)((((__uint16_t)(x) & 0xff00) >> 8) | \
146:info:build                                  ^
147:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
148:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
149:info:build         ^
150:info:build pcap.c:67:20: error: incomplete definition of type 'struct libnet_ip_hdr'
151:info:build   iptlen = ntohs(ip->ip_len);
152:info:build                  ~~^
153:info:build /usr/include/sys/_endian.h:132:39: note: expanded from macro 'ntohs'
154:info:build #define ntohs(x)        __DARWIN_OSSwapInt16(x)
155:info:build                                              ^
156:info:build /usr/include/libkern/_OSByteOrder.h:72:71: note: expanded from macro '__DARWIN_OSSwapInt16'
157:info:build     ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
158:info:build                                                                       ^
159:info:build /usr/include/libkern/_OSByteOrder.h:45:32: note: expanded from macro '__DARWIN_OSSwapConstInt16'
160:info:build                 (((__uint16_t)(x) & 0x00ff) << 8)))
161:info:build                                ^
162:info:build active.c:89:pcap.c34::16 :error9: :too many arguments to function call, expected single argument 'l', have 3 arguments
163:info:build note: forward declaration of 'struct libnet_ip_hdr'
164:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
165:info:build         ^
166:info:build   if((libnet_select_device(&sin, &device, errbuf)) == -1)
167:info:build       ~~~~~~~~~~~~~~~~~~~~       ^~~~~~~~~~~~~~~
168:info:build pcap.c:67:/opt/local/include/./libnet/libnet-functions.h20::2222 :error1: :incomplete definition of type 'struct libnet_ip_hdr'
169:info:build note: 'libnet_select_device' declared here
170:info:build int
171:info:build ^
172:info:build   iptlen = ntohs(ip->ip_len);
173:info:build                  ~~^
174:info:build /usr/include/sys/_endian.h:132:39: note: expanded from macro 'ntohs'
175:info:build #define ntohs(x)        __DARWIN_OSSwapInt16(x)
176:info:build                                              ^
177:info:build /usr/include/libkern/_OSByteOrder.h:72:89: note: expanded from macro '__DARWIN_OSSwapInt16'
178:info:build active.c:93:12: warning: incompatible integer to pointer conversion assigning to 'struct libnet_link_int *' from 'int' [-Wint-conversion]
179:info:build     ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
180:info:build                                                                                         ^
181:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
182:info:build  if((netif = libnet_open_link_interface(device, errbuf)) == NULL)
183:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
184:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
185:info:build         ^
186:info:build pcap.c:70:14: error: incomplete definition of type 'struct libnet_ip_hdr'
187:info:build   if(ntohs(ip->ip_off) & 0x1fff)
188:info:build            ~~^
189:info:build /usr/include/sys/_endian.h:132:39: note: expanded from macro 'ntohs'
190:info:build #define ntohs(x)        __DARWIN_OSSwapInt16(x)
191:info:build                                              ^
192:info:build /usr/include/libkern/_OSByteOrder.h:72:40: note: expanded from macro '__DARWIN_OSSwapInt16'
193:info:build     ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
194:info:build                                        ^
195:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
196:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
197:info:build         ^
198:info:build pcap.c:70:14: error: incomplete definition of type 'struct libnet_ip_hdr'
199:info:build   if(ntohs(ip->ip_off) & 0x1fff)
200:info:build            ~~^
201:info:build /usr/include/sys/_endian.h:132:39: note: expanded from macro 'ntohs'
202:info:build #define ntohs(x)        __DARWIN_OSSwapInt16(x)
203:info:build                                              ^
204:info:build /usr/include/libkern/_OSByteOrder.h:72:71: note: expanded from macro '__DARWIN_OSSwapInt16'
205:info:build     ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
206:info:build                                                                       ^
207:info:build /usr/include/libkern/_OSByteOrder.h:44:34: note: expanded from macro '__DARWIN_OSSwapConstInt16'
208:info:build     ((__uint16_t)((((__uint16_t)(x) & 0xff00) >> 8) | \
209:info:build                                  ^
210:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
211:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
212:info:build         ^
213:info:build pcap.c:70:14: error: incomplete definition of type 'struct libnet_ip_hdr'
214:info:build   if(ntohs(ip->ip_off) & 0x1fff)
215:info:build            ~~^
216:info:build /usr/include/sys/_endian.h:132:39: note: expanded from macro 'ntohs'
217:info:build #define ntohs(x)        __DARWIN_OSSwapInt16(x)
218:info:build                                              ^
219:info:build /usr/include/libkern/_OSByteOrder.h:72:71: note: expanded from macro '__DARWIN_OSSwapInt16'
220:info:build     ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
221:info:build                                                                       ^
222:info:build /usr/include/libkern/_OSByteOrder.h:45:32: note: expanded from macro '__DARWIN_OSSwapConstInt16'
223:info:build                 (((__uint16_t)(x) & 0x00ff) << 8)))
224:info:build                                ^
225:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
226:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
227:info:build         ^
228:info:build pcap.c:70:14: error: incomplete definition of type 'struct libnet_ip_hdr'
229:info:build   if(ntohs(ip->ip_off) & 0x1fff)
230:info:build            ~~^
231:info:build /usr/include/sys/_endian.h:132:39: note: expanded from macro 'ntohs'
232:info:build #define ntohs(x)        __DARWIN_OSSwapInt16(x)
233:info:build                                              ^
234:info:build /usr/include/libkern/_OSByteOrder.h:72:89: note: expanded from macro '__DARWIN_OSSwapInt16'
235:info:build     ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
236:info:build                                                                                         ^
237:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
238:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
239:info:build         ^
240:info:build pcap.c:73:14: error: incomplete definition of type 'struct libnet_ip_hdr'
241:info:build   iphlen = ip->ip_hl * 4;
242:info:build            ~~^
243:info:build pcap.c:16:9: note: forward declaration of 'struct libnet_ip_hdr'
244:info:build  struct libnet_ip_hdr *ip;              /* IP protocol header */
245:info:build         ^
246:info:build pcap.c:90:12: warning: passing 'u_char [3000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
247:info:build   init_buf(temp, sizeof(temp));
248:info:build            ^~~~
249:info:build ./angst.h:69:21: note: passing argument to parameter 'x' here
250:info:build void            init_buf(char x[], int size);
251:info:build                               ^
252:info:build pcap.c:105:20: warning: passing 'u_char [3000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
253:info:build   templen = strlen(temp);
254:info:build                    ^~~~
255:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
256:info:build size_t   strlen(const char *__s);
257:info:build                             ^
258:info:build pcap.c:106:11: warning: passing 'u_char [8192]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
259:info:build   strlcat(buffer, temp, sizeof(buffer));
260:info:build           ^~~~~~
261:info:build /usr/include/secure/_string.h:111:28: note: expanded from macro 'strlcat'
262:info:build   __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
263:info:build                            ^~~~
264:info:build pcap.c:106:19: warning: passing 'u_char [3000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
265:info:build   strlcat(buffer, temp, sizeof(buffer));
266:info:build                   ^~~~
267:info:build /usr/include/secure/_string.h:111:34: note: expanded from macro 'strlcat'
268:info:build   __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
269:info:build                                  ^~~
270:info:build active.c:96:24: error: too few arguments to function call, single argument 'l' was not specified
271:info:build  if((libnet_seed_prand()) == -1)
272:info:build      ~~~~~~~~~~~~~~~~~ ^
273:info:build /opt/local/include/./libnet/libnet-functions.h:155:1: note: 'libnet_seed_prand' declared here
274:info:build int
275:info:build ^
276:info:build pcap.c:107:19: warning: passing 'u_char [8192]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
277:info:build   buflen = strlen(buffer);
278:info:build                   ^~~~~~
279:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
280:info:build size_t   strlen(const char *__s);
281:info:build                             ^
282:info:build pcap.c:115:36: warning: implicit declaration of function 'libnet_host_lookup' is invalid in C99 [-Wimplicit-function-declaration]
283:info:build    fprintf(fp, "\n[ %s : %u  -> ", libnet_host_lookup(shost.s_addr, resolve_flag), sport);
284:info:build                                    ^
285:info:build active.c:99:28: error: use of undeclared identifier 'LIBNET_IP_H'
286:info:build  pktsize = (LIBNET_ETH_H + LIBNET_IP_H + LIBNET_TCP_H);
287:info:build                            ^
288:info:build active.c:107:48: error: use of undeclared identifier 'PRu32'
289:info:build   *((u_int32_t *)ether_src) = libnet_get_prand(PRu32);
290:info:build                                                ^
291:info:build active.c:108:52: error: use of undeclared identifier 'PRu16'
292:info:build   *((u_short *)(ether_src + 4)) = libnet_get_prand(PRu16);
293:info:build                                                    ^
294:info:build active.c:111:48: error: use of undeclared identifier 'PRu32'
295:info:build   *((u_int32_t *)ether_dst) = libnet_get_prand(PRu32);
296:info:build                                                ^
297:info:build active.c:112:52: error: use of undeclared identifier 'PRu16'
298:info:build   *((u_short *)(ether_dst + 4)) = libnet_get_prand(PRu16);
299:info:build                                                    ^
300:info:build active.c:115:28: error: use of undeclared identifier 'PRu32'
301:info:build   srcip = libnet_get_prand(PRu32);
302:info:build                            ^
303:info:build active.c:118:28: error: use of undeclared identifier 'PRu32'
304:info:build   dstip = libnet_get_prand(PRu32);
305:info:build                            ^
306:info:build active.c:121:28: error: use of undeclared identifier 'PRu16'
307:info:build   sport = libnet_get_prand(PRu16);
308:info:build                            ^
309:info:build active.c:124:28: error: use of undeclared identifier 'PRu16'
310:info:build   dport = libnet_get_prand(PRu16);
311:info:build                            ^
312:info:build pcap.c:115:36: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
313:info:build    fprintf(fp, "\n[ %s : %u  -> ", libnet_host_lookup(shost.s_addr, resolve_flag), sport);
314:info:build                     ~~             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
315:info:build                     %d
316:info:build pcap.c:116:33: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
317:info:build    fprintf(fp, "%s : %u ]\n\n", libnet_host_lookup(dhost.s_addr, resolve_flag), dport);
318:info:build                 ~~              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
319:info:build                 %d
320:info:build pcap.c:120:13: warning: passing 'u_char [8192]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
321:info:build    init_buf(buffer, sizeof(buffer));
322:info:build             ^~~~~~
323:info:build ./angst.h:69:21: note: passing argument to parameter 'x' here
324:info:build void            init_buf(char x[], int size);
325:info:build                               ^
326:info:build active.c:127:76: error: too few arguments to function call, expected 7, have 6
327:info:build   libnet_build_ethernet(ether_dst, ether_src, ETHERTYPE_IP, NULL, 0, packet);
328:info:build   ~~~~~~~~~~~~~~~~~~~~~                                                    ^
329:info:build /opt/local/include/./libnet/libnet-functions.h:497:1: note: 'libnet_build_ethernet' declared here
330:info:build libnet_ptag_t
331:info:build ^
332:info:build active.c:130:3: warning: implicit declaration of function 'libnet_build_ip' is invalid in C99 [-Wimplicit-function-declaration]
333:info:build   libnet_build_ip(LIBNET_TCP_H, 0, (libnet_get_prand(PRu16)), 0, 64,
334:info:build   ^
335:info:build active.c:130:54: error: use of undeclared identifier 'PRu16'
336:info:build   libnet_build_ip(LIBNET_TCP_H, 0, (libnet_get_prand(PRu16)), 0, 64,
337:info:build                                                      ^
338:info:build active.c:134:52: error: use of undeclared identifier 'PRu32'
339:info:build   libnet_build_tcp(sport, dport, (libnet_get_prand(PRu32)), (libnet_get_prand(PRu32)),
340:info:build                                                    ^
341:info:build active.c:134:79: error: use of undeclared identifier 'PRu32'
342:info:build   libnet_build_tcp(sport, dport, (libnet_get_prand(PRu32)), (libnet_get_prand(PRu32)),
343:info:build                                                                               ^
344:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
345:info:build 9 warnings and 18 errors generated.
346:info:build 7 warnings and 20 errors generated.
347:info:build make: *** [pcap.o] Error 1
348:info:build make: *** Waiting for unfinished jobs....
349:info:build make: *** [active.o] Error 1
350:info:build make: Leaving directory `/Volumes/BOOK/xiatian/local/macports/build/_Volumes_BOOK_xiatian_local_macports_sources_rsync.macports.org_release_ports_net_angst/angst/work/angst-0.4b'
351:info:build Command failed:  cd "/Volumes/BOOK/xiatian/local/macports/build/_Volumes_BOOK_xiatian_local_macports_sources_rsync.macports.org_release_ports_net_angst/angst/work/angst-0.4b" && /usr/bin/make -j4 -w all
352:info:build Exit code: 2
353:error:build org.macports.build for port angst returned: command execution failed
354:debug:build Error code: CHILDSTATUS 19315 2
355:debug:build Backtrace: command execution failed
356    while executing
357"system -nice 0 $fullcmdstring"
358    ("eval" body line 1)
359    invoked from within
360"eval system $notty $nice \$fullcmdstring"
361    invoked from within
362"command_exec build"
363    (procedure "portbuild::build_main" line 8)
364    invoked from within
365"portbuild::build_main org.macports.build"
366    ("eval" body line 1)
367    invoked from within
368"eval $procedure $targetname"
369:info:build Warning: targets not executed for angst: org.macports.destroot org.macports.build
370:notice:build Please see the log file for port angst for details:
371    /opt/local/var/macports/logs/_Volumes_BOOK_xiatian_local_macports_sources_rsync.macports.org_release_ports_net_angst/angst/main.log