- 主题:编译出错,大家帮忙看看,谢谢
bbs.c: In function `readdoent':
bbs.c:869: error: `DEF_SHOWSIZE' undeclared (first use in this function)
bbs.c:869: error: (Each undeclared identifier is reported only once
bbs.c:869: error: for each function it appears in.)
bbs.c: In function `zsend_attach':
bbs.c:1045: warning: dereferencing type-punned pointer will break strict-aliasing rules
bbs.c: In function `jumpReID':
bbs.c:1131: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: *** [bbs.o] 错误 1
make[1]: *** [all-recursive] 错误 1
make: *** [all] 错误 2
kevin@kevin:~/src/kbsbbs-2.0dev$
--
FROM 59.66.77.*
kevin@kevin:~/src/kbsbbs-2.0dev$ ./configure --prefix=/home/kevin/bbs --with-www=/home/kevin/bbs/www --with-php=/home/kevin/bbs/php/include/php --with-mysql=/home/kevin/opt/mysql --disable-ssh --enable-ssl --without-libesmtp
【 在 lkk (虚竹|回家) 的大作中提到: 】
: bbs.c: In function `readdoent':
: bbs.c:869: error: `DEF_SHOWSIZE' undeclared (first use in this function)
: bbs.c:869: error: (Each undeclared identifier is reported only once
: ...................
--
修改:lkk FROM 59.66.77.*
FROM 59.66.77.*
最近跟的CVS,以前用的自己的site定制?
【 在 lkk (虚竹|回家) 的大作中提到: 】
: bbs.c: In function `readdoent':
: bbs.c:869: error: `DEF_SHOWSIZE' undeclared (first use in this function)
: bbs.c:869: error: (Each undeclared identifier is reported only once
: ...................
--
FROM 59.66.134.36
site用的以前的,有问题?
【 在 Tinro (天若|死生契阔,与子成说) 的大作中提到: 】
: 最近跟的CVS,以前用的自己的site定制?
--
FROM 59.66.77.*
嗯, 因为代码里面加了DEF_SHOWSIZE, default.h里面有,但是你没有,所以就有问题 ..
参考default.h/.c修改一下site.h/.c吧
【 在 lkk (虚竹|回家) 的大作中提到: 】
: site用的以前的,有问题?
--
FROM 166.111.72.12