Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2009 11:57:49 +0100
From:      Bruce Simpson <bms@incunabulum.net>
To:        Leo <yaol.leo@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Help ! Regarding libpcap issue.
Message-ID:  <49FAD5AD.8030805@incunabulum.net>
In-Reply-To: <49F93D3A.2020704@gmail.com>
References:  <20090429120028.D6412106568F@hub.freebsd.org> <49F93D3A.2020704@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49FAD5AD.8030805>