这个问题我也刚刚发现,暂时的解决办法是从老的libsystem/f_rm.c里面把
rm_dir函数抓出来,替换掉f_io.c里面的rm_dir函数
【 在 linton (难得糊涂) 的大作中提到: 】
: 系统: Solaris 9 x86, gcc 3.3.2
: 3月29前的cvs, configure, make, make install没问题,运行很在正常。
: 3月29后,cvs update(昨晚还做了一此), make时出现下面的问题(两台机上都是):
: newread.c: In function `read_prekey':
: newread.c:544: warning: implicit declaration of function `get_ent_from_id'
: newread.c:546: warning: implicit declaration of function `del_post'
: newread.c: In function `read_search_articles':
: newread.c:872: warning: passing arg 4 of `bm_strcasestr_rp' from incompatible pointer type
: [Compiling newhelp.c]
: [Linking bbsd]
: mkdir .libs
: gcc -DBBSMAIN -DINVISIBLE -DSAFE_KILL -D_DETAIL_UINFO_ -DSHOW_IDLE_TIME -Wall -D_POSIX_PTHREAD_SEMANTICS -g -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -I/export/home0/mysql/include/mysql -o bbsd bbs.o record.o delete.o stuff.o mail.o register.o xyz.o talk.
: Undefined first referenced
: symbol in file
: strsep ../libsystem/.libs/libsystem.a(f_io.o)
: ld: fatal: Symbol referencing errors. No output written to bbsd
: collect2: ld returned 1 exit status
: *** Error code 1
: The following command caused the error:
: /export/home0/kbs_bbs/wrapper.sh --mode=link "gcc" -DBBSMAIN -DINVISIBLE -DSAFE_KILL -D_DETAIL_UINFO_ -DSHOW_IDLE_TIME -Wall -D_POSIX_PTHREAD_SEMANTICS -g -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -I/export/home0/mysql/include/mysql -o bbsd -export-dy
: make: Fatal error: Command failed for target `bbsd'
: Current working directory /export/home0/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 bbs2www'; 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_bbs
: *** Error code 1
: make: Fatal error: Command failed for target `all'
--
FROM 128.12.150.*