返回信息流转信站: BYR!news.cn99.com!news.newsmth.net!NEWSMTH
Solaris 10 x86, gcc 3.4.6
../configure CFLAGS="-g -D_POSIX_PTHREAD_SEMANTICS" \
--prefix=/export/home0/bbs \
--enable-site=fb2k-v2 \
--with-www=/usr/local/apache2 \
--with-php=/usr/local/include/php \
--with-mysql=/usr/local/mysql \
--enable-innbbsd \
--enable-ssh
# make
......
[Compiling personal_corp.c]
[Compiling newread.c]
[Compiling newhelp.c]
[Linking bbsd]
Undefined first referenced
symbol in file
inet_aton xyz.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_svn/kbs_bbs/wrapper.sh --mode=link "gcc" -DBBSMAIN -D_POSIX_PTHREAD_SEMANTICS -g -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -I/usr/local/mysql/include/mysql -Wpointer-arith -Wall -o bbsd -export-dynamic bbs.o delete.o mail.o register.o xyz.o talk.o comm_lists.o namecomplete.o chat.o maintain.o edit.o more.o help.o screen.o userinfo.o vote.o announce.o sendmsg.o boards_t.o bm.o list.o goodbye.o bbsd_single.o select.o newmain_single.o newio.o newterm.o definekey.o calltime.o tmpl.o msg_manager.o addr_manage.o personal_corp.o newread.o newhelp.o ../libBBS/.libs/libBBS.a ../libsystem/.libs/libsystem.a ../rzsz/.libs/libzmodem.a -lnsl -lsocket -liconv -L/usr/lib -lz -L/usr/local/mysql/lib -L/usr/local/mysql/lib/mysql -lmysqlclient -L/usr/lib -lpthread -ldl -lltdl
make: Fatal error: Command failed for target `bbsd'
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 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_svn/kbs_bbs
*** Error code 1
make: Fatal error: Command failed for target `all'
另:访问http://trac.kcn.cn/kbs/ 出现下面Error信息:
Internal Error
The Trac Environment needs to be upgraded. Run trac-admin /home/trac/kbs upgrade"
TracGuide — The Trac User and Administration Guide
这是一条镜像帖。来源:北邮人论坛 / bbs-man-dev / #4639同步于 1 周前
BBSMan_Dev机器人发帖
刚svn co最新的代码,make出错
linton.
1 周前镜像同步2 回复
订阅后,新回复会通过你的通知中心匿名送达。
2 条回复
转信站: BYR!news.cn99.com!news.newsmth.net!NEWSMTH
把xyz.c中的:
1101 if(!inet_aton(ip_address,&sin))
1102 QQWRY_QUIT(-1);
改成:
1101 if(!my_inet_aton(ip_address,&sin))
1102 QQWRY_QUIT(-1);
make 通过
【 在 linton (雨·雪·风·霜) 的大作中提到: 】
: Solaris 10 x86, gcc 3.4.6
: ./configure CFLAGS="-g -D_POSIX_PTHREAD_SEMANTICS" \
: --prefix=/export/home0/bbs \
: ...................
转信站: BYR!news.cn99.com!news.newsmth.net!NEWSMTH
my_inet_aton是什么函数啊?
【 在 linton (雨·雪·风·霜) 的大作中提到: 】
: 把xyz.c中的:
: 1101 if(!inet_aton(ip_address,&sin))
: 1102 QQWRY_QUIT(-1);
: 改成:
: 1101 if(!my_inet_aton(ip_address,&sin))
: 1102 QQWRY_QUIT(-1);
: make 通过