From owner-freebsd-questions Sun Jun 2 6:12: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id B4B2937B403 for ; Sun, 2 Jun 2002 06:11:58 -0700 (PDT) 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 GAA10744; Sun, 2 Jun 2002 06:11:57 -0700 Message-ID: <3CFA199C.1040903@owt.com> Date: Sun, 02 Jun 2002 06:11:56 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx 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. 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: > > ===> 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. > > If it was a config problem, you would have had a problem doing a "make buildkernel KERNCONF=KENSHI". It sounds more like a config or make depend problem. I tried it both ways on 2 of my systems and didn't have any problems. Neither of the systems had the COMPAT_LINUX option and so I built one with it and one without. I didn't have any problems doing the following on either system cd /sys/i386/conf config CORAL cd /sys/compile/CORAL make depend make >& kernel_build.log Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message