linux構建工具鏈安裝核心標頭檔案的時候提示出錯
阿新 • • 發佈:2019-02-09
如下,安裝核心標頭檔案的時候輸入命令:
make ARCH=i386 INSTALL_HDR_PATH=$SYSROOT/usr/headers_install
提示內容如下:
如圖:scripts/kconfig/conf --silentoldconfig Kconfig *** *** Configuration file ".config" not found! *** *** Please run some configurator (e.g. "make oldconfig" or *** "make menuconfig" or "make xconfig"). *** make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `relocs'. make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
輸入
make ARCH=i386 INSTALL_HDR_PATH=$SYSROOT/usr/ headers_install
正確,headers_install前面有一個空格。