Thread dmake errors (15 answers)
Opened by jayr at 2010-08-19 23:43

Gast jayr
 2010-08-20 12:46
#140792 #140792
Also, wie gesagt bei dem Makefile kein Problem:

Code: (dl )
1
2
3
4
5
6
7
C:\strawberry\perl\lib\Net-Pcap-0.16>perl Makefile.PL INC=-IC:/WpdPack/Include "
LIBS=-LC:/WpdPack/Lib -lwpcap"
socket.h patched... ok
looking for -lwpcap... yes
checking for pcap_lib_version() in -lwpcap... yes
detecting available functions... ok
Writing Makefile for Net::Pcap



..aber bei dmake:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
C:\strawberry\perl\lib\Net-Pcap-0.16>dmake
Skip blib\lib\Net\Pcap.pm (unchanged)
gcc -c -IC:/WpdPack/Include -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTO
MIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfi
elds -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.16\" -DXS_VERSION=\"0
.16\" "-IC:\strawberry\perl\lib\CORE" -DWINSOCK2_H_REQUESTED -DWPCAP -DHAVE_RE
MOTE -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION Pcap.c
In file included from Pcap.xs:43:
stubs.inc:85:2: warning: #warning "the function pcap_findalldevs() is not availa
ble, but will be emulated"
In file included from Pcap.xs:43:
stubs.inc:90: error: redefinition of typedef 'pcap_if_t'
C:/WpdPack/Include/pcap/pcap.h:89: note: previous declaration of 'pcap_if_t' was
here
stubs.inc:91: error: redefinition of 'struct pcap_if'
stubs.inc:113:2: warning: #warning "the function pcap_breakloop() is not availab
le"
stubs.inc:127:2: warning: #warning "the function pcap_setnonblock() is not avail
able"
stubs.inc:142:2: warning: #warning "the function pcap_getnonblock() is not avail
able"
stubs.inc:157:2: warning: #warning "the function pcap_dump_file() is not availab
le"
stubs.inc:172:2: warning: #warning "the function pcap_dump_flush() is not availa
ble"
stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not av
ailable"
stubs.inc:202:2: warning: #warning "the function pcap_set_datalink() is not avai
lable"
stubs.inc:217:2: warning: #warning "the function pcap_datalink_name_to_val() is
not available"
stubs.inc:232:2: warning: #warning "the function pcap_datalink_val_to_name() is
not available"
stubs.inc:247:2: warning: #warning "the function pcap_datalink_val_to_descriptio
n() is not available"

Last edited: 2010-08-20 12:59:22 +0200 (CEST)

View full thread dmake errors