NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Building a kernel by hand
On Sun, 19 Sept 2021 at 18:27, Brook Milligan <brook%nmsu.edu@localhost> wrote:
>
>
> > On Sep 19, 2021, at 11:21 AM, Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
> >
> > gandalf# make depend
> > make: "/etc/mk.conf" line 304: Malformed conditional (${OPSYS} ==
> > "OpenBSD" || ${OPSYS} == "Bitrig")
> > make: "/etc/mk.conf" line 632: Malformed conditional (${OPSYS} == "IRIX")
> > make: Fatal errors encountered -- cannot continue
> > make: stopped in /usr/src/sys/arch/amd64/compile/GENERIC
>
> I think the idea was to see those exact lines in your /etc/mk.conf file.
>
> My guess is that you have not included <bsd.prefs.mk> (I’m pretty sure that is the correct file) prior to these conditionals. As a result, I suspect ${OPSYS} is not defined to anything and the conditionals look like (== “IRIX”), which of course makes no sense.
I'd suggest running the build without /etc/mk.conf - 632 lines is way
too big for mk.conf, which should contain only some local changes and
pkgsrc preferences. Mine happens to be 69 lines...
>
> Cheers,
> Brook
>
Chavdar
--
----
Home |
Main Index |
Thread Index |
Old Index