- 主题:[KBS svn]编译连接出错
用的是svn版本,configure的时候设置--enable-site=fb2k-v2。
编译的时候发现site目录都没有生成.o文件
并且连接的时候出错:
……
"/home/bbssrc/kbs_bbs/wrapper.sh" -DHAVE_CONFIG_H -I. -I. -I.. -DBBSMAIN -DLINUX -I/usr/include/mysql -Wpointer-arith -Wall -c newhelp.c
[Compiling newhelp.c]
[Linking bbsd]
bbs.o: In function `g_board_names':
bbs.c:(.text+0x2ed): undefined reference to `check_read_perm'
bbs.o: In function `readtitle':
bbs.c:(.text+0x1ea4): undefined reference to `def_list'
bbs.c:(.text+0x1f8a): undefined reference to `def_list'
bbs.o: In function `readdoent':
bbs.c:(.text+0x213a): undefined reference to `get_posttime'
bbs.c:(.text+0x23c3): undefined reference to `def_list'
bbs.c:(.text+0x2606): undefined reference to `def_list'
bbs.o: In function `showinfo':
bbs.c:(.text+0x30b1): undefined reference to `def_list'
bbs.o: In function `read_post':
……
应该怎么改呢?
--
修改:luckwithme FROM 61.167.60.*
FROM 61.167.60.*
恩,php4-dev默认需要automake1.4,系统原有automake1.8
automake链到了1.4,所以出错了。
现在重新设置了一下autogen.sh就好了,谢谢斑竹:-)
【 在 foxban (长白发了....) 的大作中提到: 】
: 可能是系统里某些软件包版本不对,autogen的时候没有把site.h和defautl.h链接过来
--
修改:luckwithme FROM 61.167.60.*
FROM 61.167.60.*
请,升级,automake ...
【 在 luckwithme (xml) 的大作中提到: 】
: kbs_bbs# ./autogen.sh
: automake: configure.ac: installing `./install-sh'
: automake: configure.ac: installing `./mkinstalldirs'
: ...................
--
FROM 221.219.11.*
赞
【 在 luckwithme (xml) 的大作中提到: 】
: 恩,php4-dev默认需要automake1.4,系统原有automake1.8
: automake链到了1.4,所以出错了。
: 现在重新设置了一下autogen.sh就好了,谢谢斑竹:-)
: ...................
--
FROM 221.219.11.*
autogen是调用automake和autoconf来自动生成Makefile类的东西?
【 在 fancyrabbit (兔兔猫★Initial F★死磕大作业) 的大作中提到: 】
: 请,升级,automake ...
--
FROM 221.192.237.*
嗯,configure Makefile.in 之类 ...
【 在 foxban (长白发了....) 的大作中提到: 】
: autogen是调用automake和autoconf来自动生成Makefile类的东西?
--
FROM 221.219.11.*