Chinaunix首页 | 论坛 | 博客
  • 博客访问: 452465
  • 博文数量: 104
  • 博客积分: 3016
  • 博客等级: 中校
  • 技术积分: 1992
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-24 11:37
文章分类

全部博文(104)

文章存档

2009年(44)

2008年(60)

我的朋友

分类: LINUX

2008-03-17 01:05:23

make[3]: Entering directory `/tmp/courier-imap-4.1.3/imap'
Compiling imaplogin.c
imaplogin.c:35:25: courierauth.h: 没有那个文件或目录
imaplogin.c:36:30: courierauthdebug.h: 没有那个文件或目录
imaplogin.c:161: warning: "struct authinfo" declared inside parameter list
imaplogin.c:161: warning: its scope is only this definition or declaration, which is probably not what you want
imaplogin.c: In function `login_callback':
imaplogin.c:171: error: dereferencing pointer to incomplete type
imaplogin.c:172: warning: implicit declaration of function `auth_getoption'
imaplogin.c:172: error: dereferencing pointer to incomplete type
imaplogin.c:173: warning: assignment makes pointer from integer without a cast
imaplogin.c:177: error: dereferencing pointer to incomplete type
imaplogin.c:182: error: dereferencing pointer to incomplete type
imaplogin.c:186: error: dereferencing pointer to incomplete type
imaplogin.c:201: error: dereferencing pointer to incomplete type
imaplogin.c:202: error: dereferencing pointer to incomplete type
imaplogin.c:225: warning: implicit declaration of function `auth_callback_default'
imaplogin.c:229: error: dereferencing pointer to incomplete type
imaplogin.c:230: error: dereferencing pointer to incomplete type
imaplogin.c:235: error: dereferencing pointer to incomplete type
imaplogin.c:235: error: dereferencing pointer to incomplete type
imaplogin.c:245: error: dereferencing pointer to incomplete type
imaplogin.c:249: error: dereferencing pointer to incomplete type
imaplogin.c:253: error: dereferencing pointer to incomplete type
imaplogin.c:254: error: dereferencing pointer to incomplete type
imaplogin.c: In function `do_imap_command':
imaplogin.c:283: warning: implicit declaration of function `courier_authdebug_login'
imaplogin.c:377: warning: implicit declaration of function `auth_login'
imaplogin.c:378: warning: implicit declaration of function `courier_safe_printf'
imaplogin.c: In function `main':
imaplogin.c:456: warning: implicit declaration of function `courier_authdebug_login_init'
imaplogin.c: In function `login_imap':
imaplogin.c:601: warning: implicit declaration of function `DPRINTF'
make[3]: *** [imaplogin.o] 错误 1
make[3]: Leaving directory `/tmp/courier-imap-4.1.3/imap'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/tmp/courier-imap-4.1.3/imap'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/tmp/courier-imap-4.1.3'
make: *** [all] 错误 2
[root@xxt401 courier-imap-4.1.3]#

make courier-imap-4.1.3时出现以上错误,参考了这篇文章:
http://blog.chinaunix.net/opera/showart.php?blogid=12199&id=63734
文章作者所用操作戏台是debian,我用的是RHEL AS 4.0

根据实际 , 修改/tmp/courier-imap-4.1.3/imap下的Makefile
CFLAGS = -I.. -I./.. -Wall -g -O2
修改为
CFLAGS = -I/usr/local/courier-authlib/include -I.. -I./.. -Wall -g -O2

这样就可以make通过了
阅读(1110) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~