- 主题:ythtBBS SSH功能make出错
[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
bbs.o(.data+0xd38): In function `UndeleteArticle':
/home/CVSupdate/bbssrc3/smth_sshbbsd/bbs.c:509: undefined reference to `into_pos
read.o(.text+0x6b0): In function `no_records':
/home/CVSupdate/bbssrc3/smth_sshbbsd/read.c:311: undefined reference to `new_pos
collect2: ld returned 1 exit status
make[1]: *** [sshbbsd] Error 1
make[1]: Leaving directory `/home/CVSupdate/bbssrc3/smth_sshbbsd'
make: *** [all] Error 2
请问一下如何处理,感谢!!!
//bow
--
FROM 220.172.240.*
[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.*
hehe,you must have automake 1.6.x and autoconf 2.5.x to use this,kick kcn@smth
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (〆ゞ毛毛) 的大作中提到: 】
: [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'
: ...................
--
FROM 162.105.249.219
呵呵,看到yuhuan老大了!
【 在 yuhuan@smth.org-SPAM.no (就好像过滤了就不存在一样) 的大作中提到: 】
: hehe,you must have automake 1.6.x and autoconf 2.5.x to use this,kick kcn@smth
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (〆ゞ毛毛) 的大作中提到: 】
: : [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'
: ...................
--
FROM 220.172.240.*
很久很久以来第一次看到你总算愿意敲几下键盘了。闭门造车吗?
【 在 yuhuan@smth.org-SPAM.no (就好像过滤了就不存在一样) 的大作中提到: 】
: hehe,you must have automake 1.6.x and autoconf 2.5.x to use this,kick kcn@smth
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (〆ゞ毛毛) 的大作中提到: 】
: : [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'
: ...................
--
FROM 218.194.250.*
5555,原来那几个字母也不是你敲的。
【 在 dgwang (DG大哥) 的大作中提到: 】
: 很久很久以来第一次看到你总算愿意敲几下键盘了。闭门造车吗?
: 【 在 yuhuan@smth.org-SPAM.no (就好像过滤了就不存在一样) 的大作中提到: 】
: : hehe,you must have automake 1.6.x and autoconf 2.5.x to use this,kick kcn@smth
: : ...................
--
FROM 218.194.250.*
[bbs@xztu smth_sshbbsd]$ rpm -qa |grep automake
automake14-1.4p6-5.1
automake-1.6.3-5
automake15-1.5-6
[bbs@xztu smth_sshbbsd]$ rpm -qa |grep autoconf
autoconf-2.57-3
证明我的系统是有 automake 1.6.x and autoconf 2.5.x的
但是还是提示:
hehe,you must have automake 1.6.x and autoconf 2.5.x to use this,kick
我就想[bbs@xztu smth_sshbbsd]$ rpm -e autoconf-2.57-3
error: Failed dependencies:
autoconf is needed by (installed) libtool-1.4.3-5
autoconf is needed by (installed) ac-archive-0.5.39-2
autoconf >= 2.13 is needed by (installed) kdevelop-2.1.5-6
实在不行,我就下载了一个autoconf-2.54.tar.gz来安装,也编译成功了。
cd ../smth_bbsssh
sh makedist.sh
还是提示
hehe,you must have automake 1.6.x and autoconf 2.5.x to use this,kick
各位老大,我应该怎么办!真是郁闷!!!
帮帮忙,小弟在此不胜感激!!!
//bow
【 在 yaomaohua (〆ゞ毛毛) 的大作中提到: 】
: 呵呵,看到yuhuan老大了!
: 【 在 yuhuan@smth.org-SPAM.no (就好像过滤了就不存在一样) 的大作中提到: 】
: : hehe,you must have automake 1.6.x and autoconf 2.5.x to use this,kick kcn@smth
: : ...................
--
FROM 220.172.240.*
我只是随便一说,你自己看看到底用的哪个automake
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (〆ゞ毛毛) 的大作中提到: 】
: [bbs@xztu smth_sshbbsd]$ rpm -qa |grep automake
: automake14-1.4p6-5.1
: automake-1.6.3-5
: ...................
--
FROM 162.105.249.219
在一个一个的试呀?ft~~~
【 在 yuhuan@smth.org-SPAM.no (就好像过滤了就不存在一样) 的大作中提到: 】
: 我只是随便一说,你自己看看到底用的哪个automake
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (〆ゞ毛毛) 的大作中提到: 】
: : [bbs@xztu smth_sshbbsd]$ rpm -qa |grep automake
: : automake14-1.4p6-5.1
: : automake-1.6.3-5
: : ...................
: ...................
--
FROM 220.172.236.*