Re: Help! regarding libpcap.



Leo wrote:
Hi Burce,
At first, I'm sorry replay late. I've test build libpcap without ports and using same tar ball. The error message still output.

SLT2# make
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-null.c
./pcap-null.c:43: error: conflicting types for 'pcap_activate'
./pcap/pcap.h:266: note: previous declaration of 'pcap_activate' was here
*** Error code 1

Hi,

I can't think what might be causing this for you... Do you have other pcap libraries installed on the system? Perhaps a define is incorrect.

Are you trying this on a 7.2 or a HEAD system? I believe 7.2, so that should rule out changes in HEAD.

Do you have BPF headers present on the system? Have you checked the output of config.log? Do you have a bpf device in your kernel?
-- I think that might be it. The fix might be to specify --with-pcap=bpf in CONFIGURE_ARGS in the port.

I just built the port on an i386 system tracking RELENG_7 sources, and couldn't reproduce this problem, although I have bpf in kernel there.

thanks,
BMS
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Help! regarding libpcap.
    ... I've test build libpcap without ports and using same tar ball. ... The error message still output. ... Do you have BPF headers present on the system? ... Previously installed a libpcap 0.9 on this box, ...
    (freebsd-stable)
  • pl2303 - pl2303_open - failed submitting interrupt urb, error -28
    ... To obtain out-of-band access to a number of switches and routers, ... The corresponding ports are not useable in that case. ... When one googles for this error message, one finds a thread from 2006 ... the error doesn't hose the USB ...
    (Linux-Kernel)
  • Re: pl2303 - pl2303_open - failed submitting interrupt urb, error -28
    ... To obtain out-of-band access to a number of switches and routers, ... The corresponding ports are not useable in that case. ... When one googles for this error message, one finds a thread from 2006 ... the error doesn't hose the USB ...
    (Linux-Kernel)
  • Re: unable to register MSDE
    ... Analyzer and let us know the error message. ... Double check your ports on the windows firewall. ... ensure that MSDE is listening on the default port. ... Looking for a SQL Server replication book? ...
    (microsoft.public.sqlserver.server)
  • Re: Configuring RPC over HTTP
    ... >After configuring RPC over HTTP, my HTTP virtual server will not start. ... >get the error message "Can't start HTTP virtual server. ... but nothing was found to be using those ports. ...
    (microsoft.public.exchange.setup)