[root@xztu smth_sshbbsd]# sh makedist.sh
hehe,you must have automake 1.6.x and autoconf 2.5.x to use this,kick kcn@smth
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':
WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
[root@xztu smth_sshbbsd]# ./configure --prefix=/home/bbs
……
……
……
config.status: linking ./../src/regular.c to regular.c
config.status: linking ./../src/1984.c to 1984.c
config.status: linking ./../src/moneycenter.c to moneycenter.c
config.status: linking ./../src/editboard.c to editboard.c
config.status: linking ./../src/power_select.c to power_select.c
config.status: linking ./../src/friendtest.c to friendtest.c
config.status: executing depfiles commands
[root@xztu smth_sshbbsd]# make
cd . && /bin/sh /home/CVSupdate/bbssrc3/smth_sshbbsd/missing --run autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':
WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-am
make[1]: Entering directory `/home/CVSupdate/bbssrc3/smth_sshbbsd'
make[1]: *** No rule to make target `/root/bin/libythtbbs.a', needed by `sshbbsd
make[1]: Leaving directory `/home/CVSupdate/bbssrc3/smth_sshbbsd'
make: *** [all] Error 2
【 在 sdymhua.bbs@Zero.cn-bbs.org (零起点) 的大作中提到: 】
: [bbs@xztu smth_sshbbsd]$ make
: make all-am
: make[1]: Entering directory `/home/CVSupdate/bbssrc3/smth_sshbbsd'
: gcc -DLINUX -I/usr/include/mysql -DENABLE_MYSQL -D_GNU_SOURCE -DBACK_DELETE_RAN
: bbs.o(.text+0x3493): In function `do_post':
: /home/CVSupdate/bbssrc3/smth_sshbbsd/bbs.c:1493: undefined reference to `check_p
: ...................
--
FROM 220.172.240.*