From owner-freebsd-stable Mon Dec 10 10:52: 0 2001 Delivered-To: freebsd-stable@freebsd.org Received: from zigman.2y.net (korpen-86-221.ip-pluggen.com [212.181.86.221]) by hub.freebsd.org (Postfix) with ESMTP id 8293F37B41B for ; Mon, 10 Dec 2001 10:51:48 -0800 (PST) Received: by zigman.2y.net (Postfix, from userid 1001) id DEDCE1EC1; Mon, 10 Dec 2001 19:51:47 +0100 (CET) Date: Mon, 10 Dec 2001 19:51:47 +0100 From: Morsal Roudbay To: Daniel Frazier Cc: freebsd-stable@FreeBSD.ORG Subject: Re: make buildkernel dies... Message-ID: <20011210185147.GA25790@zigman.2y.net> Reply-To: Morsal Roudbay References: <3BE70F33.9080508@magpage.com> <20011210131538.GC67546@zigman.2y.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011210131538.GC67546@zigman.2y.net> User-Agent: Mutt/1.3.23.2i X-Operating-System: FreeBSD 4.4 [up 41 mins] X-Return-Path: morsal@swipnet.se Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 10, 2001 at 02:15:38PM +0100, Morsal Roudbay wrote: > On Mon, Nov 05, 2001 at 05:14:11PM -0500, Daniel Frazier wrote: > > Hi all, > > > > I'm bringing one of our production boxes up to stable and I ran into > > a snag. make buildworld finished fine, but make buildkernel dies with > > the following: > > > > cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ > > -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > > -Winline -Wcast-qual -fformat-extensions -ansi -c linux_sysent.c > > In file included from linux_sysent.c:14: > > linux_proto.h:57: syntax error before `linux_time_t' > > linux_proto.h:57: `linux_time_t' undeclared here (not in a function) > > linux_proto.h:57: syntax error before `)' > > linux_proto.h:57: `linux_time_t' undeclared here (not in a function) > > linux_proto.h:57: syntax error before `)' > > linux_proto.h:156: syntax error before `linux_handler_t' > > linux_proto.h:156: `linux_handler_t' undeclared here (not in a function) > > linux_proto.h:156: `linux_handler_t' undeclared here (not in a function) > > linux_proto.h:184: syntax error before `linux_dev_t' > > > > linux_proto.h:479: syntax error before `)' > > linux_proto.h:479: `linux_sigset_t' undeclared here (not in a function) > > linux_proto.h:479: syntax error before `)' > > linux_proto.h:510: syntax error before `*' > > linux_proto.h:510: syntax error before `linux_stack_t' > > linux_proto.h:510: syntax error before `linux_stack_t' > > linux_proto.h:511: syntax error before `linux_stack_t' > > linux_proto.h:511: `linux_stack_t' undeclared here (not in a function) > > linux_proto.h:511: syntax error before `)' > > linux_proto.h:511: `linux_stack_t' undeclared here (not in a function) > > linux_proto.h:511: syntax error before `)' > > linux_sysent.c:21: sizeof applied to an incomplete type > > linux_sysent.c:21: warning: built-in function `exit' used without > > declaration > > linux_sysent.c:21: warning: cast discards qualifiers from pointer target > > type > > *** Error code 1 > > > > Stop in /usr/src/sys/modules/linux. > > *** Error code 1 > > > > Stop in /usr/src/sys/modules. > > *** Error code 1 > > > > has anyone else seen this and/or have a fix? Read the other thread.. :) U gotta delete some stuff before compiling. It's in the notes too. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message