Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 00:26:23 -0800
From:      Paige Thompson <erratic@devel.ws>
To:        freebsd-questions@freebsd.org
Subject:   Re: Kernel Compile issue
Message-ID:  <5061b39c0903020026u7ad4d422w8f572f35bb27f9d1@mail.gmail.com>
In-Reply-To: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com>
References:  <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <erratic@devel.ws> 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 <sys/cdefs.h>
>
> [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
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5061b39c0903020026u7ad4d422w8f572f35bb27f9d1>