From owner-freebsd-current@FreeBSD.ORG Mon Nov 14 13:53:01 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DA6A16A41F for ; Mon, 14 Nov 2005 13:53:01 +0000 (GMT) (envelope-from eculp@bafirst.com) Received: from bafirst.com (72-12-2-214.wan.networktel.net [72.12.2.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id D48BF43D49 for ; Mon, 14 Nov 2005 13:53:00 +0000 (GMT) (envelope-from eculp@bafirst.com) Received: from localhost (localhost [127.0.0.1]) (uid 80) by bafirst.com with local; Mon, 14 Nov 2005 07:53:00 -0600 id 000A160C.437896BC.000073AF Received: from local1 (local1 [192.168.1.1]) by mail.bafirst.com (Horde MIME library) with HTTP; Mon, 14 Nov 2005 07:53:00 -0600 Message-ID: <20051114075300.udleecpd348s0cok@mail.bafirst.com> Date: Mon, 14 Nov 2005 07:53:00 -0600 From: eculp@bafirst.com To: freebsd-current@FreeBSD.org References: <20051113064429.ijadm1pdwgcs48o0@mail.bafirst.com> <20051114125148.GU87446@ip.net.ua> In-Reply-To: <20051114125148.GU87446@ip.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.1-cvs Cc: Subject: Re: buildkernel issue with ip_carp.c w/ device carp X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 13:53:01 -0000 Quoting Ruslan Ermilov : > 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 >> compiling the kernel with "device carp" Compilation breaks at >> ip_carp.c Removing device carp everything compiles fine. >> >> 5652 cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 >> -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common >> -finline-limit=8000 --param inline-unit-growth=100 --param >> large-function-growth=1000 -mno-align-long-strings >> -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 >> -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 >> declaration of function `LLADDR' >> 5655 /usr/src/sys/netinet/ip_carp.c:1053: warning: nested extern >> declaration of `LLADDR' >> 5656 /usr/src/sys/netinet/ip_carp.c:1053: warning: passing arg 3 of >> `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 >> declaration of `LLADDR' >> 5659 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant >> redeclaration of 'LLADDR' >> 5660 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit >> declaration of 'LLADDR' was here >> 5661 /usr/src/sys/netinet/ip_carp.c:1148: warning: assignment makes >> pointer from integer without a cast >> 5662 /usr/src/sys/netinet/ip_carp.c:1166: warning: nested extern >> declaration of `LLADDR' >> 5663 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant >> redeclaration of 'LLADDR' >> 5664 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit >> declaration of 'LLADDR' was here >> 5665 /usr/src/sys/netinet/ip_carp.c:1166: warning: assignment makes >> 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 >> declaration of `LLADDR' >> 5668 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant >> redeclaration of 'LLADDR' >> 5669 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit >> declaration of 'LLADDR' was here >> 5670 /usr/src/sys/netinet/ip_carp.c:1254: warning: passing arg 2 of >> `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 >> declaration of `LLADDR' >> 5673 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant >> redeclaration of 'LLADDR' >> 5674 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit >> declaration of 'LLADDR' was here >> 5675 /usr/src/sys/netinet/ip_carp.c:1866: error: subscripted value >> is neither array nor pointer >> 5676 /usr/src/sys/netinet/ip_carp.c:1867: error: subscripted value >> is neither array nor pointer >> 5677 /usr/src/sys/netinet/ip_carp.c:1868: error: subscripted value >> is neither array nor pointer >> 5678 /usr/src/sys/netinet/ip_carp.c:1869: error: subscripted value >> is neither array nor pointer >> 5679 /usr/src/sys/netinet/ip_carp.c:1870: error: subscripted value >> is neither array nor pointer >> 5680 /usr/src/sys/netinet/ip_carp.c:1871: error: subscripted value >> is neither array nor pointer >> 5681 *** Error code 1 >> > Should be fixed in sys/netinet/ip_carp.c,v 1.37. > Hi Ruslan, Thanks a lot. I haven't built a new kernel yet becasue it seems that my first buildworld this morning didn't make it through and cvsuped again and am waiting, so far so good. Thanks again and have a great week, ed > Cheers, > -- > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer >