Subject: chicken-or-egg-problem?
To: None <current-users@netbsd.org>
From: Teemu Rinta-aho <teemu@rinta-aho.org>
List: current-users
Date: 09/01/2005 09:50:53
How should I update the kernel, as the old config does this:

#   compile  P4/ioconf.o
cc -pipe -ffreestanding -pipe -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare
-fno-zero-initialized-in-bss -Di386 -I. -I../../../../arch -I../../../..
-nostdinc -DLKM -DDEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ioconf.c
ioconf.c:21: warning: initialization from incompatible pointer type
ioconf.c:24: warning: initialization from incompatible pointer type
ioconf.c:29: warning: initialization from incompatible pointer type
... jada jada ...

and the new one does this:

[root@p4 conf]# /usr/obj/usr/src/usr.bin/config/config P4
/usr/obj/usr/src/usr.bin/config/config: Undefined PLT symbol "__fstat30"
(symnum = 13)

[root@p4 P4]# uname -a
NetBSD p4.rinta-aho.org 3.99.7 NetBSD 3.99.7 (P4) #0: Thu Aug 11 11:30:36 EEST
2005  root@p4.rinta-aho.org:/usr/src/sys/arch/i386/compile/P4 i386
[root@p4 P4]# ls -la /usr/obj/usr/src/usr.bin/config/config
-rwxr-xr-x  1 root  wheel  96947 Sep  1 01:32
/usr/obj/usr/src/usr.bin/config/config

-- 
teemu@rinta-aho.org -+- http://www.rinta-aho.org