系统: 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.o comm_lists.o namecomplete.o chat.o maintain.o edit.o more.o pass.o help.o bcache.o boards.o screen.o userinfo.o vote.o announce.o sendmsg.o boards_t.o bm.o list.o goodbye.o bbsd_single.o lvars.o select.o libann.o newmain_single.o newio.o newterm.o convcode.o bbs_sendmail.o crypt.o ucache.o utmp.o log.o md5.o libmsg.o article.o sysconf.o site.o filter.o mgrep.o definekey.o default.o calltime.o super_filter.o libtmpl.o msg_manager.o addr_manage.o libpc.o personal_corp.o newread.o newhelp.o ../libsystem/.libs/libsystem.a ../rzsz/.libs/libzmodem.a /usr/local/lib/libiconv.so -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/export/home0/mysql/lib -L/export/home0/mysql/lib/mysql /export/home0/mysql/lib/mysql/libmysqlclient.so -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lz -lpthread /usr/local/lib/libltdl.so -ldl -R/usr/local/lib -R/export/home0/mysql/lib/mysql -R/usr/local/lib -R/export/home0/mysql/lib/mysql
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-dynamic bbs.o record.o delete.o stuff.o mail.o register.o xyz.o talk.o comm_lists.o namecomplete.o chat.o maintain.o edit.o more.o pass.o help.o bcache.o boards.o screen.o userinfo.o vote.o announce.o sendmsg.o boards_t.o bm.o list.o goodbye.o bbsd_single.o lvars.o select.o libann.o newmain_single.o newio.o newterm.o convcode.o bbs_sendmail.o crypt.o ucache.o utmp.o log.o md5.o libmsg.o article.o sysconf.o site.o filter.o mgrep.o definekey.o default.o calltime.o super_filter.o libtmpl.o msg_manager.o addr_manage.o libpc.o personal_corp.o newread.o newhelp.o ../libsystem/.libs/libsystem.a ../rzsz/.libs/libzmodem.a -lnsl -lsocket -liconv -L/usr/lib -lz -L/export/home0/mysql/lib -L/export/home0/mysql/lib/mysql -lmysqlclient -L/usr/lib -lpthread -ldl -lltdl
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 220.173.136.*