Subject: Re: usr/src/xsrc/make build fails
To: None <current-users@NetBSD.org>
From: Ron Roskens <roskens@elfin.net>
List: current-users
Date: 11/13/2003 10:34:12
* Frederick Bruckman <fredb@immanent.net> [2003-11-13 10:02:10 -0600]:
> If my guess is correct, you seem to have two ways to go... 1) Take
> your kernel back to 1.6.1_RC1; or 2) take your kernel and userland up
> to current (which is already 1.6ZF).
There is a third option, and that would be to install pkgsrc/pkgtools/libkver.
If you install it with "make KVER_OSRELEASE=1.6.2 install", then you could
add to /etc/ld.so.conf like so (assuming i386):
libc.so.12 machdep.fpu_present 1:libkver.so.0,libc.so.12
And "uname" will return 1.6.2 back.
# uname -a
NetBSD hysteria.tx.elfin.net 1.6ZD NetBSD 1.6ZD (GENERIC) #19: Wed Oct 22 18:35:02 CDT 2003 root@speedy.tx.elfin.net:/obj/sys/arch/i386/compile/GENERIC i386
# /d/d01/nb162/sandbox
### going to chroot'ed build of 1.6.2
# uname -a
NetBSD hysteria.tx.elfin.net 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Jan 19 00:00:00 UTC 2038 root@localhost:/sys/arch/i386/compile/GENERIC i386
Ron Roskens