Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2005 11:33:28 +0100
From:      Volker Stolz <vs@FreeBSD.org>
To:        Peter Thoenen <eol1@yahoo.com>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/75760: net-mgmt/knowlan broken - does not compileon FreeBSD 5.x
Message-ID:  <20050105103328.GA15610@i2.informatik.rwth-aachen.de>
In-Reply-To: <20050104192834.76724.qmail@web51910.mail.yahoo.com>
References:  <200501041504.j04F40ZI041132@freefall.freebsd.org> <20050104192834.76724.qmail@web51910.mail.yahoo.com>

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



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