Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 1998 09:07:26 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Marcio Augusto Stocco <stocco@unesp.br>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Problems rebuilding the kernel
Message-ID:  <19980925090726.R12701@freebie.lemis.com>
In-Reply-To: <199809241641.NAA18096@guinevere.unesp.br>; from Marcio Augusto Stocco on Thu, Sep 24, 1998 at 01:41:29PM -0300
References:  <199809241641.NAA18096@guinevere.unesp.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 24 September 1998 at 13:41:29 -0300, Marcio Augusto Stocco wrote:
> I've tried to rebuild the kernel after editing the GENERIC config file,
> without success. Then, I repeated the procedure without changing this file,
> and got the same error.
> Even after reading all the docs I put my hands on, I couldn't realize what's
> wrong. So, I would appreciate your help very much.
>
> Thanks in advance,
> Marcio Augusto Stocco.
>
> ------------ my procedure ------------
>
> root@pippin[101] cd /sys/i386/conf/
> /sys/i386/conf
> root@pippin[102] cp GENERIC KRNTEST
> root@pippin[103] /usr/sbin/config KRNTEST
> Kernel build directory is ../../compile/KRNTEST
> root@pippin[104] cd ../../compile/KRNTEST
> /sys/compile/KRNTEST
> root@pippin[105] make depend
> Makefile:25: *** missing separator.  Stop.
>
> ------------ my machine ------------
>
> IBM PC 350 - P166
> CPU: Pentium (166.19-MHz 586-class CPU)
>   Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
>   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
>
> FreeBSD pippin.ai.unesp.br 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0:
> Wed Mar 25 02:28:49 GMT 1998
> jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386
>
> gcc version 2.7.2.1
> GNU Make version 3.76.1, by Richard Stallman and Roland McGrath.

That's your problem.  You can't build a kernel with GNU make.  Use BSD
make, which has significantly different syntax.  You should find one
in /usr/bin.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980925090726.R12701>