[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kernel compile problem 3.5 on i386



Sorry if I'm missing something really obvious.

I've tried this 3 times with same result each time.


Downloaded/installed OpenBSD 3.5 on fresh blank drive. (Installed All)
Downloaded & untarred sys.gz, src.gz, ports,gz, XF4.gz
ran cvsup w/ following supfile

#--------------------
# Defaults that apply to all the collections
*default release=cvs
*default delete use-rel-suffix
*default umask=002
*default host=cvsup.usa.openbsd.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr

# If your network link is a T1 or faster, comment out the following line.
*default compress

*default tag=OPENBSD_3_5
#OpenBSD-all
OpenBSD-src
#OpenBSD-www
#OpenBSD-ports
#OpenBSD-x11
OpenBSD-xf4
 
#--------------------

Then (all steps as root):
cd /usr/src/arch/i386/conf/
cp GENERIC GENERIC_514
config GENERIC_514
cd ../compile/GENERIC_514/
make depend
make

errors out every time with following error:

In file included from /usr/src/arch/i386/compile/GENERIC_514/../../../../lib/libz/zlib.h:35,
                 from /usr/src/arch/i386/compile/GENERIC_514/../../../../arch/i386/i386/dkcsum.c:45:
/usr/src/arch/i386/compile/GENERIC_514/../../../../lib/libz/zconf.h:279: unistd.h: No such file or directory
*** Error code 1

Stop in /usr/src/arch/i386/compile/GENERIC_514 (line 2040 of Makefile).


and yet locate finds the missing file(s):
root:/root:22$ locate unistd.h
/usr/include/sys/unistd.h
/usr/include/unistd.h
/usr/src/compat/ibcs2/ibcs2_unistd.h
/usr/src/gnu/usr.bin/gcc/gcc/fixinc/tests/base/unistd.h
/usr/src/include/unistd.h
/usr/src/sys/compat/ibcs2/ibcs2_unistd.h
/usr/src/sys/sys/unistd.h
/usr/src/sys/unistd.h



Help!
What am I missing/doing wrong?


-- 
Neuronet

OpenBSD  i386