从ytht上下载的ythtbbs-0.1.tar.bz2
tar xjvf ythtbbs-0.1.tar.bz2后
cd ythtbbs-0.1
./configure #这里应该加什么参数吧
make 出现的错误,
--------------------------------------------------------
./bbstelnet.h:133: 错误:数组元素的类型不完全
./bbstelnet.h:141: 错误:数组元素的类型不完全
./bbstelnet.h:142: 错误:数组元素的类型不完全
./bbstelnet.h:143: 错误:数组元素的类型不完全
./bbstelnet.h:144: 错误:数组元素的类型不完全
./bbstelnet.h:145: 错误:数组元素的类型不完全
bbs.c: 在函数 ‘do_quote’ 中:
bbs.c:1513: 警告:传递参数 1 (属于 ‘void1’) 给指针时目标与指针有/无符号不一致
make[1]: *** [bbs-bbs.o] 错误 1
make[1]: Leaving directory `/root/ythtbbs-0.1/src'
make: *** [all] 错误 2
--------------------------------------------------------
其中类型不完全 在bbstelnet.h里是这有的
133 行extern struct bm currBM[]; /* BM of currently selected board */
141-145行
extern struct commands xyzlist[]; /* These are command lists for all the */
extern struct commands talklist[]; /* sub-menus */
extern struct commands maillist[];
extern struct commands dellist[];
extern struct commands maintlist[];
不知该如何改
--
FROM 218.104.71.*