1 | ./stubs.inc:187:2: warning: "the function pcap_list_datalinks() is not available" [-W#warnings] |
---|
2 | #warning "the function pcap_list_datalinks() is not available" |
---|
3 | ^ |
---|
4 | ./stubs.inc:322:2: warning: "the function pcap_createsrcstr() is not available" [-W#warnings] |
---|
5 | #warning "the function pcap_createsrcstr() is not available" |
---|
6 | ^ |
---|
7 | ./stubs.inc:337:2: warning: "the function pcap_parsesrcstr() is not available" [-W#warnings] |
---|
8 | #warning "the function pcap_parsesrcstr() is not available" |
---|
9 | ^ |
---|
10 | ./stubs.inc:352:2: warning: "the function pcap_open() is not available" [-W#warnings] |
---|
11 | #warning "the function pcap_open() is not available" |
---|
12 | ^ |
---|
13 | ./stubs.inc:357:8: error: redefinition of 'pcap_rmtauth' |
---|
14 | struct pcap_rmtauth { |
---|
15 | ^ |
---|
16 | /usr/local/macports/include/pcap/pcap.h:788:8: note: previous definition is here |
---|
17 | struct pcap_rmtauth |
---|
18 | ^ |
---|
19 | In file included from Pcap.xs:43: |
---|
20 | ./stubs.inc:373:2: warning: "the function pcap_setbuff() is not available" [-W#warnings] |
---|
21 | #warning "the function pcap_setbuff() is not available" |
---|
22 | ^ |
---|
23 | ./stubs.inc:388:2: warning: "the function pcap_setuserbuffer() is not available" [-W#warnings] |
---|
24 | #warning "the function pcap_setuserbuffer() is not available" |
---|
25 | ^ |
---|
26 | ./stubs.inc:403:2: warning: "the function pcap_setmode() is not available" [-W#warnings] |
---|
27 | #warning "the function pcap_setmode() is not available" |
---|
28 | ^ |
---|
29 | ./stubs.inc:418:2: warning: "the function pcap_setmintocopy() is not available" [-W#warnings] |
---|
30 | #warning "the function pcap_setmintocopy() is not available" |
---|
31 | ^ |
---|
32 | ./stubs.inc:433:2: warning: "the function pcap_sendqueue_alloc() is not available" [-W#warnings] |
---|
33 | #warning "the function pcap_sendqueue_alloc() is not available" |
---|
34 | ^ |
---|
35 | ./stubs.inc:455:2: warning: "the function pcap_sendqueue_destroy() is not available" [-W#warnings] |
---|
36 | #warning "the function pcap_sendqueue_destroy() is not available" |
---|
37 | ^ |
---|
38 | ./stubs.inc:469:2: warning: "the function pcap_sendqueue_queue() is not available" [-W#warnings] |
---|
39 | #warning "the function pcap_sendqueue_queue() is not available" |
---|
40 | ^ |
---|
41 | ./stubs.inc:484:2: warning: "the function pcap_sendqueue_transmit() is not available" [-W#warnings] |
---|
42 | #warning "the function pcap_sendqueue_transmit() is not available" |
---|
43 | ^ |
---|
44 | ./stubs.inc:499:2: warning: "the function pcap_event() is not available" [-W#warnings] |
---|
45 | #warning "the function pcap_event() is not available" |
---|
46 | ^ |
---|
47 | ./stubs.inc:514:2: warning: "the function pcap_setsampling() is not available" [-W#warnings] |
---|
48 | #warning "the function pcap_setsampling() is not available" |
---|
49 | ^ |
---|
50 | ./stubs.inc:519:8: error: redefinition of 'pcap_samp' |
---|
51 | struct pcap_samp { |
---|
52 | ^ |
---|
53 | /usr/local/macports/include/pcap/pcap.h:914:8: note: previous definition is here |
---|
54 | struct pcap_samp |
---|
55 | ^ |
---|
56 | Pcap.xs:108:13: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] |
---|
57 | RETVAL = pcap_lookupdev(errbuf); |
---|
58 | ^ |
---|
59 | /usr/local/macports/include/pcap/pcap.h:327:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here |
---|
60 | PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); |
---|
61 | ^ |
---|
62 | /usr/local/macports/include/pcap/funcattrs.h:225:53: note: expanded from macro 'PCAP_DEPRECATED' |
---|
63 | #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) |
---|
64 | ^ |
---|
65 | Pcap.xs:222:33: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] |
---|
66 | char *dev = pcap_lookupdev(errbuf); |
---|
67 | ^ |
---|
68 | /usr/local/macports/include/pcap/pcap.h:327:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here |
---|
69 | PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); |
---|
70 | ^ |
---|
71 | /usr/local/macports/include/pcap/funcattrs.h:225:53: note: expanded from macro 'PCAP_DEPRECATED' |
---|
72 | #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) |
---|
73 | ^ |
---|
74 | Pcap.c:1702:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
---|
75 | RETVAL = pcap_strerror(error); |
---|
76 | ^ ~~~~~~~~~~~~~~~~~~~~ |
---|
77 | 17 warnings and 2 errors generated. |
---|
78 | make: *** [Pcap.o] Error 1 |
---|