ports/75760: net-mgmt/knowlan broken - does not compileon FreeBSD 5.x

Volker Stolz vs at FreeBSD.org
Wed Jan 5 10:33:29 UTC 2005


On Tue, Jan 04, 2005 at 11:28:34AM -0800, Peter Thoenen wrote:
> My mistake, keyboard got away from me and sent prematurely.  Seeing build
> issues though with knowlan o 5.3 P2, i386:
> kn_main.c:117: warning: passing arg 2 of `signal' from incompatible pointer
> typegcc -O -pipe -march=pentiumpro -D__BSD__=1 -D__GLIBC__=1
> -I/usr/local/include/ -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP
> -DHAVE_SOCKADDR_SA_LEN -c kn_arp.c
> kn_arp.c: In function `send_arp_packet':
> kn_arp.c:157: warning: assignment makes pointer from integer without a cast
> kn_arp.c:164: error: too many arguments to function `libnet_get_hwaddr'
> kn_arp.c:164: warning: assignment from incompatible pointer type
> *** Error code 1

Do you have libnet-devel instead of plain libnet installed
(pkg_info | grep libnet)?

Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME



More information about the freebsd-ports-bugs mailing list