谢谢atppp的帮助
在
==============================================================================
RCS file: /home/cvs/kbs_bbs/src/struct.h,v
rcsdiff: /home/cvs/kbs_bbs/src/struct.h,v: warning: Unknown phrases like `delta
ype ...;' are present.
retrieving revision 3.113
retrieving revision 3.114
diff -u -r3.113 -r3.114
--- kbs_bbs/src/struct.h 2005/08/07 20:12:21 3.113
+++ kbs_bbs/src/struct.h 2005/09/05 00:51:23 3.114
@@ -37,8 +37,8 @@
/* 生日数据转移到 userdata 结构中 */
unsigned int usedspace; /* used space of user's mailbox, in bytes */
#ifdef HAVE_USERMONEY
- int unused2;
- int unused3;
+ int money;
+ int score;
#ifdef ZIXIA
int altar;
char unused[16];
==============================================================================
似乎解决了前面一个错误
下面又出现一个错误
===============================================================================
[Compiling cernet.c]
cernet.c:13: conflicting types for `permstrings'
../src/default.h:590: previous declaration of `permstrings'
cernet.c:49: conflicting types for `user_definestr'
../src/default.h:593: previous declaration of `user_definestr'
cernet.c:85: conflicting types for `explain'
../src/default.h:592: previous declaration of `explain'
cernet.c:103: conflicting types for `groups'
../src/default.h:591: previous declaration of `groups'
cernet.c:134: conflicting types for `mailbox_prop_str'
../src/default.h:604: previous declaration of `mailbox_prop_str'
cernet.c: In function `multilogin_user':
cernet.c:478: `fromhost' undeclared (first use in this function)
cernet.c:478: (Each undeclared identifier is reported only once
cernet.c:478: for each function it appears in.)
cernet.c: In function `auto_register':
cernet.c:874: too few arguments to function `post_file'
/usr/include/bits/socket.h: At top level:
cernet.c:13: warning: array `permstrings' assumed to have one element
cernet.c:103: warning: array `groups' assumed to have one element
cernet.c:85: warning: array `explain' assumed to have one element
cernet.c:49: warning: array `user_definestr' assumed to have one element
cernet.c:134: warning: array `mailbox_prop_str' assumed to have one element
make[3]: *** [cernet.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
===============================================================================
系统是RH9,所有包都是RH9上面的rpm安装
包括INSTALL.redhat上面没有提及使用RH9附带rpm安装的
autoconf-2.57 必须
automake-1.6.X 必须
libtool-1.4.X 必须
使用 contrib/build-RH9.sh编译
使用fb2k-v2站点定义
唯一的额外处理是在fb2k-v2.h加了一句
#define FREE 1
谢谢 :)
【 在 blkf (冰凉咖啡) 的大作中提到: 】
: 在fb2k.v2.h中加define FREE编译出错
: 结构没定义 ~~~>.<~~~~
: [Compiling talk.c]
: ...................
--
FROM 61.129.42.*