Re: Help! regarding libpcap.

2009-05-04 Thread Leo
Bruce Simpson wrote: Leo wrote: I don't have other pcap lib installed on this box. Previously installed a libpcap 0.9 on this box , But I've deleted this version. On my box, not enable BPF. Let me try if enable the feature. That's probably what it is. Can you try the following: * give pcap

Re: Help! regarding libpcap.

2009-05-04 Thread Bruce Simpson
Leo wrote: I don't have other pcap lib installed on this box. Previously installed a libpcap 0.9 on this box , But I've deleted this version. On my box, not enable BPF. Let me try if enable the feature. That's probably what it is. Can you try the following: * give pcap configure --with-pcap=

Re: Help! regarding libpcap.

2009-05-04 Thread Leo
Bruce Simpson wrote: 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: conflic

Re: Help! regarding libpcap.

2009-05-04 Thread Bruce Simpson
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_a

Re: Help! regarding libpcap.

2009-05-04 Thread Leo
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' ./p

Re: Help ! Regarding libpcap issue.

2009-05-01 Thread Bruce Simpson
Hi, I recently updated the port, but didn't see this condition in testing. Are you able to build libpcap *without* using the port from the same tarball? do-patch in the port doesn't touch those files. Leo wrote: Hi All, I want to install libpcap from ports. But when I "make install clean", t

Help ! Regarding libpcap issue.

2009-04-29 Thread Leo
Hi All, I want to install libpcap from ports. But when I "make install clean", the box output: ... config.status: creating pcap_open_dead.3pcap config.status: creating pcap_open_offline.3pcap config.status: creating config.h ===> Building for libpcap-1.0.0 cc -O2 -O2 -fno-strict-aliasing -