contrib/build_RH9.sh出错信息如下
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DLINUX -I/usr/include/mysql -I/usr/local/include -MT f_cat.lo -MD -MP -MF .deps/f_cat.Tpo -c f_cat.c -fPIC -DPIC -o .libs/f_cat.o
In file included from ../src/bbs.h:322,
from ../src/system.h:3,
from f_cat.c:2:
../src/struct.h:179: error: field `origin' has incomplete type
../src/struct.h:180: error: field `lastreply' has incomplete type
../src/struct.h:208: error: field `topfh' has incomplete type
In file included from ../src/bbs.h:636,
from ../src/system.h:3,
from f_cat.c:2:
../src/func.h:389: error: syntax error before "fileheader_t"
../src/func.h:390: error: syntax error before '*' token
../src/func.h:414: error: syntax error before "fileheader_t"
../src/func.h:416: error: syntax error before "fileheader_t"
../src/func.h:417: error: syntax error before "fileheader_t"
make[2]: *** [f_cat.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
【 在 laishoulin (李大嘴) 的大作中提到: 】
: 解压缩 snapshot包后,运行contrib/build_RH9.sh当然报错
: 因为site目录下没有对应的$BBSSITE.c和$BBSSITE.h文件。
: 问题就来了
: ...................
--
FROM 222.28.46.*