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