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, 
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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Help ! Regarding libpcap issue.

2009-04-30 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 -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

Stop in /usr/ports/net/libpcap.
[r...@slt2 /usr/ports/net/libpcap]#

I don't know why! I've update my kernel source and ports. Below is my uname:

FreeBSD  7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #4: Tue Apr 28 11:22:57 
CST 2009 


Thank you!

-Leo
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org