Kernel Compile issue

Paige Thompson erratic at devel.ws
Mon Mar 2 00:34:10 PST 2009


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 at 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 at 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
>
>
>


More information about the freebsd-questions mailing list