<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=utf-8 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16535"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>Patric,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Calibri>we are aware of the issue with compiling rpcapd and 
winpcap under linux.  Unfortunately at the moment we do not have an 
official maintainer for the remote capture features, so bugs in this area 
take a long time to be fixed. Are you able to provide a fix to the 
issue?</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Have a nice day</FONT></DIV>
<DIV><FONT face=Calibri>GV</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=masottaus@yahoo.com 
href="mailto:masottaus@yahoo.com">Patrick Masotta</A> </DIV>
<DIV><B>Sent:</B> Tuesday, April 27, 2010 4:09 AM</DIV>
<DIV><B>To:</B> <A title=winpcap-users@winpcap.org 
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV><B>Subject:</B> [Winpcap-users] building pcaplib & rpcap in 
Linux</DIV></DIV></DIV>
<DIV><BR></DIV>
<TABLE border=0 cellSpacing=0 cellPadding=0>
  <TBODY>
  <TR>
    <TD vAlign=top>compiling pcaplib & rpcap in Linux (Ubuntu) from the 
      4.1.1 sources<BR><A 
      href="http://www.winpcap.org/install/bin/WpcapSrc_4_1_1.zip">http://www.winpcap.org/install/bin/WpcapSrc_4_1_1.zip</A><BR>also 
      tried the one with 64bit support...<BR><A 
      href="http://www.winpcap.org/install/bin/WpcapSrc_4_1_build_1327.zip">http://www.winpcap.org/install/bin/WpcapSrc_4_1_build_1327.zip</A><BR><BR>building 
      pcaplib<BR>./configure (OK, no problems)<BR><BR>I change in the generated 
      Makefile<BR><BR>@V_HAVE_REMOTE@ |-> -DHAVE_REMOTE<BR>REMOTESRC = 
      @V_REMOTE_FILES@ |-> REMOTESRC = pcap-new.c pcap-remote.c 
      sockutils.c<BR><BR>make (gives errors)<BR><BR>gcc -O2 -fPIC -I.  
      -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -DHAVE_REMOTE -c 
      ./pcap-linux.c<BR>./pcap-linux.c: In function 
      ‘pcap_create’:<BR>./pcap-linux.c:322: warning: passing argument 1 of 
      ‘pcap_opensource_remote’ from incompatible pointer 
      type<BR>./pcap-linux.c:322: error: too many arguments to function 
      ‘pcap_opensource_remote’<BR>./pcap-linux.c:322: warning: assignment makes 
      pointer from integer without a cast<BR>./pcap-linux.c:327: error: 
      ‘snaplen’ undeclared (first use in this function)<BR>./pcap-linux.c:327: 
      error: (Each undeclared identifier is reported only 
      once<BR>./pcap-linux.c:327: error: for each function it appears 
      in.)<BR>./pcap-linux.c:328: error: ‘to_ms’ undeclared (first use in this 
      function)<BR>./pcap-linux.c:329: error: ‘promisc’ undeclared (first use in 
      this function)<BR>./pcap-linux.c:339: error: ‘p’ undeclared (first use in 
      this function)<BR>make: *** [pcap-linux.o] Error 1<BR><BR>I read the 
      reason could be:<BR>WinPcap's modified pcap-linux.c has been updated for 
      the new libpcap  <BR>1.0 APIs; its modified pcap-bpf.c has not 
      been.<BR><BR><BR>where can I find sources not broken for compiling pcaplib 
      & rpcap in Linux???<BR>thanks a 
lot<BR>Pat<BR><BR></TD></TR></TBODY></TABLE><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users mailing 
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BODY></HTML>