当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 使用make命令时出错
帖子发表于 : 2009-03-20 14:07 

注册: 2009-03-11 9:18
帖子: 15
送出感谢: 0 次
接收感谢: 0 次
各位前辈,请教下,我用make命令时,出现下列错误,请问是啥状况
ypsjd@ypsjd:~/文档/wifi/madwifi-0.9.4$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/ypsjd/文档/wifi/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
HOSTCC /home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c: At top level:
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c: In function 'main':
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal/uudecode] Error 1
make[2]: *** [/home/ypsjd/文档/wifi/madwifi-0.9.4/ath_hal] Error 2
make[1]: *** [_module_/home/ypsjd/文档/wifi/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [modules] 错误 2
ypsjd@ypsjd:~/文档/wifi/madwifi-0.9.4$


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 使用make命令时出错
帖子发表于 : 2009-03-20 16:55 

注册: 2008-04-03 20:48
帖子: 5
送出感谢: 0 次
接收感谢: 0 次
我和你一样,我也是装无线网卡驱动make的时候过不去了!


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 使用make命令时出错
帖子发表于 : 2009-03-20 17:15 

注册: 2006-11-27 12:25
帖子: 458
送出感谢: 0 次
接收感谢: 0 次
没有装开发包,先试一下将libc6-dev装起来:sudo apt-get install libc6-dev
可能还会少其他的开发包,如果有问题就一个一个地装上去吧。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译