我下载了FireBird3.3W(030107)这个版本的源代码,把它解压缩到我的
E:\zhengwei\text\source\vc\fbbs这个目录下.
按照readme的提示,cd /home/bbs/bbssrc/src(readme里面是/home/bbs/bbs_src/src,
这个好像与实际的路径不符.这是怎么回事?)然后我使用make进行编译.结果报错如下:
gcc -s -O2 -I../include -DSHOW_IDLE_TIME -DWITHOUT_CHROOT -c bbs.c
In file included from ../include/bbs.h:60,
from bbs.c:30:
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/varargs.h:4:2: #error "GCC no long
er implements <varargs.h>."
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/varargs.h:5:2: #error "Revise your
code to use <stdarg.h>."
In file included from ../include/bbs.h:87,
from bbs.c:30:
../include/functions.h:20:7: warning: no newline at end of file
In file included from bbs.c:30:
../include/bbs.h:121:1: warning: "MAX" redefined
In file included from ../include/bbs.h:59,
from bbs.c:30:
/usr/include/sys/param.h:77:1: warning: this is the location of the previous def
inition
In file included from ../include/bbs.h:225,
from bbs.c:30:
../include/modes.h:86:27: warning: no newline at end of file
In file included from bbs.c:31:
../include/flock.h:4:7: warning: no newline at end of file
bbs.c:3165:2: warning: no newline at end of file
make: *** [bbs.o] Error 1
我可以保证我的gcc和cygwin都是最新的.请问这是怎么回事啊????
--
修改:LoveHeaven FROM 202.38.85.*
FROM 202.38.85.*