Still trying to SWIG winpcap 3, but now I have some information and some
questions. I recall from a discussion a few months ago that there are
several functions in pcap that are not implemented in winpcap (e.g.
pcap_freecode is on). The errors I'm getting trying to SWIG winpcap
suggest that there are several functions that are not implemented here.
I've attached the output I get from trying to compile the wrapper, which
includes some errors saying that certain functions don't exist. Does it
ring a bell for anyone?

Thanks,

Gerald.

------------------------------------------------------------


C:\Documents and
Settings\ggutierrez04\Desktop\wpdpack\Include>..\..\SWIG-1.3.19
\swig.exe -python pcap.i

C:\Documents and Settings\ggutierrez04\Desktop\wpdpack\Include>cl /I.
/I\python2
2\include /LD \python22\libs\python22.lib ..\lib\wpcap.lib /DWIN32
/Tcpcap_wrap.
c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

pcap_wrap.c
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:pcap_wrap.dll
/dll
/implib:pcap_wrap.lib
\python22\libs\python22.lib
..\lib\wpcap.lib
pcap_wrap.obj
   Creating library pcap_wrap.lib and object pcap_wrap.exp
pcap_wrap.obj : error LNK2019: unresolved external symbol
_pcap_list_datalinks r
eferenced in function __wrap_pcap_list_datalinks
pcap_wrap.obj : error LNK2019: unresolved external symbol
_pcap_set_datalink ref
erenced in function __wrap_pcap_set_datalink
pcap_wrap.obj : error LNK2019: unresolved external symbol
_pcap_datalink_name_to
_val referenced in function __wrap_pcap_datalink_name_to_val
pcap_wrap.obj : error LNK2019: unresolved external symbol
_pcap_datalink_val_to_
name referenced in function __wrap_pcap_datalink_val_to_name
pcap_wrap.obj : error LNK2019: unresolved external symbol
_pcap_dump_flush refer
enced in function __wrap_pcap_dump_flush
pcap_wrap.dll : fatal error LNK1120: 5 unresolved externals

C:\Documents and Settings\ggutierrez04\Desktop\wpdpack\Include>


================================================================= This is the WinPcap 
users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use
 mailto: [EMAIL PROTECTED]
=================================================================

Reply via email to