LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: edwardhayes

[原创]xchm安装更新笔记

[复制链接]
发表于 2005-9-17 23:28:32 | 显示全部楼层
Post by nkbai
我在编译wxgtk时
./configure 发生错误,提示找不到gtk-config,和gtk+的路径不对,大概就是这个意思。
实用文档中的方法,我采用
> ./configure --with-gtk --enable-gtk2 --enable-unicode
> make
> su <type root password>
> make install
安装成功

接下来的chmlib也没有问题,但是在安装xchm时出现错误,
chmapp.o(.text+0xaf5): In function `CHMApp::OnInit()':
: undefined reference to `wxSize::wxSize(int, int)'
chmapp.o(.gnu.linkonce.t._ZN8wxStringD1Ev+0xd): In function `wxString::~wxString()':
: undefined reference to `wxStringBase::~wxStringBase()'
chmapp.o(.gnu.linkonce.t._ZN6CHMAppC1Ev+0x29): In function `CHMApp::CHMApp()':
: undefined reference to `wxLocale::wxLocale()'
chmapp.o(.gnu.linkonce.t._ZN6CHMAppC1Ev+0x3b): In function `CHMApp::CHMApp()':
: undefined reference to `wxCmdLineParser::wxCmdLineParser()'
chmapp.o(.gnu.linkonce.t._ZNK9wxAppBase12GetTopWindowEv+0x23): In function `wxAppBase::GetTopWindow() const':
: undefined reference to `wxListBase::GetCount() const'
chmapp.o(.gnu.linkonce.t._ZNK9wxAppBase12GetTopWindowEv+0x37): In function。
。。。。


: undefined reference to `wxObject::~wxObject()'
collect2: ld returned 1 exit status
make[2]: *** [xchm] 错误 1
make[1]: *** [all-recursive] 错误 1
make: *** [all] 错误 2
~

请问这是什么原因?
怎么这么多编译错误呢?


I have similar problem. How to resolve it?

collect2: ld returned 1 exit status
make[2]: *** [xchm] 错误 1
make[2]: Leaving directory `/home/lzx/sources/xchm-1.2/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/lzx/sources/xchm-1.2'
make: *** [all] 错误 2
回复 支持 反对

使用道具 举报

发表于 2005-12-1 22:26:08 | 显示全部楼层
Who can help me?
I use:
xchm 1.2
wxGTK 2.62
when I type xchm and enter it's say:
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.2,compatible with 2.4),
and your program used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4).
Aborted
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表