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灯, 水草

请输入看板名称,例如:Gossiping站内搜寻

TOP