[Winpcap-users] building pcaplib & rpcap in Linux
Tomas Konir
Tomas.Konir at liberouter.org
Tue Apr 27 13:35:48 PDT 2010
The good starting point is to get patch from winpcap and patch regular
libpcap.
But it's not complete and need some aditional work.
I'll ask where can be downloaded our modified libpcap and sent you more
info.
MOJE
2010/4/27 Patrick Masotta <masottaus at yahoo.com>
> it fails building pcaplib ! the whole thing is broken under Linux...
> is there any starting point where both components (pcaplib / rpcapd)
> compiled under Linux?
>
> thanks for your answer
> Pat
>
> --- On *Tue, 4/27/10, Gianluca Varenni <gianluca.varenni at cacetech.com>*wrote:
>
>
> From: Gianluca Varenni <gianluca.varenni at cacetech.com>
> Subject: Re: [Winpcap-users] building pcaplib & rpcap in Linux
>
> To: winpcap-users at winpcap.org
> Date: Tuesday, April 27, 2010, 8:26 AM
>
>
> Patric,
>
> 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?
>
> Have a nice day
> GV
>
> *From:* Patrick Masotta <http://mc/compose?to=masottaus@yahoo.com>
> *Sent:* Tuesday, April 27, 2010 4:09 AM
> *To:* winpcap-users at winpcap.org<http://mc/compose?to=winpcap-users@winpcap.org>
> *Subject:* [Winpcap-users] building pcaplib & rpcap in Linux
>
> compiling pcaplib & rpcap in Linux (Ubuntu) from the 4.1.1 sources
> http://www.winpcap.org/install/bin/WpcapSrc_4_1_1.zip
> also tried the one with 64bit support...
> http://www.winpcap.org/install/bin/WpcapSrc_4_1_build_1327.zip
>
> building pcaplib
> ./configure (OK, no problems)
>
> I change in the generated Makefile
>
> @V_HAVE_REMOTE@ |-> -DHAVE_REMOTE
> REMOTESRC = @V_REMOTE_FILES@ |-> REMOTESRC = pcap-new.c pcap-remote.c
> sockutils.c
>
> make (gives errors)
>
> gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))"
> -DHAVE_REMOTE -c ./pcap-linux.c
> ./pcap-linux.c: In function ‘pcap_create’:
> ./pcap-linux.c:322: warning: passing argument 1 of ‘pcap_opensource_remote’
> from incompatible pointer type
> ./pcap-linux.c:322: error: too many arguments to function
> ‘pcap_opensource_remote’
> ./pcap-linux.c:322: warning: assignment makes pointer from integer without
> a cast
> ./pcap-linux.c:327: error: ‘snaplen’ undeclared (first use in this
> function)
> ./pcap-linux.c:327: error: (Each undeclared identifier is reported only
> once
> ./pcap-linux.c:327: error: for each function it appears in.)
> ./pcap-linux.c:328: error: ‘to_ms’ undeclared (first use in this function)
> ./pcap-linux.c:329: error: ‘promisc’ undeclared (first use in this
> function)
> ./pcap-linux.c:339: error: ‘p’ undeclared (first use in this function)
> make: *** [pcap-linux.o] Error 1
>
> I read the reason could be:
> WinPcap's modified pcap-linux.c has been updated for the new libpcap
> 1.0 APIs; its modified pcap-bpf.c has not been.
>
>
> where can I find sources not broken for compiling pcaplib & rpcap in
> Linux???
> thanks a lot
> Pat
>
>
> ------------------------------
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org <http://mc/compose?to=Winpcap-users@winpcap.org>
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
--
Tomas Konir
Prague
Czech Republic
ICQ: 25849167
Jabber: Tomas.Konir at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20100427/02a76211/attachment-0001.htm
More information about the Winpcap-users
mailing list