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 
Sent: Tuesday, April 27, 2010 4:09 AM
To: [email protected] 
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
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users
_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to