Subject: [2.0.2/i386] Problem compiling ramdisk-big
To: None <netbsd-help@netbsd.org>
From: Sylvain Briole <sbriole.mls@free.fr>
List: netbsd-help
Date: 06/29/2005 09:25:56
Hi all,
In order to build a set of new custom install boot disks, I am trying to compile
ramdisk-big on a fresh installed 2.0.2/i386 NetBSD, following :
http://www.netbsd.org/guide/en/chap-misc.html#chap-misc-creating-bootfloppies
What I have done :
cd /
tar xzfp $HOME/gnusrc.tgz
tar xzfp $HOME/src.tgz
tar xzfp $HOME/sharesrc.tgz
tar xzfp $HOME/syssrc.tgz
These tar files are coming from :
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/source/sets/
Since I do not have any CVS possibility.
Then :
mkdir /usr/obj
chown myuser /usr/obj
cd /usr/src
./build.sh tools
cd /usr/src/sys/arch/i386/conf/
cp INSTALL TEST
config TEST
cd ../compile/TEST/
make depend
make
cd /usr/src/distrib/i386/floppies/ramdisk-big
make
This ends with an error :
# link ramdisk-big/ramdiskbin
/usr/src/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-gcc -Wl,-nostdlib -sta
tic
-o ramdiskbin -Wl,-rpath-link,/lib:/usr/lib -L/lib -B/usr/lib/ -B/usr/lib
/
ramdiskbin.o cat.cro chio.cro chmod.cro cp.cro dd.cro df.cro ed.cro ln.cro l
s.cro
mkdir.cro mt.cro mv.cro pax.cro pwd.cro rcmd.cro rm.cro sh.cro stty.cro sy
nc.cro
dhclient.cro disklabel.cro fdisk.cro fsck.cro fsck_ffs.cro ifconfig.cro i
nit.cro
mbrlabel.cro mknod.cro mount.cro mount_cd9660.cro mount_ext2fs.cro mount
_ffs.cro
mount_kernfs.cro mount_msdos.cro mount_nfs.cro mount_ntfs.cro newfs.cro
ping.cro
ping6.cro raidctl.cro reboot.cro restore.cro route.cro rtsol.cro scsic
tl.cro
shutdown.cro slattach.cro swapctl.cro sysctl.cro umount.cro ftp.cro gzip.
cro
less.cro sed.cro tip.cro installboot.cro bad144.cro chown.cro chroot.cro wic
onfig.cro sysinst.cro progress.cro libhack.o -lbz2 -ledit -lutil -lcurses -lter
mcap -lrmt -lcrypt -ll -lm -lz -L/usr/lib -L/usr/lib
/usr/src/tooldir.NetBSD-2.0.2-i386/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../..
/i386--netbsdelf/bin/ld: Warning: size of symbol `raw' changed from 4 in umount.
cro
to 141 in /usr/lib/libcurses.a(tty.o)
/usr/src/tooldir.NetBSD-2.0.2-i386/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../..
/i386--netbsdelf/bin/ld: Warning: type of symbol `raw' changed from 1 to 2 in /u
sr/lib/libcurses.a(tty.o)
stripping ramdiskbin
make: don't know how to make /usr/src/etc/MAKEDEV. Stop
make: stopped in /usr/src/distrib/i386/floppies/ramdisk-big
What did I make wrong?
I thank you for any advice!
Sylvain.