<!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>4.0 definitely worked, and I'm pretty sure that most of
the 4.1 beta's did.</FONT></DIV>
<DIV><FONT face=Calibri></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 12:18 PM</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> Re: [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>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><<A
href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</A>></I></B>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From:
Gianluca Varenni <<A
href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</A>><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: rgb(245,245,245)">
<DIV><B>From:</B> <A title=masottaus@yahoo.com
href="/mc/compose?to=masottaus@yahoo.com" rel=nofollow target=_blank
ymailto="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="/mc/compose?to=winpcap-users@winpcap.org" rel=nofollow
target=_blank
ymailto="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"
rel=nofollow
target=_blank>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"
rel=nofollow
target=_blank>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 href="/mc/compose?to=Winpcap-users@winpcap.org"
ymailto="mailto: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></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>