# svn update
U libBBS/libann.c
Updated to revision 11592.
去掉 site/fb2k-v2.h 中的:
#define ENABLE_BOARD_MEMBER
#define ENABLE_NEW_MSG
再 make:
# make
make -s all-recursive
Making all in libsystem
Making all in libBBS
[Compiling libann.c]
libann.c: In function `a_loadnames':
libann.c:574: error: storage size of 'member' isn't known
libann.c:575: error: invalid application of `sizeof' to incomplete type `board_member'
libann.c:574: warning: unused variable `member'
*** Error code 1
The following command caused the error:
source='libann.c' object='libann.lo' libtool=yes \
depfile='.deps/libann.Plo' tmpdepfile='.deps/libann.TPlo' \
depmode=gcc3 /bin/bash ../depcomp \
/export/home0/kbs_svn/kbs_bbs/wrapper.sh --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_POSIX_PTHREAD_SEMANTICS -g -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -Wpointer-arith -Wall -I/usr/local/mysql/include -c -o libann.lo `test -f 'libann.c' || echo './'`libann.c
make: Fatal error: Command failed for target `libann.lo'
Current working directory /export/home0/kbs_svn/kbs_bbs/libBBS
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='libsystem libBBS rzsz src daemon local_utl mail2bbs service innbbsd sshbbsd php'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make -s $local_target) \
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make -s "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home0/kbs_svn/kbs_bbs
*** Error code 1
make: Fatal error: Command failed for target `all'
【 在 jiangjun2000 (%d) 的大作中提到: 】
: 少了个宏,你升级后去掉ENABLE_BOARD_MEMBER再编译一下试试
--
FROM 121.31.118.*