UBUNTU安装simplescalar中binutils2.5.2遇到问题!!!!!!!!!

编译安装或者制作Deb包
回复
wg19850908
帖子: 5
注册时间: 2008-10-22 0:40
送出感谢: 0
接收感谢: 0

UBUNTU安装simplescalar中binutils2.5.2遇到问题!!!!!!!!!

#1

帖子 wg19850908 » 2008-12-31 16:03

按标准格式先./configure --host=i486-linux-gnu --target=sslittle-na-sstrix --with-gnu-as --with-gnu-ls --prefix=/root/simplescalar ,再make时出现如下错误:
messages.c: In function ‘as_perror’:
messages.c:160: error: ‘errno’ undeclared (first use in this function)
messages.c:160: error: (Each undeclared identifier is reported only once
messages.c:160: error: for each function it appears in.)
messages.c: In function ‘as_fatal’:
messages.c:432: warning: incompatible implicit declaration of built-in function ‘exit’
messages.c: In function ‘fprint_value’:
messages.c:470: warning: incompatible implicit declaration of built-in function ‘abort’
messages.c: In function ‘sprint_value’:
messages.c:490: warning: incompatible implicit declaration of built-in function ‘abort’
make[1]: *** [messages.o] Error 1
make[1]: Leaving directory `/root/simplescalar/binutils-2.5.2/gas'
make: *** [all-gas] Error 2
有没有哪位老大知道如何解决的?还望不吝指教。
回复

回到 “编译或打包”