fc4下安装firebird BBS,编译时无法通过.
== Making main program and relatve src ==
--> lib
make[1]: Entering directory `/home/bbs/bbssrc/lib'
rm -rf *.a
--> lib/libBBS
make[2]: Entering directory `/home/bbs/bbssrc/lib/libBBS'
gcc -s -Wunused -I../include -Wunused -c dlm.c
In file included from dlm.c:6:
/usr/lib/gcc/i386-redhat-linux/4.0.0/include/varargs.h:4:2: error: #error "GCC n o longer implements <varargs.h>."
/usr/lib/gcc/i386-redhat-linux/4.0.0/include/varargs.h:5:2: error: #error "Revis e your code to use <stdarg.h>."
dlm.c: 在函数 ‘DL_get’ 中:
dlm.c:26: 警告:内建函数 ‘strchr’ 不兼容的隐式声明
dlm.c:31: 警告:内建函数 ‘strcpy’ 不兼容的隐式声明
make[2]: *** [dlm.o] 错误 1
make[2]: Leaving directory `/home/bbs/bbssrc/lib/libBBS'
<-- lib/libBBS
make[1]: Leaving directory `/home/bbs/bbssrc/lib'
<-- lib
--> src
make[1]: Entering directory `/home/bbs/bbssrc/src'
echo "Generate version info.."
Generate version info..
sh ver.sh ../include/version.h
gcc -Wunused -I../include -DSHOW_IDLE_TIME -DWITHOUT_CHROOT -D_Linux_ -DHAVE_VER SION_H -c admintool.c
In file included from admintool.c:34:
../include/bbs.h:262: 错误:数组元素的类型不完全
../include/bbs.h:266: 错误:数组元素的类型不完全
../include/bbs.h:267: 错误:数组元素的类型不完全
../include/bbs.h:268: 错误:数组元素的类型不完全
../include/bbs.h:269: 错误:数组元素的类型不完全
../include/bbs.h:270: 错误:数组元素的类型不完全
make[1]: *** [admintool.o] 错误 1
make[1]: Leaving directory `/home/bbs/bbssrc/src'
<-- src
echo "done."
done.