Hi,
I try to compile a new kernel but it kept on failing ... so I tried to debug a little and tried to compile GENERIC to see whether it would run at all but it also kept on failing with the following error message:
It looks lke it can't find the makefile "Could not find bsd.compiler.mk"
Looking for it manually also didn't find any file named like this:
Note that the FreeBSD 9.0 Release is freshly installed on this machine.
Any ideas why this happens?
I try to compile a new kernel but it kept on failing ... so I tried to debug a little and tried to compile GENERIC to see whether it would run at all but it also kept on failing with the following error message:
Code:
Storage [/usr/src]# make buildkernel KERNCONF=GENERIC
"Makefile.inc1", line 49: Could not find [FILE]bsd.compiler.mk[/FILE]
"Makefile.inc1", line 279: Malformed conditional (${MK_CLANG_IS_CC} == "no")
"Makefile.inc1", line 1129: Malformed conditional (${MK_GCC} != "no" && ${MK_CLANG_IS_CC} == "no")
"Makefile.inc1", line 1131: if-less endif
"Makefile.inc1", line 1186: Malformed conditional (${MK_CLANG} != "no" && (${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang"))
"Makefile.inc1", line 1189: if-less endif
"Makefile.inc1", line 1191: Malformed conditional (${MK_GCC} != "no" && ${MK_CLANG_IS_CC} == "no")
"Makefile.inc1", line 1193: if-less endif
"Makefile.inc1", line 1254: Malformed conditional (${MK_LIBCPLUSPLUS} != "no")
"Makefile.inc1", line 1256: if-less endif
"Makefile.inc1", line 1259: Malformed conditional (${MK_LIBCPLUSPLUS} != "no")
"Makefile.inc1", line 1261: if-less endif
make: fatal errors encountered -- cannot continue
*** Error code 1
Stop in /usr/src.
Storage [/usr/src]#
It looks lke it can't find the makefile "Could not find bsd.compiler.mk"
Looking for it manually also didn't find any file named like this:
Code:
Storage [/usr/src]# find / -name [FILE]bsd.compiler.mk[/FILE]
Storage [/usr/src]#
Note that the FreeBSD 9.0 Release is freshly installed on this machine.
Any ideas why this happens?