- 主题:刚svn update,make出错
Solaris 10 x86, gcc 3.4.6
Making all in libBBS
[Compiling librefer.c]
librefer.c: In function `send_refer_msg':
librefer.c:152: error: `boards' undeclared (first use in this function)
librefer.c:152: error: (Each undeclared identifier is reported only once
librefer.c:152: error: for each function it appears in.)
librefer.c:152: error: `MAX_BOARD_REFER' undeclared (first use in this function)
librefer.c:178: error: `to_board' undeclared (first use in this function)
librefer.c:180: warning: implicit declaration of function `send_refer_msg_to_board'
*** Error code 1
The following command caused the error:
source='librefer.c' object='librefer.lo' libtool=yes \
depfile='.deps/librefer.Plo' tmpdepfile='.deps/librefer.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 librefer.lo `test -f 'librefer.c' || echo './'`librefer.c
make: Fatal error: Command failed for target `librefer.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'
--
FROM 121.31.118.*
ENABLE_BOARD_MEMBER宏控制住这里了吧?
我手头现在没代码,这个是ENABLE_BOARD_MEMBER里面的功能,应该有一个宏管着的。
【 在 linton (雨·雪·风·霜) 的大作中提到: 】
: Solaris 10 x86, gcc 3.4.6
: Making all in libBBS
: [Compiling librefer.c]
: ...................
--
FROM 123.120.132.*
代码有错,该加宏的地方没加,已更新。
@linton
【 在 linton (雨·雪·风·霜) 的大作中提到: 】
: Solaris 10 x86, gcc 3.4.6
: Making all in libBBS
: [Compiling librefer.c]
: ...................
--
FROM 123.120.132.*
update后没问题了
ENABLE_BOARD_MEMBER 也是水木特有的?
若定义了ENABLE_BOARD_MEMBER. make也报错:
[Compiling member.c]
member.c: In function `b_member_show':
member.c:260: error: structure has no member named `score_user'
member.c: In function `member_board_article_select':
member.c:1043: warning: implicit declaration of function `Select'
member.c: In function `member_board_article_info':
member.c:1389: warning: implicit declaration of function `Post'
member.c:1393: warning: implicit declaration of function `do_cross'
member.c:1420: warning: implicit declaration of function `showinfo'
*** Error code 1
The following command caused the error:
source='member.c' object='member.o' libtool=no \
depfile='.deps/member.Po' tmpdepfile='.deps/member.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
"/export/home0/kbs_svn/kbs_bbs/wrapper.sh" -DHAVE_CONFIG_H -I. -I. -I.. -DBBSMAIN -D_POSIX_PTHREAD_SEMANTICS -g -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -Wpointer-arith -Wall -I/usr/local/mysql/include -c `test -f 'member.c' || echo './'`member.c
make: Fatal error: Command failed for target `member.o'
Current working directory /export/home0/kbs_svn/kbs_bbs/src
*** 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'
【 在 windinsn (雪域清风) 的大作中提到: 】
: 代码有错,该加宏的地方没加,已更新。
: @linton
--
修改:linton FROM 121.31.118.*
FROM 121.31.118.*
ENABLE_BOARD_MEMBER 就不要启用了吧,这个是水木特有的,而且还是开发中的功能。w
【 在 linton (雨·雪·风·霜) 的大作中提到: 】
: update后没问题了
: ENABLE_BOARD_MEMBER 也是水木特有的?
: 若定义了ENABLE_BOARD_MEMBER. make也报错:
: ...................
--
FROM 123.120.131.*