Subject: Re: how to get kernel sources for i386 20020104-1.5ZA
To: Chris Pinnock <cjep@fawlty.net>
From: Marshall Rose <mrose@dbc.mtview.ca.us>
List: port-i386
Date: 02/23/2002 22:39:35
> On Fri, Feb 22, 2002 at 09:16:59PM -0800, Marshall T. Rose wrote:
> > i can't find anything that looks like the right tarball, so my theory is
> > that i need to get a copy from cvs. the question is, what "-D" or "-r"
> > should i be giving cvs to get the right stuff.
> 
> Hi,
> 
> To check out sources from a certain date, you can do
> 	cvs checkout -D 20020104-UTC src 

hi. unfortunately this doesn't quite yield the desired result...

% cd /sys/arch/i386/conf
% config GENERIC_LAPTOP
% cd ../compile/GENERIC_LAPTOP
% make depend
depending the kern library objects
CC=cc /usr/src/tools/tools.NetBSD-1.5ZA-i386/bin/nbmkdep -a -D_LOCORE -I../../../../../../lib/libkern/arch/i386 -Di386 -I../../. -I../../../../../../arch -I../../../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT    -traditional-cpp ../../../../../../lib/libkern/arch/i386/byte_swap_2.S ../../../../../../lib/libkern/arch/i386/byte_swap_4.S ../../../../../../lib/libkern/arch/i386/bcmp.S ../../../../../../lib/libkern/arch/i386/bzero.S ../../../../../../lib/libkern/arch/i386/ffs.S ../../../../../../lib/libkern/arch/i386/memchr.S ../../../../../../lib/libkern/arch/i386/memcmp.S ../../../../../../lib/libkern/arch/i386/memcpy.S ../../../../../../lib/libkern/arch/i386/memmove.S ../../../../../../lib/libkern/arch/i386/memset.S ../../../../../../lib/libkern/arch/i386/strcat.S ../../../../../../lib/libkern/arch/i386/strchr.S ../../../../../../lib/libkern/arch/i386/strcmp.S ../../../../../../lib/libkern/arch/i386/strcpy.S ../../../../../../lib/libkern/arch/i386/strlen.S .!
./../../../../../lib/libkern/arch/i386/strrchr.S ../../../../../../lib/libkern/arch/i386/scanc.S ../../../../../../lib/libkern/arch/i386/skpc.S ../../../../../../lib/libkern/arch/i386/random.S
/usr/src/tools/tools.NetBSD-1.5ZA-i386/bin/nbmkdep: not found
*** Error code 127

Stop.
make: stopped in /usr/src/sys/arch/i386/compile/GENERIC_LAPTOP/lib/kern
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/i386/compile/GENERIC_LAPTOP


fortunately, if we just do a make, it does build netbsd...


anyway, that's probably close enough for me. however, may i make a
suggestion to the "snapshot gods" -- in the future, please create a cvs
tag or something so it's possible to get the exact set of files you used
in creating the snapshot. i really like to be able to reproduce things
reliably when tracking down problems.
    
thanks!
    
/mtr