Subject: Re: make build fail
To: Clarence Chan <ein@hkstar.com>
From: Paul B Dokas <dokas@cs.umn.edu>
List: current-users
Date: 09/11/2000 22:20:52
On Tue, 12 Sep 2000, Clarence Chan wrote:
>
> Hello,
> 
> I got an error when I tried to make build with source upto September 11,
> 2000.  Any idea how to fix it.  Thanks.
> 
> Clarence
> 
> =============================================================================
> rm -f llib-lsa.ln  alloc.ln bcmp.ln bcopy.ln bzero.ln errno.ln exit.ln
> exec.ln g
> etfile.ln gets.ln globals.ln memcmp.ln memcpy.ln memset.ln panic.ln
> printf.ln sn
> printf.ln sprintf.ln strerror.ln subr_prf.ln twiddle.ln vsprintf.ln
> checkpasswd.
> ln closeall.ln dev.ln disklabel.ln dkcksum.ln ioctl.ln nullfs.ln stat.ln
> fstat.l
> n close.ln lseek.ln open.ln read.ln write.ln cread.ln loadfile.ln lfs.ln
> ufs.ln
> ufs_ls.ln cd9660.ln ustarfs.ln
> rm -f .depend /usr/src/sys/arch/i386/stand/biosboot/lib/sa/tags
> cleandiring the i386 library objects
> *** Error code 1
> 
> ============================================================================




Yea, comment out all of the 'SUBDIR' lines in /usr/src/sys/arch/i386/stand/Makefile

Ok, so that's not a real fix.  I just *really* needed to do a 'make build'
today...


Anyway, it still fails, but this time much later on:

cc -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main  -Werror  -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  -c /usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/sha1.c
cc -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main  -Werror  -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  -c /usr/src/sys/arch/i386/stand/biosboot/../../../..//lib/libkern/pmatch.c
building standard kern library
ranlib libkern.a
making sure the i386 library is up to date...
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.



Looks like a problem /usr/src/sys/arch/i386/stand.  Those 'SUBDIR' lines are
probably needed  ;-)

Paul
--
Paul Dokas                                            dokas@cs.umn.edu
======================================================================
Don Juan Matus:  "an enigma wrapped in mystery wrapped in a tortilla."