Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 20:51:27 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        "M.C Wong" <mcwong@hotmail.com>
Cc:        questions@freebsd.org
Subject:   Re: 2.2.5R: Kernel build error
Message-ID:  <Pine.BSF.3.96.980112205025.22079s-100000@gdi.uoregon.edu>
In-Reply-To: <199801070757.XAA11400@f138.hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Jan 1998, M.C Wong wrote:

> Under 2.2.5R I am rebuilding a new kernel based on the good old ways
> I used to know in 2.1.6* days, I did:
> 
> config GENERIC
> cd ../../compile/generic
> make depend
> 
> and I got the following errors:
> 
> # make depend
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  
> -Wpointer-arith  -nostdinc -I- -I. -I../.. -I../../../include 
> -DAPM_BROKEN_STATCLOCK -DFAILSAFE -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS 
> -DINET -DKERNEL -DMAXUSERS=10 -UKERNEL ../../i386/i386/genassym.c
> ../../i386/i386/genassym.c:40: stdio.h: No such file or directory
> In file included from ../../sys/proc.h:48,
>                  from ../../i386/i386/genassym.c:43:
> ../../sys/time.h:118: time.h: No such file or directory
> *** Error code 1
> 
> Stop.
> 
> I am 100% sure that I did have the kernel source loaded and I yes I can 
> find /usr/include/stdio.h and /usr/include/sys/time.h
> 
> except I don't know the path it is looking for those files during
> kernel rebuilding.

Try removing & reinstalling your kernel source.  

rm -rf /usr/src/sys
reinstall source

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980112205025.22079s-100000>