64位ubuntu16.04搭建嵌入式linux開發(fā)環(huán)境的奇葩問題
sudo apt-get install lib32ncurses5
奇葩問題2:編譯內(nèi)核出現(xiàn)Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
將kernel/timeconst.pl 文件中的
if (!defined(@val)) {
替換為
if (!@val) {
奇葩問題3:不能make menuconfig,會(huì)出現(xiàn)error "mixed implicit and normal rules"
將編譯目錄下的Makefile中的
config %config: scripts_basic outputmakefile FORCE
改為
%config: scripts_basic outputmakefile FORCE
奇葩問題4:編譯內(nèi)核出現(xiàn)drivers/Makefile:59: *** missing separator. ?Stop.
查看drivers/Makefile發(fā)現(xiàn)
obj-$(CONFIG_TC) += tc/
+ obj-$(CONFIG_UWB) += uwb/
obj-$(CONFIG_USB_OTG_UTILS) += usb/otg/
將其改為
obj-$(CONFIG_TC) += tc/
obj-$(CONFIG_UWB) += uwb/
obj-$(CONFIG_USB_OTG_UTILS) += usb/otg/