[Winpcap-bugs] FW: Failing to compile Wireshak againstWpdPack_4.1_beta3

Gianluca Varenni gianluca.varenni at cacetech.com
Thu Feb 21 20:21:39 GMT 2008


FW: Failing to compile Wireshak against WpdPack_4.1_beta3Just a change in the prototypes of (another) libpcap function (some const'ification). I didn't do the change, I just integrate the latest libpcap build available. I'm actually surprised that the problem doesn't arise while building Wireshark for non-Windows OSes.

Adding the const qualifier fixes the problem.

Have a nice day
GV
  ----- Original Message ----- 
  From: Anders Broman 
  To: winpcap-bugs at winpcap.org 
  Sent: Thursday, February 21, 2008 9:44 AM
  Subject: [Winpcap-bugs] FW: Failing to compile Wireshak againstWpdPack_4.1_beta3





  ______________________________________________ 
  From:   Anders Broman  
  Sent:   den 21 februari 2008 18:43 
  To:     ''winpcap-bugs at winpcap.org' 
  Subject:        FW: Failing to compile Wireshak against WpdPack_4.1_beta3 



  Copying that file from "old" WinPcap the remaining problem was 
  Changed - > const char 
  static int     (*p_pcap_compile) (pcap_t *, struct bpf_program *, const char *, int, 
                          bpf_u_int32); 

  int 
  pcap_compile(pcap_t *a, struct bpf_program *b,const char *c, int d, 
              bpf_u_int32 e) 
  { 
          g_assert(has_wpcap); 
          return p_pcap_compile(a, b, c, d, e); 
  } 
  In capture-wpcap.c 

  Then WS compiles, haven't tried capturing... 
  Regards 
  Anders 
  ______________________________________________ 
  From:   Anders Broman  
  Sent:   den 21 februari 2008 18:19 
  To:     'winpcap-bugs at winpcap.org' 
  Subject:        Failing to compile Wireshak against WpdPack_4.1_beta3 

  Hi, 
  Failing to compile Wireshak against WpdPack_4.1_beta3 with MSVC 6 

  capture_if_details_dlg.c(98) : fatal error C1083: Cannot open include file: 'Ntd 
  dndis.h': No such file or directory 

  Regards 
  Anders 



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


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


More information about the Winpcap-bugs mailing list