1. 程式人生 > >編譯核心錯誤:cc1: error: invalid option `abi=aapcs-linux'

編譯核心錯誤:cc1: error: invalid option `abi=aapcs-linux'

編譯核心是出現如下錯誤:

cc1: error: invalid option `abi=aapcs-Linux'

[email protected]:/home/linux/linux-2.6.32.2# make zImage
scripts/kconfig/conf -s arch/arm/Kconfig
  CHK     include/linux/version.h
  Generating include/asm-arm/mach-types.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CC      kernel/bounds.s
cc1: error: invalid option `abi=aapcs-linux'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2

錯誤原因:舊編譯器可能是用OABI的,而配置核心時又選擇了使用EABI的。

修改核心配置:
    Kernel Features ---->Use the ARM EABIto compile the kernel

取消選中該項。

相關推薦

編譯核心錯誤cc1: error: invalid option `abi=aapcs-linux'

編譯核心是出現如下錯誤: cc1: error: invalid option `abi=aapcs-Linux' [email protected]:/home/linux/linux-2.6.32.2# make zImage scripts/kconf

錯誤cc1: error: unrecognized command line option “-m32”

作業系統:RHEL5.1-Server 編譯器:gcc 4.1.2 工程:x264-snapshot-20120817-2245 問題:在編譯安裝 x264 時出現下列錯誤 解決方案:找到工程中Makefile檔案,將其中 “-m32" 字串刪除即可。 原因:

Linux下C++編譯提示錯誤unrecognized command line option “-std=c++11”

也就是gcc,g++版本不夠,那就升級版本 預設ubuntu14的gcc版本是4.8,支援c++11, 不支援c++14 gcc --version g++ --version 安裝g++5 sudo

問題編譯eshoponcontainers失敗,提示error:invalid reference format

otn problem finall init def contain issues timeline ati 環境: visual studio 2017 v15.4.2,docker ce Version 17.06.0-ce-win19 (12801) 參考問題頁:

錯誤fatal error C1083: 無法開啟預編譯標頭檔案“Debug/DistanceMeasure.pch”: No such file or directory

錯誤:fatal error C1083: 無法開啟預編譯標頭檔案:“Debug/DistanceMeasure.pch”: No such file or  directory  這種錯誤是不存在預編譯的.pch檔案,即沒有建立。 網上各種方法都是不使用預編譯,其實這樣

【我的Android進階之旅】解決編譯出現錯誤Error: In DataSet 'main', no data file for changedFile.

一、問題描述 晚上在Android Studio上,切換分支之後,重新編譯執行的時候,報錯了,錯誤資訊如下所示: 錯誤資訊文字: FAILURE: Build failed with an excep

tesseract的編譯安裝 tesseract編譯錯誤fatal error: allheaders.h: No such file or directory

    需要安裝: <span style="font-family:'Microsoft YaHei';font-size:14px;">apt-get install autoconfapt-get install automakeapt-get install li

[7]_編譯核心錯誤提示2recipe for target 'kernel/timeconst.h' failed 和 "mkimage" command not found

----------------------------------------------------------------編譯核心出現的錯誤---------------------------

VS2010編譯錯誤fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x

下面是徹底解決方法:在工程的stdafx.h中新增(如有類似語句,需註釋掉)#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.#define WI

python csv文件打開錯誤_csv.Error: line contains NULL byte

sum print question utf-16 null ecs 格式 .cn repl 正常的csv文件讀取如下: #coding:utf-8 import csv csvfilename = ‘demo.csv‘ print u‘########

Nginx錯誤nginx: [error] OpenEvent("Global gx_reload_6252") failed (2: The system cannot find the file specified)

導致 microsoft style cif not nginx錯誤 開啟 family mic 執行nginx -s reload命令:   nginx: [error] OpenEvent("Global\ngx_reload_6252") failed (2: The

.NET 通過entity framework報數據庫連接錯誤ORA-01017: invalid username/password; logon denied

ces lse rac string lec oca policy system 得到 如題,答案為:【ORA-01017】.NET程序連接數據庫失敗 轉載文章內容如下: 遇到問題 使用 C#/.NET 開發的一個客戶端程序,需要連接 ORACLE 數據庫,使用 O

報錯log4j:ERROR Category option " 1 " not a decimal integer.

程式碼: package com.zml; import org.apache.log4j.Logger; public class Day01 { private static Logger logger = Logger.getLogger(Day01.class);

tomcat 錯誤Access Error: 404 -- Not Found Cannot locate document: /

原因是8080埠被佔用(可能是其他軟體,比如NI公司軟體,電子專業童鞋一般都裝有這類軟體) 解決方法1: When I had an error Access Error: 404 -- Not Found I fixed it by doing the following: Open

notepad++編輯器寫Java程式碼,無法編譯出現錯誤編碼GBK的不可對映字元

所報錯誤:編碼GBK的不可對映字元 解決方案:  1.英文版notepad++    選單:Configure --> Options --> JDK Tools --> Compiler

.NET WEBAPI 錯誤An error has occurred.

在控制器上新增了一個介面,並在路由器上做了針對Action 的路由之後,發現舊介面突然不能使用,Azure 服務上的錯誤日誌寫的是: Http Action - Response from host 'XXXXXXXXXXX.com.cn': 'InternalServerError'

C錯誤runtime error,返回區域性變數或臨時變數的指標

在codeforce上runtime error runtime error (執行時錯誤)就是程式執行到一半,程式就崩潰了。 比如說: ①除以零 ②陣列越界:int a[3]; a[10000000]=10; ③指標越界:int * p; p=(int *)malloc(5 * si

ubuntu編譯工程出現 fatal error: error writing to /tmp/cc1ezU8m.s: No space left on device

錯誤提示為:tmp路徑下記憶體不足 (fatal error: error writing to /tmp/cc1ezU8m.s: No space left on device) 解決方法:解掛tmp(也有說需要清空該路徑下記憶體和擴大記憶體的:https://www.cfd

報錯log4j:ERROR Category option " 1 " not a decimal integer.

程式碼: package com.zml; import org.apache.log4j.Logger; public class Day01 { private static Logge

tomcat 錯誤Access Error: 404 -- Not Found Cannot locate document: /

原因是8080埠被佔用(可能是其他軟體,比如NI公司軟體,電子專業童鞋一般都裝有這類軟體) 解決方法1: When I had an error Access Error: 404 -- Not Found I fixed it by doing the followin