- 论坛徽章:
- 0
|
我在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,关于这个问题是否能给一些指点。 |
|