[Winpcap-users] Problems in compiling WinPcap

Gianluca Varenni gianluca.varenni at cacetech.com
Tue Sep 11 06:40:35 GMT 2007


You need to have the airpcap developer's pack on your machine in order to compile some of the wpcap.dll build configurations. Otherwise, please choose the build configurations with the "no Airpcap" string in their name.

The AirPcap developer's pack is freely available at 


http://www.cacetech.com/support/downloads.htm

Have a nice day
GV
  ----- Original Message ----- 
  From: Varuna De Silva 
  To: winpcap-users at winpcap.org 
  Sent: Monday, September 10, 2007 5:36 AM
  Subject: [Winpcap-users] Problems in compiling WinPcap


  Hi,

  I am interested in adding support for my device, in Winpcap and 
  therefore I need to compile wpcap.dll from source after having add 
  my own code. 

  But before that I just compiled the source code and I came up with 
  some problems.

  I use MS Visual Studio 2005 8.0 with the .NET framework 2.0 and on 
  the Visual C++ IDE I opened the wpcap.dsw and tried to build the 
  project as is said on the web. 

  I came up with 200 odd warnings and five errors like below, 

  Warnings Such as

  Warning    5    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\fad-win32.c    86    
  Warning    9    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\fad- win32.c    250    
  Warning    11    warning C4146: unary minus operator applied to unsigned type, result still unsigned    d:\winpcap\winpcap\wpcap\libpcap\gencode.c    104    
  Warning    12    warning C4146: unary minus operator applied to unsigned type, result still unsigned    d:\winpcap\winpcap\wpcap\libpcap\gencode.c    104    
  Warning    14    warning C4996: '_vsnprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\gencode.c    120    
  Warning    23    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\inet.c    196    
  Warning    47    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\pcap-win32.c    480    
  Warning    50    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\pcap- win32.c    591    
  Warning    67    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\pcap.c    360    
  Warning    89    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\savefile.c    1130    
  Warning    124    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\rpcapd\daemon.c    548    
  Warning    150    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\pcap- new.c    312    
  Warning    201    warning C4996: '_snprintf' was declared deprecated    d:\winpcap\winpcap\wpcap\libpcap\pcap-remote.c    159    


  And Errors

  Error    119    fatal error C1083: Cannot open include file: ' airpcap.h': No such file or directory    d:\winpcap\winpcap\common\packet32.h    53    
  Error    120    fatal error C1083: Cannot open include file: 'airpcap.h': No such file or directory    d:\winpcap\winpcap\common\packet32.h    53    
  Error    121    fatal error C1083: Cannot open include file: 'airpcap.h': No such file or directory    d:\winpcap\winpcap\common\packet32.h    53    
  Error    122    error BK1506 : cannot open file '.\debug_remote_dag\pcap- new.sbr': No such file or directory    BSCMAKE    
  Error    217    fatal error LNK1104: cannot open file 'wpcap.lib'    rpcapd    


  However when I rebuilt it the warnings were gone but the errors kept the same...! 

  Can somebody help me out on this please, I think I am getting some 
  thing simple wrong.

  Thanks Ahead

  Your support is very much appreciated

  Xavier




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


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20070911/d1a21e02/attachment.htm


More information about the Winpcap-users mailing list