发新话题
打印

[求助] 请大家帮忙,看看关于qmail打补丁的错误,什么问题

263shanghai

请大家帮忙,看看关于qmail打补丁的错误,什么问题

这个是给qmail打补丁的时候出的错
补丁是qmail-toaster-0.7.2.patch.bz2    再make的时候出的错误,高手帮忙看看什么问题


/home/vpopmail/lib/libvpopmail.a(vpopmail.o)(.text+0x839): In function `mkpasswd3':
/home/pkg/vpopmail-5.2.1/vpopmail.c:417: undefined reference to `crypt'
/home/vpopmail/lib/libvpopmail.a(vpopmail.o)(.text+0x248b): In function `pw_comp':
/home/pkg/vpopmail-5.2.1/vpopmail.c:1625: undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [qmail-smtpd] Error 1
刚才又给他丛打了一次补丁,再运行make后出现了这样的错误

./compile qmail-smtpd.c
qmail-smtpd.c:37:18: spam.h: No such file or directory
qmail-smtpd.c:39:17: spf.h: No such file or directory
qmail-smtpd.c:44:20: qregex.h: No such file or directory
qmail-smtpd.c:70:21: chkuser.h: No such file or directory
qmail-smtpd.c:190: variable `spamt' has initializer but incomplete type
qmail-smtpd.c: In function `setup':
qmail-smtpd.c:236: `SPF_DEFEXP' undeclared (first use in this function)
qmail-smtpd.c:236: (Each undeclared identifier is reported only once
qmail-smtpd.c:236: for each function it appears in.)
qmail-smtpd.c: In function `smtp_ehlo':
qmail-smtpd.c:466: invalid use of undefined type `struct spam_t'
qmail-smtpd.c:466: invalid use of undefined type `struct spam_t'
qmail-smtpd.c: In function `smtp_mail':
qmail-smtpd.c:496: `CHKUSER_OK' undeclared (first use in this function)
qmail-smtpd.c:501: `SPF_OK' undeclared (first use in this function)
qmail-smtpd.c:502: `SPF_NONE' undeclared (first use in this function)
qmail-smtpd.c:503: `SPF_UNKNOWN' undeclared (first use in this function)
qmail-smtpd.c:504: `SPF_NEUTRAL' undeclared (first use in this function)
qmail-smtpd.c:505: `SPF_SOFTFAIL' undeclared (first use in this function)
qmail-smtpd.c:506: `SPF_FAIL' undeclared (first use in this function)
qmail-smtpd.c:507: `SPF_ERROR' undeclared (first use in this function)
qmail-smtpd.c:510: `SPF_NOMEM' undeclared (first use in this function)
qmail-smtpd.c: In function `smtp_rcpt':
qmail-smtpd.c:584: `CHKUSER_KO' undeclared (first use in this function)
qmail-smtpd.c:588: `CHKUSER_RELAYING' undeclared (first use in this function)
qmail-smtpd.c: In function `smtp_data':
qmail-smtpd.c:719: invalid use of undefined type `struct spam_t'
qmail-smtpd.c: In function `main':
qmail-smtpd.c:1222: warning: return type of `main' is not `int'
qmail-smtpd.c: At top level:
qmail-smtpd.c:190: storage size of `spamt' isn't known
make: *** [qmail-smtpd.o] Error 1
解决了,不过为什么没有高手给我看看呢
发新话题
  清除 Cookies - 联系我们 - 邮件技术资讯网 - Archiver - WAP - 繁體中文
当前时区 GMT+8, 现在时间是 2008-8-30 14:10

本论坛为非盈利中立机构,论坛所有言论纯属发表者个人意见,与《 邮件技术资讯网》论坛立场无关。内容所涉及的版权和法律相关事宜请参考各自所有者的条款。
如果认定侵犯了您的权利,请联系我们尽快处理。本论坛原创内容请联系本站后再行转载并务必保留我站信息。此声明修改不再另行通知,本论坛保留最终解释权。
*本论坛QQ群:1#群2233231(已满) 2#群2598254(推荐) 3#群15974064(推荐) 4#群14173252(推荐)*
* 建议使用 1024×768 模式查看本论坛 *
Powered by Discuz! 6.1.0