Help ! Regarding libpcap issue.

Bruce Simpson
2009-05-01T10:57:59Z

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",
> 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 -pipe -I.  -DHAVE_CONFIG_H
> -D_U_="__attribute__((unused))" -c ./pcap-null.c
> ./pcap-null.c:44: error: conflicting types for 'pcap_activate'
> ./pcap/pcap.h:266: error: previous declaration of 'pcap_activate'
was
> here
> gmake: *** [pcap-null.o] Error 1
> *** Error code 1

thanks,
BMS