Hi there,
I'm trying to compile a new kernel on NetBSD-4.0.1. But when it comes to "make depend" I get this error:
Quote:
# make depend
make: "/etc/mk.conf" line 207: Malformed conditional ((!empty(MACHINE_PLATFORM:MNetBSD-*-*) && exists(/usr/X11R7/lib/libX11.so)))
make: "/etc/mk.conf" line 207: Need an operator
make: "/etc/mk.conf" line 210: Malformed conditional (empty(MACHINE_PLATFORM:MDarwin-9.*-*) || (defined(X11_TYPE) && ${X11_TYPE} != "native"))
make: "/etc/mk.conf" line 516: Malformed conditional (${OPSYS} == "IRIX")
make: "/etc/mk.conf" line 516: Need an operator
make: "/etc/mk.conf" line 529: Malformed conditional (${OPSYS} == "SunOS")
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/src/sys/arch/i386/compile/MYKERNEL
|
What is ment by "Malformed conditional"? And what kind of "operator" is expected?
I have copied the example from /usr/pkgsrc/mk/defaults/mk.conf to /etc. So I thought it should be ok.
Any ideas?