FreeBSD 5.2 p1 buildkernel failed

From: - martijn - (martijn_at_zuul.nu)
Date: 01/31/04


Date: Sat, 31 Jan 2004 08:15:17 +0100

Hi there,

Yesterday I wanted to upgrade my FreeBSD 5.1 p11 machine to FreeBSD 5.2
p1. I did a cvsup to obtain the lateest sources (use the RELENG_5_2
tag). I adjusted my kernel config file (it's called ROOKWORST (Dutch
readers know what it is)) the usual way (never had any problems with that).

I wanted to do a 'make buildkernel KERNCONF=ROOKWORST' and the following
error appeared:

----- begin error -----

[root@rookworst src]# make buildkernel KERNCONF=ROOKWORST
"Makefile.inc1", line 739: warning: String comparison operator should be
either == or !=
"Makefile.inc1", line 739: Malformed conditional ((!defined(NO_RESCUE)
|| defined(RELEASEDIR)) && (${TARGET_ARCH} != ${MACHINE_ARCH} ||
${BOOTSTRAPPING} < 501101))
"Makefile.inc1", line 739: Missing dependency operator
"Makefile.inc1", line 741: if-less endif
"Makefile.inc1", line 741: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src.

------ end error ------

I did upgrades via cvsup many times before and never had any problems.
To solve the problem I removed the files and directories from /usr/src
and did a cvsup again. This didn't solve the problem.

Does anyone know what's going on?

- martijn -



Relevant Pages