Subject: 1.5 i386 kernel compile problem
To: None <netbsd-users@netbsd.org>
From: Justin Heath <justin@bbnow.net>
List: netbsd-users
Date: 01/03/2001 01:59:38
I do not seem able to compile a GENERIC kernel without changes.
I pulled down sysrc.tgz from
ftp.netbsd.org/pub/NetBSD/NetBSD-1.5/source/sets and unpacked it to
root. First I tried building a custom kernel and recieved errors so
decided to build a GENERIC. I can run config GENERIC and it exits
cleanly. When doing a make depend I get the following results:
depend ===> stand/biosboot
depending the kern library objects
mkdep -a
-I/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386
-DCOMPAT_OLDBOOT -DCOMPAT_386BSD_MBRPART -DSUPPORT_SERIAL=CONSDEV_PC
-DDIRECT_SERIAL -DSUPPORT_USTARFS -DPASS_BIOSGEOM -DPASS_MEMMAP
-nostdinc -I/usr/src/sys/arch/i386/stand/biosboot
-I/usr/src/sys/arch/i386/stand/biosboot/../../../../
-I/usr/src/sys/arch/i386/stand/biosboot/../../../..//arch/i386/stand/lib
-I/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libsa
-D_STANDALONE -traditional-cpp
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/byte_swap_2.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/byte_swap_4.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/bcmp.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/bzero.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/ffs.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memchr.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memcmp.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memcpy.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memmove.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memset.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strcat.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strchr.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strcmp.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strcpy.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strlen.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strrchr.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/scanc.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/skpc.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/random.S
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/byte_swap_2.S:41:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/byte_swap_4.S:41:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/bcmp.S:6:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/bzero.S:6:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/ffs.S:6:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memchr.S:6:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memcmp.S:6:
machine/asm.h: No such file or directory
In file included from
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memcpy.S:4:
/usr/src/sys/arch/i386/stand/biosboot/../../../../lib/libkern/arch/i386/bcopy.S:36:
machine/asm.h: No such file or directory
In file included from
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memmove.S:4:
/usr/src/sys/arch/i386/stand/biosboot/../../../../lib/libkern/arch/i386/bcopy.S:36:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/memset.S:6:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strcat.S:6:
machine/asm.h: No such file or directory
In file included from
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strchr.S:4:
/usr/src/sys/arch/i386/stand/biosboot/../../../../lib/libkern/arch/i386/index.S:6:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strcmp.S:6:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strcpy.S:6:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strlen.S:6:
machine/asm.h: No such file or directory
In file included from
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/strrchr.S:4:
/usr/src/sys/arch/i386/stand/biosboot/../../../../lib/libkern/arch/i386/rindex.S:6:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/scanc.S:39:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/skpc.S:39:
machine/asm.h: No such file or directory
/usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/arch/i386/random.S:79:
machine/asm.h: No such file or directory
mkdep: compile failed.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
I have tried downloading sysrc.tgz again and keeping the permisions with
'tar zxpvf' and still no 'make depend'. TIA.
--Justin