Date: Mon, 14 Nov 2005 14:51:48 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: eculp@bafirst.com Cc: freebsd-current@FreeBSD.org Subject: Re: buildkernel issue with ip_carp.c w/ device carp Message-ID: <20051114125148.GU87446@ip.net.ua> In-Reply-To: <20051113064429.ijadm1pdwgcs48o0@mail.bafirst.com> References: <20051113064429.ijadm1pdwgcs48o0@mail.bafirst.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--lpUp1egui7PDlNtH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 13, 2005 at 06:44:29AM -0600, eculp@bafirst.com wrote: > In today's current I am having an issue on all my test machines=20 > compiling the kernel with "device carp" Compilation breaks at=20 > ip_carp.c Removing device carp everything compiles fine. >=20 > 5652 cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls=20 > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes=20 > -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 =20 > -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL= =20 > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common=20 > -finline-limit=3D8000 --param inline-unit-growth=3D100 --param=20 > large-function-growth=3D1000 -mno-align-long-strings=20 > -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2=20 > -mno-sse3 -ffreestanding -Werror /usr/src/sys/netinet/ip_carp.c > 5653 /usr/src/sys/netinet/ip_carp.c: In function `carp_send_arp': > 5654 /usr/src/sys/netinet/ip_carp.c:1053: warning: implicit=20 > declaration of function `LLADDR' > 5655 /usr/src/sys/netinet/ip_carp.c:1053: warning: nested extern=20 > declaration of `LLADDR' > 5656 /usr/src/sys/netinet/ip_carp.c:1053: warning: passing arg 3 of=20 > `arp_ifinit2' makes pointer from integer without a cast > 5657 /usr/src/sys/netinet/ip_carp.c: In function `carp_iamatch': > 5658 /usr/src/sys/netinet/ip_carp.c:1148: warning: nested extern=20 > declaration of `LLADDR' > 5659 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant=20 > redeclaration of 'LLADDR' > 5660 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit=20 > declaration of 'LLADDR' was here > 5661 /usr/src/sys/netinet/ip_carp.c:1148: warning: assignment makes=20 > pointer from integer without a cast > 5662 /usr/src/sys/netinet/ip_carp.c:1166: warning: nested extern=20 > declaration of `LLADDR' > 5663 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant=20 > redeclaration of 'LLADDR' > 5664 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit=20 > declaration of 'LLADDR' was here > 5665 /usr/src/sys/netinet/ip_carp.c:1166: warning: assignment makes=20 > pointer from integer without a cast > 5666 /usr/src/sys/netinet/ip_carp.c: In function `carp_forus': > 5667 /usr/src/sys/netinet/ip_carp.c:1254: warning: nested extern=20 > declaration of `LLADDR' > 5668 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant=20 > redeclaration of 'LLADDR' > 5669 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit=20 > declaration of 'LLADDR' was here > 5670 /usr/src/sys/netinet/ip_carp.c:1254: warning: passing arg 2 of=20 > `bcmp' makes pointer from integer without a cast > 5671 /usr/src/sys/netinet/ip_carp.c: In function `carp_ioctl': > 5672 /usr/src/sys/netinet/ip_carp.c:1866: warning: nested extern=20 > declaration of `LLADDR' > 5673 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant=20 > redeclaration of 'LLADDR' > 5674 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit=20 > declaration of 'LLADDR' was here > 5675 /usr/src/sys/netinet/ip_carp.c:1866: error: subscripted value=20 > is neither array nor pointer > 5676 /usr/src/sys/netinet/ip_carp.c:1867: error: subscripted value=20 > is neither array nor pointer > 5677 /usr/src/sys/netinet/ip_carp.c:1868: error: subscripted value=20 > is neither array nor pointer > 5678 /usr/src/sys/netinet/ip_carp.c:1869: error: subscripted value=20 > is neither array nor pointer > 5679 /usr/src/sys/netinet/ip_carp.c:1870: error: subscripted value=20 > is neither array nor pointer > 5680 /usr/src/sys/netinet/ip_carp.c:1871: error: subscripted value=20 > is neither array nor pointer > 5681 *** Error code 1 >=20 Should be fixed in sys/netinet/ip_carp.c,v 1.37. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --lpUp1egui7PDlNtH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDeIhkqRfpzJluFF4RAr+1AJ9ibgz1dSdheI8p/H4iO4SkgnYSCwCgmuDJ 1fgvq6MdAMFabQDW6GjRcnk= =Qaz0 -----END PGP SIGNATURE----- --lpUp1egui7PDlNtH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051114125148.GU87446>