- 主题:bbs安装求助
使用的是smth1.2
make时最后显示:
[Compiling libmsg.c]
libmsg.c: In function `translate_msg':
libmsg.c:650: invalid operands to binary &
libmsg.c:651: invalid operands to binary &
libmsg.c:658: invalid operands to binary &
libmsg.c:659: invalid operands to binary &
libmsg.c:663: invalid operands to binary &
libmsg.c:664: invalid operands to binary &
libmsg.c:666: invalid operands to binary &
libmsg.c:667: invalid operands to binary &
libmsg.c:672: invalid operands to binary &
libmsg.c:673: invalid operands to binary &
libmsg.c:678: invalid operands to binary &
libmsg.c:679: invalid operands to binary &
make[2]: *** [libmsg.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
请问是什么问题啊
--
FROM 219.224.166.*
【 在 hyangl (明诚) 的大作中提到: 】
: 使用的是smth1.2
: make时最后显示:
: [Compiling libmsg.c]
: ...................
检查 site.h 中 #define DEFINE(user,x) 怎么写的
--
修改:czz FROM 166.111.161.221
FROM 166.111.161.221
#define DEFINE(user,x) ((x)?((user)->userdefine)&(x):1)
有问题吗
【 在 czz (喜滋滋) 的大作中提到: 】
: 检查 site.h 中 #define DEFINE(user,x) 怎么写的
--
FROM 219.224.166.*
【 在 hyangl (明诚) 的大作中提到: 】
: #define DEFINE(user,x) ((x)?((user)->userdefine)&(x):1)
: 有问题吗
#define DEFINE(user,x) ((x)?((user)->userdefine[def_list(x)])&(x):1)
改了很久了,你 configure 时候的参数是什么?
--
FROM 166.111.161.221
我用的是老的site.h
能贴一个新的参考一下吗
【 在 czz (喜滋滋) 的大作中提到: 】
: #define DEFINE(user,x) ((x)?((user)->userdefine[def_list(x)])&(x):1)
: 改了很久了,你 configure 时候的参数是什么?
--
FROM 219.224.166.*
【 在 hyangl (明诚) 的大作中提到: 】
: 我用的是老的site.h
: 能贴一个新的参考一下吗
checkout 新的代码不就行了?
--
FROM 166.111.161.221
参考哪个
默认的都不全吧
【 在 czz (喜滋滋) 的大作中提到: 】
: checkout 新的代码不就行了?
--
FROM 219.224.166.*
【 在 hyangl (明诚) 的大作中提到: 】
: 参考哪个
: 默认的都不全吧
smth.h 吧,得看你原来用的是哪个版本
--
FROM 166.111.161.221
重新make,显示
make -s all-recursive
Making all in libsystem
[Compiling f_cat.c]
In file included from ../src/bbs.h:313,
from ../src/system.h:3,
from f_cat.c:2:
../src/struct.h:176: field `origin' has incomplete type
../src/struct.h:177: field `lastreply' has incomplete type
In file included from ../src/bbs.h:486,
from ../src/system.h:3,
from f_cat.c:2:
../src/func.h:358: parse error before `fileheader_t'
../src/func.h:359: parse error before `*'
../src/func.h:383: parse error before `fileheader_t'
../src/func.h:385: parse error before `fileheader_t'
../src/func.h:386: parse error before `fileheader_t'
make[2]: *** [f_cat.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
【 在 czz (喜滋滋) 的大作中提到: 】
: smth.h 吧,得看你原来用的是哪个版本
--
FROM 219.224.166.*
我刚刚也是这样
但是不管他,继续make install
此时仍然报错,不管,再
make install-home
chmod ...
现在居然ok登陆上去了。。。
ft啊
【 在 hyangl (明诚) 的大作中提到: 】
: 重新make,显示
: make -s all-recursive
: Making all in libsystem
: ...................
--
FROM 166.111.73.187