免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1315 | 回复: 1
打印 上一主题 下一主题

Life with qmail在ubuntu上安装的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-26 12:55 |只看该作者 |倒序浏览
我在ubuntu上按照Life with qmail安装qmail,在make netqmail-1.05的时候就报
./compile qmail-local.c
qmail-local.c:1:23: error: sys/types.h: No such file or directory
qmail-local.c:2:22: error: sys/stat.h: No such file or directory
In file included from qmail-local.c:19:
error.h:4:19: error: errno.h: No such file or directory
qmail-local.c: In function 'temp_fork':
qmail-local.c:37: error: 'errno' undeclared (first use in this function)
qmail-local.c:37: error: (Each undeclared identifier is reported only once
qmail-local.c:37: error: for each function it appears in.)
qmail-local.c: In function 'temp_read':
qmail-local.c:38: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'temp_qmail':
qmail-local.c:42: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'maildir_child':
qmail-local.c:85: error: storage size of 'st' isn't known
qmail-local.c:91: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'mailfile':
qmail-local.c:183: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'mailprogram':
qmail-local.c:247: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'checkhome':
qmail-local.c:313: error: storage size of 'st' isn't known
qmail-local.c:316: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'qmeox':
qmail-local.c:329: error: storage size of 'st' isn't known
qmail-local.c:338: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'qmeexists':
qmail-local.c:348: error: storage size of 'st' isn't known
qmail-local.c:354: error: 'errno' undeclared (first use in this function)
qmail-local.c:361: error: 'S_IFMT' undeclared (first use in this function)
qmail-local.c:361: error: 'S_IFREG' undeclared (first use in this function)
qmail-local.c: In function 'main':
qmail-local.c:491: error: 'errno' undeclared (first use in this function)
qmail-local.c:450: warning: return type of 'main' is not 'int'
make: *** [qmail-local.o] Error 1

这些错误,gcc和cc都是没有问题的,是不是ubuntu上不行啊?

论坛徽章:
0
2 [报告]
发表于 2006-10-26 21:21 |只看该作者
是我gcc的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP