make找不到linux內核函數,linux內核make menuconfig出錯

今天實驗剛從服務器上遷移過來的維護的linux 9260的內核,使用make menuconfig時出錯,報錯為:

yongtao@yongtao-desktop:~/public/linux_release/linux-2.6.24$ make menuconfig

HOSTCC? scripts/kconfig/conf.o

HOSTCC? scripts/kconfig/kxgettext.o

HOSTCC? scripts/kconfig/lxdialog/checklist.o

在包含自 scripts/kconfig/lxdialog/checklist.c:24 的文件中:

scripts/kconfig/lxdialog/dialog.h:32:20: 錯誤: curses.h:沒有該文件或目錄

In file included from scripts/kconfig/lxdialog/checklist.c:24:

scripts/kconfig/lxdialog/dialog.h:97: 錯誤: expected specifier-qualifier-list before ‘chtype’

scripts/kconfig/lxdialog/dialog.h:187: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/dialog.h:194: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/dialog.h:196: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/dialog.h:197: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/dialog.h:198: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/dialog.h:199: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/dialog.h:201: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/checklist.c:31: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/checklist.c:59: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/checklist.c:95: 錯誤: expected ‘)’ before ‘*’ token

scripts/kconfig/lxdialog/checklist.c: 在函數‘dialog_checklist’中:

scripts/kconfig/lxdialog/checklist.c:116: 錯誤: ‘WINDOW’未聲明 (在此函數內第一 次使用)

scripts/kconfig/lxdialog/checklist.c:116: 錯誤: (即使在一個函數內多次出現,每個未聲明的標識符在其

scripts/kconfig/lxdialog/checklist.c:116: 錯誤: 所在的函數內也只報告一次。)

scripts/kconfig/lxdialog/checklist.c:116: 錯誤: ‘dialog’未聲明 (在此函數內第一 次使用)

scripts/kconfig/lxdialog/checklist.c:116: 錯誤: ‘list’未聲明 (在此函數內第一次 使用)

scripts/kconfig/lxdialog/checklist.c:116: 警告: 逗號表達式的左操作數不起作用

scripts/kconfig/lxdialog/checklist.c:129: 警告: 隱式聲明函數‘getmaxy’

scripts/kconfig/lxdialog/checklist.c:129: 錯誤: ‘stdscr’未聲明 (在此函數內第一 次使用)

scripts/kconfig/lxdialog/checklist.c:130: 錯誤: ‘KEY_MAX’未聲明 (在此函數內第一次使用)

scripts/kconfig/lxdialog/checklist.c:131: 警告: 隱式聲明函數‘getmaxx’

scripts/kconfig/lxdialog/checklist.c:137: 錯誤: ‘COLS’未聲明 (在此函數內第一次 使用)

scripts/kconfig/lxdialog/checklist.c:138: 錯誤: ‘LINES’未聲明 (在此函數內第一次使用)

scripts/kconfig/lxdialog/checklist.c:140: 警告: 隱式聲明函數‘draw_shadow’

scripts/kconfig/lxdialog/checklist.c:142: 警告: 隱式聲明函數‘newwin’

scripts/kconfig/lxdialog/checklist.c:143: 警告: 隱式聲明函數‘keypad’

scripts/kconfig/lxdialog/checklist.c:143: 錯誤: ‘TRUE’未聲明 (在此函數內第一次 使用)

scripts/kconfig/lxdialog/checklist.c:145: 警告: 隱式聲明函數‘draw_box’

scripts/kconfig/lxdialog/checklist.c:146: 錯誤: ‘struct dialog_color’沒有名為‘atr’的成員

scripts/kconfig/lxdialog/checklist.c:146: 錯誤: ‘struct dialog_color’沒有名為‘atr’的成員

scripts/kconfig/lxdialog/checklist.c:147: 警告: 隱式聲明函數‘wattrset’

scripts/kconfig/lxdialog/checklist.c:147: 錯誤: ‘struct dialog_color’沒有名為‘atr’的成員

scripts/kconfig/lxdialog/checklist.c:148: 警告: 隱式聲明函數‘mvwaddch’

scripts/kconfig/lxdialog/checklist.c:150: 警告: 隱式聲明函數‘waddch’

scripts/kconfig/lxdialog/checklist.c:151: 錯誤: ‘struct dialog_color’沒有名為‘atr’的成員

scripts/kconfig/lxdialog/checklist.c:154: 警告: 隱式聲明函數‘print_title’

scripts/kconfig/lxdialog/checklist.c:156: 錯誤: ‘struct dialog_color’沒有名為‘atr’的成員

scripts/kconfig/lxdialog/checklist.c:157: 警告: 隱式聲明函數‘print_autowrap’

scripts/kconfig/lxdialog/checklist.c:164: 警告: 隱式聲明函數‘subwin’

scripts/kconfig/lxdialog/checklist.c:171: 錯誤: ‘struct dialog_color’沒有名為‘atr’的成員

scripts/kconfig/lxdialog/checklist.c:171: 錯誤: ‘struct dialog_color’沒有名為‘atr’的成員

scripts/kconfig/lxdialog/checklist.c:189: 警告: 隱式聲明函數‘print_item’

scripts/kconfig/lxdialog/checklist.c:192: 警告: 隱式聲明函數‘print_arrows’

scripts/kconfig/lxdialog/checklist.c:195: 警告: 隱式聲明函數‘print_buttons’

scripts/kconfig/lxdialog/checklist.c:197: 警告: 隱式聲明函數‘wnoutrefresh’

scripts/kconfig/lxdialog/checklist.c:199: 警告: 隱式聲明函數‘doupdate’

scripts/kconfig/lxdialog/checklist.c:202: 警告: 隱式聲明函數‘wgetch’

scripts/kconfig/lxdialog/checklist.c:210: 錯誤: ‘KEY_UP’未聲明 (在此函數內第一 次使用)

scripts/kconfig/lxdialog/checklist.c:210: 錯誤: ‘KEY_DOWN’未聲明 (在此函數內第 一次使用)

scripts/kconfig/lxdialog/checklist.c:220: 錯誤: ‘FALSE’未聲明 (在此函數內第一次使用)

scripts/kconfig/lxdialog/checklist.c:221: 警告: 隱式聲明函數‘scrollok’

scripts/kconfig/lxdialog/checklist.c:222: 警告: 隱式聲明函數‘wscrl’

scripts/kconfig/lxdialog/checklist.c:232: 警告: 隱式聲明函數‘wrefresh’

scripts/kconfig/lxdialog/checklist.c:293: 警告: 隱式聲明函數‘delwin’

scripts/kconfig/lxdialog/checklist.c:297: 錯誤: ‘KEY_LEFT’未聲明 (在此函數內第 一次使用)

scripts/kconfig/lxdialog/checklist.c:298: 錯誤: ‘KEY_RIGHT’未聲明 (在此函數內第一次使用)

scripts/kconfig/lxdialog/checklist.c:310: 警告: 隱式聲明函數‘on_key_esc’

scripts/kconfig/lxdialog/checklist.c:312: 錯誤: ‘KEY_RESIZE’未聲明 (在此函數內 第一次使用)

make[1]: *** [scripts/kconfig/lxdialog/checklist.o] 錯誤 1

make: *** [menuconfig] 錯誤 2

驚出一身冷汗,這個服務器已經被干掉了,重裝了server 2003的,如果這個有問題,又有一段時間忙活了。后來仔細看了一下錯誤,原來是一個頭文件沒有找到,以前好像遇到過這個問題,是本機的編譯環境有問題,查找了一下以前的筆記,在一張廢紙上找到了兩行:

build-seeential

libncurses5-dev

所以:apt-get install libcurses5-dev 就ok了

make xconfig

該配置方式依賴于qt,所以要安裝qt的包

sudo aptitude install libqt3-headers libqt3-mt-dev libqt3-compat-headers libqt3-mt

make gconfig

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/533825.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/533825.shtml
英文地址,請注明出處:http://en.pswp.cn/news/533825.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

tensorboard ckpt pb 模型的輸出節點_算法工程化系列——模型固化

摘要基于tensorflow訓練的模型一般被保存為ckpt形式的文件,隨著當前深度學習模型網絡越來越大,對應模型也會非常大。當對外提供服務的時候,如果采用ckpt的形式,服務進程被調起來非常困難,且推理服務一般速度也較慢(會達…

深度linux內核升級,深度操作系統 2020.11.11 更新發布:內核升級

原標題:深度操作系統 2020.11.11 更新發布:內核升級IT之家11月11日消息 今日,深度操作系統宣布2020.11.11 更新現已發布。本次更新包括升級內核、Debian 10.6 倉庫以及系統安全性更新。系統安全方面,本次更新修復了 Firefox-ESR 安…

unity 使用mysql實現登錄注冊_用mysql實現登錄注冊功能

1、創建用戶表表結構如下idunameupwdisdelete注意:需要對密碼進行加密。如果使用md5加密,則密碼包含32個字符。如果使用sha1加密,則密碼包含40個字符,這里使用這種方式。md5加密方式:import hashlibpwd 123456my_md5 …

python爬電影_使用Python多線程爬蟲爬取電影天堂資源

最近花些時間學習了一下Python,并寫了一個多線程的爬蟲程序來獲取電影天堂上資源的迅雷下載地址,代碼已經上傳到GitHub上了,需要的同學可以自行下載。剛開始學習python希望可以獲得寶貴的意見。 先來簡單介紹一下,網絡爬蟲的基本實…

打不開磁盤配額linux,九度OJ 1455 珍惜現在,感恩生活 -- 動態規劃(背包問題)...

題目描述:為了挽救災區同胞的生命,心系災區同胞的你準備自己采購一些糧食支援災區,現在假設你一共有資金n元,而市場有m種大米,每種大米都是袋裝產品,其價格不等,并且只能整袋購買。請問&#xf…

erp 維護費 要交嗎_ERP系統維護費

今年8月,SAP中國公司宣布2009年1月1日前將由傳統支持服務轉向企業級支持服務(SAP Enterprise Support)。同時將開始實施漸進式定價方案,并預計在2012年之前,逐漸將所有客戶從現行的SAP Standard/Premium Support的定價協議過渡為SAP Enterpri…

sentinel 端口_Sentinel原理:控制臺是如何獲取到實時數據的

Sentinel 系列教程,現已上傳到 github 和 gitee 中:GitHub:https://github.com/all4you/sentinel-tutorialGitee:https://gitee.com/all_4_you/sentinel-tutorialSentinel 能夠被大家所認可,除了他自身的輕量級&#x…

linux桌面時區設置,如何在Ubuntu 20.04上設置或更改時區

對于許多與系統相關的任務和進程,使用正確的時區至關重要。 例如,cron守護程序使用系統的時區執行cron作業,而日志文件中的時間戳基于系統的同一時區。在Ubuntu上,系統的時區是在安裝過程中設置的,但以后可以輕松更改。…

ironpython2.7.9_IronPython下載

IronPython是一種在 .NET 及 Mono上的 Python 實現,由微軟的 Jim Hugunin所發起,是一個開源的項目,基于微軟的DLR引擎;托管于微軟的開源網站 CodePlex。IronPython 的官方并未實現 Python通用類庫,僅實現了部分核心類。…

python 最小二乘回歸 高斯核_「機器學習」一文讀懂線性回歸、嶺回歸和Lasso回歸...

點擊上方藍色字體,關注AI小白入門喲作者 | 文杰編輯 | yuquanle本文介紹線性回歸模型,從梯度下降和最小二乘的角度來求解線性回歸問題,以概率的方式解釋了線性回歸為什么采用平方損失,然后介紹了線性回歸中常用的兩種范數來解決過…

天宮初級認證答案_跨境電商人才初級認證試題以及答案

跨境電商人才初級認證試題以及答案跨境電商人才初級認證試題一,單選題(共40題,每題1分,共40分)1.在拍攝反光性產品時,就是從哪個角度進行拍攝的A、正面B、側面參考答案:B2.信用證就是一種( )信用A、商業B、銀行C、民間D、企業參考答案:B3、阿里巴巴專業術語中,MA的全…

Linux打包軟件版本帶時間,帶你寫一個 linux 下的打包軟件 tar

相信你對 linux 的 .tar.gz 有點熟悉,這就是先 tar 打包(.tar 后綴),再對此 tar 文件用 gzip 壓縮(.tar.gz)的后綴名。值得注意的是, tar 不是壓縮軟件,它只做把一堆文件/文件夾打包到一個文件(tar 文件)里的事情,而文…

優先隊列默認是小頂堆嗎_一分鐘帶你讀懂什么是堆?

堆其實就是一種特殊的隊列——優先隊列。 普通的隊列游戲規則很簡單:就是先進先出;但這種優先隊列搞特殊,不是按照進隊列的時間順序,而是按照每個元素的優先級來比拼,優先級高的在堆頂。 這也很容易理解吧,…

螺旋測微器b類不確定度_物理實驗直測量不確定度評估.ppt

物理實驗直測量不確定度評估直接測量不確定度評估 Gauss分布 測量列的平均值、標準差 A類不確定度 t分布 B類不確定度 直接測量的合成不確定度 Gauss分布 也稱正態分布。 δ的平均值等于0、方差為σ。 特征: 對稱性——大于平均值與小于平均值的概率相等&#xff1b…

python 執行shell_python執行shell命令的方法

python執行shell命令的方法 os模塊 os.system方式: import os os.system(top) os.system(cat /proc/cpuinfo) 說明 這個調用相當直接,且是同步進行的,程序需要阻塞并等待返回。 返回值是依賴于系統的,直接返回系統的調用返回值&am…

linux下c語言讀取roed文件,如何在Linux系統上安裝Android4.4.docx

Android (x86)項目致力于移植 Android系統到X86處理器上,使用戶可以更容易的在任何電腦上安裝Android。他們通過使用android源碼,增加補丁來使 Android能夠在X86處理器,筆記本電腦和平板 電腦下工作。前一段時間,項目組發布了最新…

微信小程序setinterval_簡單談談setTimeout與setInterval

感謝踩過的坑sf社區的第一篇文章。最近在做一個拍賣的微信小程序,用到了定時器setTimout和setInterval,簡單談談這兩個api。setTimeout最常見的用法就是第二種(第三種mdn文檔不推薦),如:var timeoutId setTimeout(function() {console.log(hello world!…

python 注釋一段話_Python快速入門(一)

引言Python作為一個,目前最火的編程語言之一,已經滲透到了各行各業。它易學好懂,擁有著豐富的庫,功能齊全。人生苦短,就用Python。這個快速入門系列分為六篇,包含了Python大部分基礎知識,每篇閱…

linux ibus獲取窗體位置,Ubuntu 12.04 顯示ibus 的輸入框

在虛擬機中安裝了Ubuntu 12.04,系統是英文版本的,我能接受,但是苦于沒有中文輸入法。起先,我是安裝SCIM,結果我折騰了半天,發現其只能在lib-office下使用。firefox,文字編輯器中都不能調出SCIM。無奈將其卸…

transporter上傳卡正在交付_【iOS】Xcode11使用Transporter將APP上傳到App Store,卡在正在驗證APP...

問題:在使用Transporter時,會卡主,一直顯示正在驗證APP在這里插入圖片描述解決方案一:利用V-P-N在這里插入圖片描述使用安全上網(V-P-N),雙擊打開iTMSTransporter,等待幾分鐘lichuangMacBook-Pro-3 ~ % /Ap…