Subject: building floppies problems
To: None <current-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 01/15/2001 21:49:06
This is 1.5.1_ALPHA i386.
While in distrib/i386/floppies, when I do a make, I receive:
(cd
/usr/src/distrib/i386/floppies/ramdisk-big/../../../../sys/arch/i386/stand/installboot; make
installboot.o bootblks.o getmount.o loadfile.o)
cc -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror
-I/usr/src/sys/arch/i386/stand/installboot/../lib/crt/bootsect
-I/usr/src/sys/arch/i386/stand/installboot/../../../../lib/libsa -I. -c
installboot.c
In file included from installboot.c:59:
/usr/src/sys/arch/i386/stand/installboot/../../../../lib/libsa/loadfile.h:70: machine/loadfile_machdep.h: No
such file or directory
*** Error code 1
So I go into sys/arch/i386/stand/installboot and do a make and it works.
And then the make in distrib/i386/floppies continues past that problem.
Then in ramdisk-small:
SPECIAL sh ${CURDIR}/../../../../distrib/sets/makeobsolete -b -s
${CURDIR}/../../../../distrib/sets -t ./dist
/mnt: create/symlink failed, no inodes free
/usr/src/distrib/i386/floppies/ramdisk-small/../../../../distrib/sets/makeobsolete: cannot
create ./dist/etc_obsolete: file system full
rm: ./dist/etc_obsolete: No such file or directory
/dev/vnd0a 2478 2448 30 98% /mnt
$ find /mnt -perm 755 -type f -ls
22 2208 -rwxr-xr-x 41 root wheel 1121356 Jan 15 21:35
/mnt/bin/cat
22 2208 -rwxr-xr-x 41 root wheel 1121356 Jan 15 21:35
/mnt/bin/chio
22 2208 -rwxr-xr-x 41 root wheel 1121356 Jan 15 21:35
/mnt/bin/chmod
22 2208 -rwxr-xr-x 41 root wheel 1121356 Jan 15 21:35
/mnt/bin/cp
22 2208 -rwxr-xr-x 41 root wheel 1121356 Jan 15 21:35
/mnt/bin/dd
22 2208 -rwxr-xr-x 41 root wheel 1121356 Jan 15 21:35
/mnt/bin/df
22 2208 -rwxr-xr-x 41 root wheel 1121356 Jan 15 21:35
/mnt/bin/ed
...
All too large.
Then I look at "list". It has:
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/ramdiskbin ramdiskbin
LINK ramdiskbin sysinst
LINK ramdiskbin bin/cat
LINK ramdiskbin bin/chio
LINK ramdiskbin bin/chmod
and ramdiskbin is the same size (1121356).
Maybe this is fixed in current.
What are some suggestions so I can have -current sources and 1.5.1_ALPHA
sources on my 1.5.1_ALPHA box?
Jeremy C. Reed
http://www.reedmedia.net/