Subject: -current won't compile for i386
To: None <>
From: David Young <>
List: current-users
Date: 02/07/2002 15:15:05
I am trying to compile -current source downloaded about 10-11PM CST
last night (Feb 6th). I get this error:

	/home/dyoung/sup/src/tools/obj/tools.NetBSD-1.5-i386/bin/i386--netbsdelf-gcc -Os -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main   -Werror -I/home/dyoung/sup/src/sys/arch/i386/stand/biosboot/../../../..//lib/libsa -DCOMPAT_386BSD_MBRPART -DSUPPORT_PS2 -DSUPPORT_SERIAL=CONSDEV_PC -DDIRECT_SERIAL -DSUPPORT_USTARFS -DPASS_BIOSGEOM -DPASS_MEMMAP -nostdinc -I/home/dyoung/sup/src/sys/arch/i386/stand/biosboot/obj -I/home/dyoung/sup/src/sys/arch/i386/stand/biosboot/../../../../ -I/home/dyoung/sup/src/sys/arch/i386/stand/biosboot/../../../..//arch/i386/stand/lib -I/home/dyoung/sup/src/sys/arch/i386/stand/biosboot/../../../..//lib/libsa -D_STANDALONE -nostdinc -isystem /home/dyoung/sup/obj/usr/include -DHEAP_START=0x20000 -DHEAP_LIMIT=0x50000  -DCOMPAT_UFS  -D__INTERNAL_LIBSA_CREAD -nostdinc -isystem /home/dyoung/sup/obj/usr/include  -c /home/dyoung/sup/src/sys/arch/i386/stand/biosboot/../../../..//lib/libsa/dosfs.c
	building standard sa library
	/home/dyoung/sup/src/tools/obj/tools.NetBSD-1.5-i386/bin/i386--netbsdelf-ranlib libsa.a
	making sure the z library is up to date...
	cd: can't cd to /home/dyoung/sup/src/sys/arch/i386/stand/biosboot/obj/lib/z
	*** Error code 2


I have seen this before. A work-around is to create the missing
directory with mkdir -p, but then another lib/z directory is missing,
and then another. Is there a single place where this can be fixed?

I am building on an x86 running NetBSD 1.5. Here is uname -a:

NetBSD <HOSTNAME HERE> 1.5 NetBSD 1.5 (GENERIC) #1: Sun Nov 19 21:42:11
MET 2000 fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC

I use these commands to build:

	export DESTDIR=/home/dyoung/sup/obj
	export RELEASEDIR=/home/dyoung/sup/release



David Young                   On the Job Consulting     Urbana, IL * (217) 278-3933