LinuxDev 板


LINE

請問一下我在configure過程中,有些訊息的輸出是說 no 那我是該設法把他變成yes嗎 還有最底下有我的 config.log 檔 也是出現了一些錯誤的訊息 但是在configure完畢後,它還是產生了Makefile 那我還該將config.log檔所產生的錯誤的debug完在重新configure 產生一份沒有錯誤的Makefile來make 還是它產生了Makefile我就可以安裝了呢 底下是我的configure過程,以及最後我有貼上config.log debian:~/work/build/build_binutils# /root/work/src/binutils-2.16.1/configure \ --target=arm-elf --prefix=/foo loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... arm-unknown-elf checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether ln works... (cached) yes checking whether ln -s works... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gnatbind... no checking whether compiler driver understands Ada... (cached) no checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2 checking for correct version of gmp.h... no checking for bison... (cached) bison checking for bison... (cached) bison -y checking for gm4... (cached) m4 checking for flex... (cached) flex checking for flex... (cached) flex checking for makeinfo... (cached) makeinfo checking for i686-pc-linux-gnu-ar... no checking for ar... (cached) ar checking for i686-pc-linux-gnu-as... no checking for as... (cached) as checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... (cached) dlltool checking for i686-pc-linux-gnu-ld... no checking for ld... (cached) ld checking for i686-pc-linux-gnu-nm... no checking for nm... (cached) nm checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... (cached) ranlib checking for i686-pc-linux-gnu-windres... no checking for windres... (cached) windres checking for i686-pc-linux-gnu-objcopy... no checking for objcopy... (cached) objcopy checking for i686-pc-linux-gnu-objdump... no checking for objdump... (cached) objdump checking for arm-elf-ar... no checking for arm-elf-as... no checking for arm-elf-dlltool... no checking for arm-elf-ld... no checking for arm-elf-nm... no checking for arm-elf-ranlib... no checking for arm-elf-windres... no checking whether to enable maintainer-specific portions of Makefiles... no checking if symbolic links between directories work... (cached) yes creating ./config.status creating Makefile ----------------------- 底下是 config.log 檔 ----------------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:595: checking host system type configure:616: checking target system type configure:634: checking build system type configure:689: checking for a BSD compatible install configure:742: checking whether ln works configure:766: checking whether ln -s works configure:1809: checking for gcc configure:1922: checking whether the C compiler (gcc ) works configure:1938: gcc -o conftest conftest.c 1>&5 configure:1964: checking whether the C compiler (gcc ) is a cross-compiler configure:1969: checking whether we are using GNU C configure:1997: checking whether gcc accepts -g configure:2064: checking for gnatbind configure:2129: checking whether compiler driver understands Ada configure:2162: checking how to compare bootstrapped objects configure:2260: checking for correct version of gmp.h configure:2273: gcc -c -g -O2 conftest.c 1>&5 configure:2263:17: gmp.h: No such file or directory configure: In function `main': configure:2267: error: `choke' undeclared (first use in this function) configure:2267: error: (Each undeclared identifier is reported only once configure:2267: error: for each function it appears in.) configure:2267: error: syntax error before "me" configure: failed program was: #line 2262 "configure" #include "confdefs.h" #include "gmp.h" int main() { #if __GNU_MP_VERSION < 3 choke me #endif ; return 0; } configure:2786: checking for bison configure:2821: checking for bison configure:2856: checking for gm4 configure:2891: checking for flex configure:2926: checking for flex configure:2961: checking for makeinfo configure:3607: checking for i686-pc-linux-gnu-ar configure:3640: checking for ar configure:3679: checking for i686-pc-linux-gnu-as configure:3712: checking for as configure:3751: checking for i686-pc-linux-gnu-dlltool configure:3784: checking for dlltool configure:3823: checking for i686-pc-linux-gnu-ld configure:3856: checking for ld configure:3895: checking for i686-pc-linux-gnu-nm configure:3928: checking for nm configure:3967: checking for i686-pc-linux-gnu-ranlib configure:4000: checking for ranlib configure:4039: checking for i686-pc-linux-gnu-windres configure:4072: checking for windres configure:4111: checking for i686-pc-linux-gnu-objcopy configure:4144: checking for objcopy configure:4183: checking for i686-pc-linux-gnu-objdump configure:4216: checking for objdump configure:4262: checking for arm-elf-ar configure:4334: checking for arm-elf-as configure:4406: checking for arm-elf-dlltool configure:4478: checking for arm-elf-ld configure:4550: checking for arm-elf-nm configure:4622: checking for arm-elf-ranlib configure:4694: checking for arm-elf-windres configure:4812: checking whether to enable maintainer-specific portions of Makefiles configure:4859: checking if symbolic links between directories work --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.104.117.142
1F:→ bullfrogtwn:印象中有 build-root 這一套可以編 cross-compiler 04/02 01:21
2F:→ bullfrogtwn:要查configure的選項試看看 configure --help 04/02 01:22
3F:推 elpam:http://www.linuxfromscratch.org/lfs/ 讀完這一個 04/02 10:50
4F:→ elpam:或者使用這一個 http://kegel.com/crosstool/ 04/02 10:51
5F:推 zxvc:推lfs。 04/03 13:01
6F:推 tseng1129:推 crosstool 04/03 13:30
7F:推 elpam:兩個都推啊 ^^" 不看LFS怎麼看的懂crosstool 04/04 03:02







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:BuyTogether站內搜尋

TOP