PCIMEN BASE沒有宣告

2021-06-21 10:10:11 字數 844 閱讀 9404

在編譯核心的過程中出現了如下的編譯顯示**:

drivers/video/console/vgacon.c: in function 'vgacon_startup':

drivers/video/console/vgacon.c:510: error: 'pcimem_base' undeclared (first use in this function)

drivers/video/console/vgacon.c:510: error: (each undeclared identifier is reported only once

drivers/video/console/vgacon.c: in function 'vgacon_do_font_op':

drivers/video/console/vgacon.c:1068: error: 'pcimem_base' undeclared (first use in this function)

make[3]: *** [drivers/video/console/vgacon.o] error 1

make[2]: *** [drivers/video/console] error 2

make[1]: *** [drivers/video] error 2

make: *** [drivers] error 2

說明:配置單中對於控制台的配置有誤,新增了多餘的配置導致的。

解決方法:通過make menuconfig 進入配置介面,在device drivers->graphics support->console display driver support中去掉vga text console,儲存設定後再編譯就可以了

strcpy沒有宣告 c 標頭檔案詳解

2010 10 23 12 19 4971人閱讀 收藏舉報 c string iostream cmath.h語言 協議分發程式程式在公司機器上編譯執行良好,而我在我的虛擬機器上編譯,卻出下如下錯誤 msg.cpp 3101 error strcpy was not declared in this...

電腦分屏沒有聲音 常見的幾種處理電腦沒有聲音方案

音效卡故障現象 重新安裝作業系統和音效卡的驅動程式後,發現計算機無法發出聲音。問題原因 根據故障現象的分析,該故障可能是音效卡問題引起的。主要原因可能是音效卡驅動程式安裝有問題,音效卡與主機板不相容,音效卡已損壞,揚聲器未與音效卡連線以及揚聲器有問題。修復方法 要解決這種故障,應首先檢查音效卡驅動程...

for迴圈體條件裡面的變數沒有宣告型別的悲劇

今天書寫乙個關於簡單的多執行緒的問題,在覆寫其run 方法的時候,功能就是簡單的迴圈輸出0 9十個數字。我的 是這樣寫的。class mythread extends thread public void run public class threaddemo01 在執行編譯的時候一直出現 找不到符...