From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 08:34:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55079106567F for ; Mon, 2 Mar 2009 08:34:09 +0000 (UTC) (envelope-from erratic@devel.ws) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id 345138FC1D for ; Mon, 2 Mar 2009 08:34:09 +0000 (UTC) (envelope-from erratic@devel.ws) Received: by wf-out-1314.google.com with SMTP id 27so2223076wfd.7 for ; Mon, 02 Mar 2009 00:34:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.42.7 with SMTP id u7mr2893416wfj.99.1235982383094; Mon, 02 Mar 2009 00:26:23 -0800 (PST) In-Reply-To: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> References: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> Date: Mon, 2 Mar 2009 00:26:23 -0800 Message-ID: <5061b39c0903020026u7ad4d422w8f572f35bb27f9d1@mail.gmail.com> From: Paige Thompson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Kernel Compile issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 08:34:10 -0000 Also I wanted to note how I got to this problem: [root@ /usr/src]# make buildkernel config=GENERIC 2> error.log [root@ /usr/src]# uname -a FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [root@ /usr/src]# I also wanted to mention that I tried this with the "LINT" configuration and had the same result. On Mon, Mar 2, 2009 at 12:21 AM, Paige Thompson wrote: > [root@ /usr/src]# head error.log > /usr/src/sys/i386/i386/genassym.c:35:23: error: sys/cdefs.h: No such file > or directory > /usr/src/sys/i386/i386/genassym.c:36: error: expected declaration > specifiers or '...' before string constant > /usr/src/sys/i386/i386/genassym.c:36: warning: data definition has no type > or storage class > /usr/src/sys/i386/i386/genassym.c:36: warning: type defaults to 'int' in > declaration of '__FBSDID' > /usr/src/sys/i386/i386/genassym.c:36: warning: function declaration isn't a > prototype > /usr/src/sys/i386/i386/genassym.c:42:23: error: sys/param.h: No such file > or directory > /usr/src/sys/i386/i386/genassym.c:43:23: error: sys/systm.h: No such file > or directory > /usr/src/sys/i386/i386/genassym.c:44:23: error: sys/assym.h: No such file > or directory > /usr/src/sys/i386/i386/genassym.c:45:21: error: sys/bio.h: No such file or > directory > /usr/src/sys/i386/i386/genassym.c:46:21: error: sys/buf.h: No such file or > directory > [root@ /usr/src]# > > > [root@ /usr/src]# cat sys/i386/i386/genassym.c | grep "cdefs.h" > #include > > [root@ /usr/src]# ls -lah /usr/include/sys/cdefs.h > -r--r--r-- 1 root wheel 18K Feb 24 2008 /usr/include/sys/cdefs.h > [root@ /usr/src]# > > wat wat wat???? Not sure what I'm missing here o.O > > >