Sorry... didn't mean to piss anyone off.
On Desktop - Successful library read with same setup
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16>perl Makefile.PL INC=-I
+C:\Perl\Everything.PERL\Packages\Net-Pcap-0
.16\WpdPack\Include "LIBS=-LC:\Perl\Everything.PERL\Packages\Net-Pcap-
+0.16\WpdPack\Lib -lwpcap"
socket.h patched... ok
looking for -lwpcap... yes
checking for pcap_lib_version() in -lwpcap... yes
detecting available functions... ok
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Pcap
Writing MYMETA.yml and MYMETA.json
On Laptop - Unsuccessful library read with same setup
C:\Perl\Net-Pcap-0.16>perl Makefile.PL INC=-IC:\WpdPack\Include "LIBS=
+-LC:\WpdPa
ck\Lib -lwpcap"
Set up gcc environment - gcc.exe (gcc-4.6.3 release with patches [buil
+d 20121012
by perlmingw.sf.net]) 4.6.3
Unable to patch socket.h
looking for -lwpcap... yes
checking for pcap_lib_version() in -lwpcap... yes
detecting available functions... ok
Note (probably harmless): No library found for -lkernel32
Note (probably harmless): No library found for -luser32
Note (probably harmless): No library found for -lgdi32
Note (probably harmless): No library found for -lwinspool
Note (probably harmless): No library found for -lcomdlg32
Note (probably harmless): No library found for -ladvapi32
Note (probably harmless): No library found for -lshell32
Note (probably harmless): No library found for -lole32
Note (probably harmless): No library found for -loleaut32
Note (probably harmless): No library found for -lnetapi32
Note (probably harmless): No library found for -luuid
Note (probably harmless): No library found for -lws2_32
Note (probably harmless): No library found for -lmpr
Note (probably harmless): No library found for -lwinmm
Note (probably harmless): No library found for -lversion
Note (probably harmless): No library found for -lodbc32
Note (probably harmless): No library found for -lodbccp32
Note (probably harmless): No library found for -lcomctl32
Note (probably harmless): No library found for -lmsvcrt
Writing Makefile for Net::Pcap
Writing MYMETA.yml and MYMETA.json
On Desktop - Unsuccessful dmake
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16>dmake
cp Pcap.pm blib\lib\Net\Pcap.pm
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp
+ -typemap C:\strawberry\perl\lib\ExtUtils\
typemap -typemap typemap Pcap.xs > Pcap.xsc && C:\strawberry\perl\bin
+\perl.exe -MExtUtils::Command -e mv -- Pcap
.xsc Pcap.c
gcc -c -IC:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Inclu
+de -s -O2 -DWIN32 -DPERL_TEXTMODE_SC
RIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
+ -mms-bitfields -s -O2 -DVERSION=\"0.1
6\" -DXS_VERSION=\"0.16\" "-IC:\strawberry\perl\lib\CORE" -DWINS
+OCK2_H_REQUESTED -DWPCAP -DHAVE_REMOTE -DHA
VE_BLANK -DHAVE_PCAP_LIB_VERSION Pcap.c
In file included from Pcap.xs:43:0:
stubs.inc:85:2: warning: #warning "the function pcap_findalldevs() is
+not available, but will be emulated" [-Wcpp
]
stubs.inc:91:8: error: redefinition of 'struct pcap_if'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/pcap/pc
+ap.h:89:16: note: originally defined here
stubs.inc:113:2: warning: #warning "the function pcap_breakloop() is n
+ot available" [-Wcpp]
stubs.inc:127:2: warning: #warning "the function pcap_setnonblock() is
+ not available" [-Wcpp]
stubs.inc:142:2: warning: #warning "the function pcap_getnonblock() is
+ not available" [-Wcpp]
stubs.inc:157:2: warning: #warning "the function pcap_dump_file() is n
+ot available" [-Wcpp]
stubs.inc:172:2: warning: #warning "the function pcap_dump_flush() is
+not available" [-Wcpp]
stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks()
+ is not available" [-Wcpp]
stubs.inc:202:2: warning: #warning "the function pcap_set_datalink() i
+s not available" [-Wcpp]
stubs.inc:217:2: warning: #warning "the function pcap_datalink_name_to
+_val() is not available" [-Wcpp]
stubs.inc:232:2: warning: #warning "the function pcap_datalink_val_to_
+name() is not available" [-Wcpp]
stubs.inc:247:2: warning: #warning "the function pcap_datalink_val_to_
+description() is not available" [-Wcpp]
stubs.inc:262:2: warning: #warning "the function pcap_compile_nopcap()
+ is not available" [-Wcpp]
stubs.inc:267:5: error: conflicting types for 'pcap_compile_nopcap'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/pcap/pc
+ap.h:318:5: note: previous declaration of '
pcap_compile_nopcap' was here
stubs.inc:268:5: error: conflicting types for 'pcap_compile_nopcap'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/pcap/pc
+ap.h:318:5: note: previous declaration of '
pcap_compile_nopcap' was here
stubs.inc:277:2: warning: #warning "the function pcap_get_selectable_f
+d() is not available" [-Wcpp]
stubs.inc:292:2: warning: #warning "the function pcap_next_ex() is not
+ available" [-Wcpp]
stubs.inc:307:2: warning: #warning "the function pcap_sendpacket() is
+not available" [-Wcpp]
stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() i
+s not available" [-Wcpp]
stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is
+ not available" [-Wcpp]
stubs.inc:352:2: warning: #warning "the function pcap_open() is not av
+ailable" [-Wcpp]
stubs.inc:357:8: error: redefinition of 'struct pcap_rmtauth'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/remote-
+ext.h:338:8: note: originally defined here
stubs.inc:363:10: error: conflicting types for 'pcap_open'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/remote-
+ext.h:417:9: note: previous declaration of
'pcap_open' was here
stubs.inc:364:10: error: conflicting types for 'pcap_open'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/remote-
+ext.h:417:9: note: previous declaration of
'pcap_open' was here
stubs.inc:373:2: warning: #warning "the function pcap_setbuff() is not
+ available" [-Wcpp]
stubs.inc:388:2: warning: #warning "the function pcap_setuserbuffer()
+is not available" [-Wcpp]
stubs.inc:403:2: warning: #warning "the function pcap_setmode() is not
+ available" [-Wcpp]
stubs.inc:418:2: warning: #warning "the function pcap_setmintocopy() i
+s not available" [-Wcpp]
stubs.inc:433:2: warning: #warning "the function pcap_sendqueue_alloc(
+) is not available" [-Wcpp]
stubs.inc:438:8: error: redefinition of 'struct pcap_send_queue'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:46:8: note: originally defined
here
stubs.inc:444:32: error: conflicting types for 'pcap_send_queue'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:53:32: note: previous declarati
on of 'pcap_send_queue' was here
stubs.inc:446:19: error: conflicting types for 'pcap_sendqueue_alloc'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:85:18: note: previous declarati
on of 'pcap_sendqueue_alloc' was here
stubs.inc:447:19: error: conflicting types for 'pcap_sendqueue_alloc'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:85:18: note: previous declarati
on of 'pcap_sendqueue_alloc' was here
stubs.inc:455:2: warning: #warning "the function pcap_sendqueue_destro
+y() is not available" [-Wcpp]
stubs.inc:460:6: error: conflicting types for 'pcap_sendqueue_destroy'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:87:6: note: previous declaratio
n of 'pcap_sendqueue_destroy' was here
stubs.inc:461:6: error: conflicting types for 'pcap_sendqueue_destroy'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:87:6: note: previous declaratio
n of 'pcap_sendqueue_destroy' was here
stubs.inc:469:2: warning: #warning "the function pcap_sendqueue_queue(
+) is not available" [-Wcpp]
stubs.inc:474:5: error: conflicting types for 'pcap_sendqueue_queue'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:89:5: note: previous declaratio
n of 'pcap_sendqueue_queue' was here
stubs.inc:475:5: error: conflicting types for 'pcap_sendqueue_queue'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:89:5: note: previous declaratio
n of 'pcap_sendqueue_queue' was here
stubs.inc:484:2: warning: #warning "the function pcap_sendqueue_transm
+it() is not available" [-Wcpp]
stubs.inc:489:7: error: conflicting types for 'pcap_sendqueue_transmit
+'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:91:7: note: previous declaratio
n of 'pcap_sendqueue_transmit' was here
stubs.inc:490:7: error: conflicting types for 'pcap_sendqueue_transmit
+'
C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16\WpdPack\Include/Win32-E
+xtensions.h:91:7: note: previous declaratio
n of 'pcap_sendqueue_transmit' was here
stubs.inc:499:2: warning: #warning "the function pcap_event() is not a
+vailable" [-Wcpp]
stubs.inc:514:2: warning: #warning "the function pcap_setsampling() is
+ not available" [-Wcpp]
Pcap.c: In function 'XS_Net__Pcap_strerror':
Pcap.c:1603:9: warning: assignment discards 'const' qualifier from poi
+nter target type [enabled by default]
dmake: Error code 129, while making 'Pcap.o'
Again I apologize if I pissed anyone off, I'm at work and I wasn't paying attention to the small print while posting - just trying to get this done so I can move on with my project. |