Date: Wed, 24 Sep 1997 09:45:34 +0930 From: Greg Lehey <grog@lemis.com> To: David Marmor <marmor@z-axis.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Kernel Compilation Message-ID: <19970924094534.45070@lemis.com> In-Reply-To: <3427FE1A.F760B166@z-axis.com>; from David Marmor on Tue, Sep 23, 1997 at 10:36:26AM -0700 References: <3427FE1A.F760B166@z-axis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 23, 1997 at 10:36:26AM -0700, David Marmor wrote:
> I installed FreeBSD 2.2.2 on a pentium 166 with 32 megs of ram. I have
> two
> IDE hard drives with FerrBSD on the second one. When I try to recompile
> the kernel it stops at:
>
> loading kernel
> rearranging symbols
> text data bss dec hex
> 856064 57344 75680 989088 f17a0
> chflags noschg /kernel
> chflags: /kernel: no such file or directory
> *** Error code 1
>
> Stop.
>
> Do you know what I can do to get around this problem?
Fix the Makefile :-)
--- Makefile~ Thu Sep 18 10:33:31 1997
+++ Makefile Wed Sep 24 09:44:44 1997
@@ -368,7 +368,9 @@
echo "You must first build your kernel before trying to install." ; \
exit 1 ; \
fi
- chflags noschg /kernel
+ if [ -f /kernel ]; then \
+ chflags noschg /kernel; \
+ fi
mv /kernel /kernel.old
if [ `/usr/sbin/sysctl -n kern.bootfile` = /kernel ] ; then \
/usr/sbin/sysctl -w kern.bootfile=/kernel.old ; \
Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970924094534.45070>
