<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">it fails building pcaplib ! the whole thing is broken under Linux...<br>is there any starting point where both components (pcaplib / rpcapd) compiled under Linux?<br><br>thanks for your answer<br>Pat<br><br>--- On <b>Tue, 4/27/10, Gianluca Varenni <i><gianluca.varenni@cacetech.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Gianluca Varenni <gianluca.varenni@cacetech.com><br>Subject: Re: [Winpcap-users] building pcaplib & rpcap in Linux<br>To: winpcap-users@winpcap.org<br>Date: Tuesday, April 27, 2010, 8:26 AM<br><br><div id="yiv213081126">
<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: none repeat scroll 0% 0% rgb(245, 245, 245);">
<div style=""><b>From:</b> <a rel="nofollow" title="masottaus@yahoo.com" ymailto="mailto:masottaus@yahoo.com" target="_blank" href="/mc/compose?to=masottaus@yahoo.com">Patrick Masotta</a> </div>
<div><b>Sent:</b> Tuesday, April 27, 2010 4:09 AM</div>
<div><b>To:</b> <a rel="nofollow" title="winpcap-users@winpcap.org" ymailto="mailto:winpcap-users@winpcap.org" target="_blank" href="/mc/compose?to=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" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top">compiling pcaplib & rpcap in Linux (Ubuntu) from the
4.1.1 sources<br><a rel="nofollow" target="_blank" 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 rel="nofollow" target="_blank" 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>
</p><hr>
<p></p>_______________________________________________<br>Winpcap-users mailing
list<br>Winpcap-users@winpcap.org<br>https://www.winpcap.org/mailman/listinfo/winpcap-users<br></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Winpcap-users mailing list<br><a ymailto="mailto:Winpcap-users@winpcap.org" href="/mc/compose?to=Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br></div></blockquote></td></tr></table><br>