Re: Kernel Compile issue

2009-03-02 Thread Paige Thompson
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 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [root@ /usr/src]#

Kernel Compile issue

2009-03-02 Thread Paige Thompson
[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

Re: Kernel Compile issue

2009-03-02 Thread Michael Powell
Paige Thompson wrote: Also I wanted to note how I got to this problem: [root@ /usr/src]# make buildkernel config=GENERIC 2 error.log [snip] cd /usr/obj and rm -rf usr before trying again. Then cd /usr/src and do: make buildkernel KERNCONF=nameofsomeconffile another example: make

Re: Kernel Compile issue

2009-03-02 Thread Paige Thompson
Mike, I think you misread what I sent, however I noticed that you used 'KERNELCONF' instead of 'config' (as I noted) but I still get the same error. I want to say the issue must have something to do with the fact that there's no environment variables that specify the include directories. FWIW

Re: Kernel Compile issue

2009-03-02 Thread Polytropon
On Mon, 2 Mar 2009 01:28:59 -0800, Paige Thompson erra...@devel.ws wrote: Mike, I think you misread what I sent, however I noticed that you used 'KERNELCONF' instead of 'config' (as I noted) but I still get the same error. Correct is KERNCONF=name of config file as parameter for buildkernel

Re: Kernel Compile issue

2009-03-02 Thread Paige Thompson
On Mon, Mar 2, 2009 at 2:43 AM, Paige Thompson erra...@devel.ws wrote: You're right, my source tree is incomplete: # pwd /usr/src/sys # cd sys sys: No such file or directory. # Thank you that helps a lot actually, it probably has something to do with the source archives that I downloaded

Re: Kernel Compile issue

2009-03-02 Thread Paige Thompson
On Mon, Mar 2, 2009 at 2:44 AM, Paige Thompson erra...@devel.ws wrote: PS: it seems just straight up mget * works x.x k! satisfactory enough... On Mon, Mar 2, 2009 at 2:43 AM, Paige Thompson erra...@devel.ws wrote: You're right, my source tree is incomplete: # pwd /usr/src/sys # cd sys

Re: Kernel Compile issue

2009-03-02 Thread Polytropon
On Mon, 2 Mar 2009 02:43:01 -0800, Paige Thompson erra...@devel.ws wrote: You're right, my source tree is incomplete: # pwd /usr/src/sys # cd sys sys: No such file or directory. # I had a similar problem some years ago and couldn't find out what the reason was - the magic of this mailing