From owner-freebsd-stable Sat Mar 9 10:50:26 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 6A95E37B416 for ; Sat, 9 Mar 2002 10:50:23 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id KAA06336; Sat, 9 Mar 2002 10:50:20 -0800 Message-ID: <3C8A596B.9030907@owt.com> Date: Sat, 09 Mar 2002 10:50:19 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: "Jeffrey J. Libman" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: error compiling custom kernel References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Jeffrey J. Libman wrote: > i cvsup and upgraded this server from stable 4.3 to 4.5: > > FreeBSD binnacle.wantabe.com 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #0: Sat > Mar > 9 04:25:58 CST 2002 > jeffrl@binnacle.wantabe.com:/usr/obj/usr/src/sys/GENERIC > i386 > > make buildworld, make buildkernel, make installkernel, make installworld > and mergemaster all went well. > > then i went to rebuild my custome kernel, and i get the following: > cc -O -pipe -march=pentiumpro -D_KERNEL -Wall -Wredundant-decls > -Wnested-extern > s -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual > -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ > -I@/../include - > g -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 `)' This is covered in your /usr/src/UPDATING. The header file used to be genereated and now it isn't but you have a generated version hanging around in the custom kernel area. If the scheme in UPDATING doesn't work for you, the way people have dealt with it has been covered many, many times in -stable and you need to check the archive. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message