|
xCHM的编译用了最新的 chmlib 0.3.3 和wxGTK 2.4.2 stable. 这两个库编译安装了都没有问题,configure xCHM时也一切顺利,可是当 make xCHM 时中间却出了差错,说是:
/usr/local/lib/libwx_gtk2u-2.4.so: undefined reference to `_gtk_accel_group_detach'
/usr/local/lib/libwx_gtk2u-2.4.so: undefined reference to `_gtk_accel_group_attach'
/usr/local/lib/libwx_gtk2u-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name'
collect2: ld returned 1 exit status
make[2]: *** [xchm] Error 1
make[2]: Leaving directory `/home/liming/applications/xchm-0.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/liming/applications/xchm-0.9.1'
make: *** [all] Error 2
之前在其他Linux下编译一直没有问题。
现在我怀疑是 wxGTK 2.4.2 和 Gnome 2.6 存在某些地方的不兼容,导致编译时出错。不知道各位有没有遇到这种情况?现在暂时用 Gnochm 作为代替品,效果还行,但是很不稳定。
(development 的 wxGTK 2.5.1也是过了,还是没用)
大家有遇到类似情况么?有解决办法么? |
|