Re: clang and 'config KERNFILE' error

看板FB_current作者時間13年前 (2012/05/02 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
On 2012-04-20 02:40, Steve Kargl wrote: > laptop:root[227] uname -a > FreeBSD laptop 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r230975M: Sat Feb 4 09:03:27 PST 2012 root@laptop:/usr/obj/usr/src/sys/MOBILE i386 > > > laptop:root[224] config MOBILE > Kernel build directory is ../compile/MOBILE > Don't forget to do ``make cleandepend&& make depend'' > laptop:root[225] cd ../compile/MOBILE > laptop:root[226] make cleandepend&& make depend > "../../../conf/kern.pre.mk", line 87: Malformed conditional (${MK_CLANG_IS_CC} == "no"&& ${CC:T:Mclang} != "clang") > "../../../conf/kern.pre.mk", line 98: if-less endif > "../../../conf/kern.pre.mk", line 104: Malformed conditional (${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang") > "../../../conf/kern.pre.mk", line 106: if-less endif > "../../../conf/kern.mk", line 18: Malformed conditional (${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang") > "../../../conf/kern.mk", line 31: if-less endif > "../../../conf/kern.mk", line 53: Malformed conditional (${MK_CLANG_IS_CC} == "no"&& ${CC:T:Mclang} != "clang") > "../../../conf/kern.mk", line 60: if-less endif > make: fatal errors encountered -- cannot continue Hi Steve, This means your /usr/share/mk files are out of sync with your source tree. When you build kernels in the old way, this will not work properly. I guess the simplest solution is to set MAKESYSPATH to /usr/src/share/mk, or just use "make buildkernel KERNCONF=MOBILE". _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Fe9LzxR (FB_current)
文章代碼(AID): #1Fe9LzxR (FB_current)