- 主题:site定义里面
default,devel,fb2k-v2三者有什么区别
如果已经启用了fb2k-v2,如何define FREE
哪儿有define FREE,define zixie和difine NINE_BUILD的一些区别和特性说明?
--
FROM 61.129.42.*
嗯..大致的区别我看了一下
FREE开启了一些很好玩的代码
小站应该比较喜欢
hehe
define FREE是在在fb2k-v2.h里面么?
【 在 cnbird (阿七) 的大作中提到: 】
: 再define就可以了
: define了什么有什么区别,可以在代码里查找这些,比如FREE
--
FROM 61.129.42.*
哦..是site定义文件么?
在哪儿有?
【 在 zls0424 (BBS安装管理) 的大作中提到: 】
: 有单独的 free.h,呵呵
--
FROM 61.129.42.*
哦..拿到了
对照了几个site定义文件
结构都差不多
如果换一个site定义文件
可以指定后,直接make &&make update么?
如果在使用fb2k-v2的前提下
可以在fb2k-v.h里面直接define FREE 1启用FREE的设定
然后make &&make update么?
这些定义不会冲突吧
(我只是随便看看,有几个地方代码已经处理好了FREE和NINE的重复定义问题了)
谢谢 :P
【 在 atppp (Big Mouse) 的大作中提到: 】
: cvs下,没放进snapshot
--
修改:blkf FROM 61.129.42.*
FROM 61.129.42.*
谢谢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.*
好吧..我犯了一个很猪头的错误
cvs下来的site放在src/里面
然后都移动到site/了
可是cernet.c和cernet.h漏了 ~~~~>.<~~~~
现在编译不知道在ssh部分还是innbbsd出了错误
反正现在ssh和转信都不用
全部disable了....编译pass
新的问题是...没有make update么?.... :(
【 在 atppp (Big Mouse) 的大作中提到: 】
: cernet.c在哪?
--
FROM 61.129.42.*
o ...对的
进去看到了一个空link :P
谢谢
BBS在跑,这边编译好了
make install还是make install-exec
看了一下Makefile
没有update :(
【 在 atppp (Big Mouse) 的大作中提到: 】
: 你需要把sshbbsd/下面那个多余的cernet.c的符号连接删掉
--
FROM 61.129.42.*
在不停BBS的情况下替换掉正在运行的bbsd等执行文件
让下一个登陆者使用新的bbsd等文件
FB2KYTHT都有make update的...
【 在 atppp (Big Mouse) 的大作中提到: 】
: make update是干嘛的?你想干啥?
--
FROM 61.129.42.*
kissu.c是什么文件?
里面的结构很像一个site定义文件的.c文件
我在fb2k-v2.h加上FREE的define后编译成功
但是miscd起不来,出错
因为站点现在要用,就去掉了FREE的define重编译,还是卡在ssh上面
错误下附
kissu.c的站点分区结构和fb2k-v2.c不同是不是错误的原因?
谢谢
[附]:
Making all in sshbbsd
[Compiling sshd.c]
[Compiling auth-passwd.c]
[Compiling log-server.c]
[Compiling canohost.c]
[Compiling servconf.c]
[Compiling tildexpand.c]
[Compiling serverloop.c]
[Compiling rsa.c]
[Compiling randoms.c]
[Compiling buffer.c]
[Compiling emulate.c]
[Compiling packet.c]
[Compiling compress.c]
[Compiling xmalloc.c]
[Compiling bufaux.c]
[Compiling authfile.c]
[Compiling crc32.c]
[Compiling rsaglue.c]
[Compiling cipher.c]
[Compiling des.c]
[Compiling match.c]
[Compiling mpaux.c]
[Compiling userfile.c]
[Compiling signals.c]
[Compiling blowfish.c]
[Compiling deattack.c]
[Compiling addr_manage.c]
[Compiling announce.c]
[Compiling article.c]
[Compiling bbs.c]
[Compiling bbs_sendmail.c]
[Compiling bbsd_single.c]
[Compiling bcache.c]
[Compiling bm.c]
[Compiling boards.c]
[Compiling boards_t.c]
[Compiling calltime.c]
[Compiling chat.c]
[Compiling comm_lists.c]
[Compiling convcode.c]
[Compiling crypt.c]
[Compiling default.c]
[Compiling definekey.c]
[Compiling delete.c]
[Compiling edit.c]
[Compiling filter.c]
[Compiling goodbye.c]
[Compiling help.c]
[Compiling kissu.c]
kissu.c:13: conflicting types for `permstrings'
../src/default.h:590: previous declaration of `permstrings'
kissu.c:49: conflicting types for `user_definestr'
../src/default.h:593: previous declaration of `user_definestr'
kissu.c:81: conflicting types for `explain'
../src/default.h:592: previous declaration of `explain'
kissu.c:92: conflicting types for `groups'
../src/default.h:591: previous declaration of `groups'
kissu.c:112: conflicting types for `mailbox_prop_str'
../src/default.h:604: previous declaration of `mailbox_prop_str'
kissu.c: In function `auto_register':
kissu.c:735: too few arguments to function `post_file'
/usr/include/bits/socket.h: At top level:
kissu.c:13: warning: array `permstrings' assumed to have one element
kissu.c:92: warning: array `groups' assumed to have one element
kissu.c:81: warning: array `explain' assumed to have one element
kissu.c:49: warning: array `user_definestr' assumed to have one element
kissu.c:112: warning: array `mailbox_prop_str' assumed to have one element
make[3]: *** [kissu.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
【 在 atppp (Big Mouse) 的大作中提到: 】
: 这个得看新旧代码到底差别有多大
: 如果就是一点点小功能的区别,make install,然后kill掉listen的bbsd
: 重启动之
: ...................
--
FROM 61.129.42.*
......
晕...原来前面的site定义文件还没删干净啊
bs我吧..bs我吧......
【 在 stiger (Software like sex,better when it's free) 的大作中提到: 】
: kissu是kissu站点的定义文件
--
FROM 61.129.42.*