View Single Post
  #1   (View Single Post)  
Old 21st January 2009
nihonto nihonto is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 65
Default New Kernel: "make depend" doesn't work

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?
Reply With Quote