免费注册 查看新帖 |

Chinaunix

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

[Mail] redhat9下编译问题! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-07 15:16 |只看该作者 |倒序浏览
在redhat 9下编译 c-client.tar.gz 时,报错,请指教!
cc -g -fno-omit-frame-pointer -O6 -DNFSKLUDGE  `cat OSCFLAGS` -c osdep.c
In file included from osdep.c:56:
env_unix.c: In function `do_date':
env_unix.c:307: warning: initialization makes pointer from integer without a cast
env_unix.c:308: dereferencing pointer to incomplete type
env_unix.c:308: dereferencing pointer to incomplete type
env_unix.c:309: dereferencing pointer to incomplete type
env_unix.c:310: warning: assignment makes pointer from integer without a cast
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:320: dereferencing pointer to incomplete type
env_unix.c:323: dereferencing pointer to incomplete type
env_unix.c:327: dereferencing pointer to incomplete type
env_unix.c:327: dereferencing pointer to incomplete type
env_unix.c:327: dereferencing pointer to incomplete type
env_unix.c:328: dereferencing pointer to incomplete type
env_unix.c:328: dereferencing pointer to incomplete type
env_unix.c:328: dereferencing pointer to incomplete type
In file included from osdep.c:60:
tz_sv4.c: In function `rfc822_timezone':
tz_sv4.c:45: `tzname' undeclared (first use in this function)
tz_sv4.c:45: (Each undeclared identifier is reported only once
tz_sv4.c:45: for each function it appears in.)
tz_sv4.c:45: `daylight' undeclared (first use in this function)
tz_sv4.c:45: dereferencing pointer to incomplete type
make[3]: *** [osdep.o] Error 1
make[3]: Leaving directory `/root/imap-4.7/c-client'
make[2]: *** [lnp] Error 2
make[2]: Leaving directory `/root/imap-4.7/c-client'
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory `/root/imap-4.7'
make: *** [lnp] Error 2

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2003-06-07 19:00 |只看该作者

redhat9下编译问题!

glibc-devel软件包装了吧?

另外make的时候指定os类型。

我一般用make lrh

论坛徽章:
0
3 [报告]
发表于 2003-06-08 17:29 |只看该作者

redhat9下编译问题!

make lrh 没问题,但make lnp就出问题了!glibc-devel 装了!

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
4 [报告]
发表于 2003-06-08 22:53 |只看该作者

redhat9下编译问题!

那你就用make lrh装看看
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP