[Winpcap-users] freebsd rpcapd

Gianluca Varenni gianluca.varenni at cacetech.com
Thu Apr 16 12:04:37 PDT 2009


What's the output of "./configure"?

Have a nice day
GV

  ----- Original Message ----- 
  From: CS Lee 
  To: winpcap-users at winpcap.org 
  Sent: Thursday, April 16, 2009 9:09 AM
  Subject: [Winpcap-users] freebsd rpcapd


  hi there,

  Has anyone successfully compiled rpcapd on Freebsd 7.1, I'm currently having problem with winpcap-4.1.beta5, the error is shown below -

  It does pass through the configure stage, and make gives me this error

  cd winpcap/wpcap/libpcap
  make
  gcc -O2 -I. -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -DHAVE_REMOTE -c ./pcap-bpf.c
  ./pcap-bpf.c: In function 'pcap_create':
  ./pcap-bpf.c:406: warning: passing argument 1 of 'pcap_opensource_remote' from incompatible pointer type
  ./pcap-bpf.c:406: error: too many arguments to function 'pcap_opensource_remote'
  ./pcap-bpf.c:406: warning: assignment makes pointer from integer without a cast
  ./pcap-bpf.c:411: error: 'snaplen' undeclared (first use in this function)
  ./pcap-bpf.c:411: error: (Each undeclared identifier is reported only once
  ./pcap-bpf.c:411: error: for each function it appears in.)
  ./pcap-bpf.c:412: error: 'pcap_t' has no member named 'timeout'
  ./pcap-bpf.c:412: error: 'to_ms' undeclared (first use in this function)
  ./pcap-bpf.c:413: error: 'promisc' undeclared (first use in this function)
  *** Error code 1

  Stop in /usr/home/analyzt/rp-Apps/wpcap-4.1.b5/wpcap/libpcap.


  I tried 4.0.2, and I hit other error, pcap-bpf.c stage is passed 

  cd winpcap/wpcap/libpcap
   make
  gcc -O2 -I. -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -DHAVE_REMOTE -c ./pcap-new.c
  In file included from ./sockutils.h:57,
                   from ./pcap-remote.h:38,
                   from ./pcap-new.c:34:
  /usr/include/string.h:89: error: expected declaration specifiers or '...' before '(' token
  /usr/include/string.h:89: error: expected declaration specifiers or '...' before '(' token
  /usr/include/string.h:89: error: expected declaration specifiers or '...' before '(' token
  /usr/include/string.h:89: error: expected ')' before ',' token
  *** Error code 1

  Stop in /usr/home/analyzt/rp-Apps/wpcap-4.0.2/wpcap/libpcap.

  If any of you think config.log and Makefile can be helpful to solve the problem, I will send over.

  Anyway I have successfully compiled rpcapd on Ubuntu linux, and I hope it can be resolved on Freebsd so I can add it to the liveCD I'm working on.

  Thanks!

  -- 
  Best Regards,

  CS Lee<geek00L[at]gmail.com>

  http://geek00l.blogspot.com
  http://defcraft.net



------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090416/bd2a5b75/attachment-0001.htm 


More information about the Winpcap-users mailing list