timzwz 发表于 2005-9-20 22:24:25

安装软件,为什么会出错

安装linuxdown出现一下错误:
yepdepowerbook-g4-17:~/desktop/linuxdown Yep$ make
gcc -lpthread   -c -o GenFunc.o GenFunc.c
GenFunc.c:126: error: static declaration of 'hash' follows non-static declaration
GenFunc.h:82: error: previous declaration of 'hash' was here
GenFunc.c:297: error: static declaration of 'call_hash' follows non-static declaration
GenFunc.h:83: error: previous declaration of 'call_hash' was here
GenFunc.c: In function 'call_hash':
GenFunc.c:326: warning: incompatible implicit declaration of built-in function 'memcpy'
GenFunc.c:343: warning: incompatible implicit declaration of built-in function 'memcpy'
GenFunc.c: At top level:
GenFunc.c:345: error: static declaration of 'calc_response' follows non-static declaration
GenFunc.h:84: error: previous declaration of 'calc_response' was here
GenFunc.c: In function 'calc_response':
GenFunc.c:351: warning: incompatible implicit declaration of built-in function 'memset'
GenFunc.c:354: warning: incompatible implicit declaration of built-in function 'memcpy'
GenFunc.c: In function 'real_calc_response_and_checksum':
GenFunc.c:412: warning: incompatible implicit declaration of built-in function 'memset'
GenFunc.c:426: warning: incompatible implicit declaration of built-in function 'strlen'
GenFunc.c:436: warning: incompatible implicit declaration of built-in function 'memcpy'
GenFunc.c:441: warning: incompatible implicit declaration of built-in function 'strlen'
GenFunc.c:441: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
GenFunc.c:453: warning: incompatible implicit declaration of built-in function 'strlen'
GenFunc.c:454: warning: incompatible implicit declaration of built-in function 'strcpy'
GenFunc.c: In function 'ConnectHttp':
GenFunc.c:500: warning: incompatible implicit declaration of built-in function 'bzero'
make: *** Error 1
怎么解决?,谢谢

fox_eagle2003 发表于 2005-9-20 22:39:11

./configure
真的通过了吗?
看了安装指南,确认你的系统能安装吗?依赖的软件都安装上了吗?

timzwz 发表于 2005-9-20 22:58:57

出现一下错误:
yepdepowerbook-g4-17:~/desktop/linuxdown Yep$ ./configure
-bash: ./configure: No such file or directory
yepdepowerbook-g4-17:~/desktop/linuxdown Yep$
斑竹,应该装些什么依赖的软件?我的是苹果机,麻烦您老人家指点我,谢谢

fox_eagle2003 发表于 2005-9-20 23:06:46

苹果机?
那你所下的软件说了支持苹果机吗?
还有
看过readme,install一类的安装说明文档吗?
看看它们,你就知道应该怎么安装了 :-)
难点,但是必要的

timzwz 发表于 2005-9-20 23:34:02

我看了安装说明文档了,他就是叫我make,可是我make就出现以上错误,谁能帮帮我啊

fox_eagle2003 发表于 2005-9-21 14:13:22

:-( 没有PPC,帮不了你了
页: [1]
查看完整版本: 安装软件,为什么会出错