- 主题:在freebsd上编译错误
请问问题出在哪里
newread.c: In function `apply_thread':
newread.c:1072: syntax error before `needmove'
newread.c:1078: `needmove' undeclared (first use in this function)
newread.c:1078: (Each undeclared identifier is reported only once
newread.c:1078: for each function it appears in.)
*** Error code 1
Stop in /data/src/kbsbbs-2.0dev/src.
*** Error code 1
Stop in /data/src/kbsbbs-2.0dev.
*** Error code 1
Stop in /data/src/kbsbbs-2.0dev.
bbs#
--
FROM 211.151.90.*
查了一下,问题出在没有定义bool类型
也就是HAVE_BOOL, 但是在站点制定文件里一个define也没有作用.
另外kbs_config.h是做什么的?
【 在 bugbug (每天爱你多一点) 的大作中提到: 】
: 请问问题出在哪里
: newread.c: In function `apply_thread':
: newread.c:1072: syntax error before `needmove'
: ...................
--
FROM 211.151.90.*
果然!!
%gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~是挺old的.
【 在 atppp (Big Mouse) 的大作中提到: 】
: 你把出错的那句话往前移一行就是了,编译器toooooooold了
--
FROM 211.151.90.*