From owner-freebsd-questions Sun Jun 2 6:10: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by hub.freebsd.org (Postfix) with ESMTP id 49B9937B404 for ; Sun, 2 Jun 2002 06:09:46 -0700 (PDT) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g52D9PU15429; Sun, 2 Jun 2002 09:09:25 -0400 Message-ID: <3CFA1A62.1000702@potentialtech.com> Date: Sun, 02 Jun 2002 09:15:14 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David LeCount Cc: freebsd-questions@FreeBSD.org Subject: Re: Kernel errors References: <3CFA0939.2010601@linuxorbit.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David LeCount wrote: > For the past few months, I've been having a bit of a problem compiling > kernels and haven't been able to figure out what the hell is going on. What version of FreeBSD? > make buildkernel doesn't seem to give any errors (I don't know why), but > the conventional method gives about 2 pages of errors. It errors while > compiling the Linux module. Here is the first few lines of the errors: Read the handbook. I don't believe the old build method is supported on newer source trees. You should probably just use "make buildkernel". Do I understand your description of the problem correctly? > > ===> linux > cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs > -Wstrict-protot > ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extens > ions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include > -mpreferred-stack > -boundary=2 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmiss > ing-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) > > It continues with similar messages and the typical "Stop in ..." > messages. I'll attach my config file since that's likely where the > problem is. Thanks. I doubt there's anything wrong with your config file if it makes properly when you issue a "make buildkernel". -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message