免费注册 查看新帖 |

Chinaunix

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

无法成功编译tfn2k,请指教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-11-10 08:54 |只看该作者 |倒序浏览
我在Red Hat8上安装tfn2k,解压缩完后,进入/tfn2k/src目录,执行make命令,但是在编译过程的最后出现了提示
gcc -Wall -O3   -c -o flood.o flood.c
In file included from tribe.h:44,
                 from flood.c:14:
ip.h:125: redefinition of `struct in_addr'
In file included from tribe.h:46,
                 from flood.c:14:
config.h:23:18: warning: extra tokens at end of #undef directive
make: *** [flood.o] Error 1
我在网上查了一下,可能是gcc的版本大于2.9的缘故,我查了一下我机器的gcc版本
[root@jnenus src]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7).
哪位高手成功编译过tfn2k,关于这个问题是否能给一些指点。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP