kchmviewer 2.5.2 编译连接时出错。。
kchmviewer 2.5.1编译正常通过,但最新版编译到最后连接时出错了?Building CXX object src/CMakeFiles/kchmviewer.dir/qrc_images.o
Linking CXX executable kchmviewer
/usr/bin/ld: Dwarf Error: Offset (51273) greater than or equal to .debug_str size (21626).
CMakeFiles/kchmviewer.dir/mainwindow.o: In function `MainWindow::closeEvent(QCloseEvent*)':
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:469: undefined reference to `ToolbarManager::save()'
CMakeFiles/kchmviewer.dir/mainwindow.o: In function `MainWindow':
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:81: undefined reference to `ToolbarManager::ToolbarManager(QObject*, QString const&)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:83: undefined reference to `ToolbarManager::queryAvailableActions(QObject*)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:84: undefined reference to `ToolbarManager::addManaged(QToolBar*)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:85: undefined reference to `ToolbarManager::addManaged(QToolBar*)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:86: undefined reference to `ToolbarManager::addManaged(QToolBar*)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:87: undefined reference to `ToolbarManager::load()'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:81: undefined reference to `ToolbarManager::ToolbarManager(QObject*, QString const&)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:83: undefined reference to `ToolbarManager::queryAvailableActions(QObject*)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:84: undefined reference to `ToolbarManager::addManaged(QToolBar*)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:85: undefined reference to `ToolbarManager::addManaged(QToolBar*)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:86: undefined reference to `ToolbarManager::addManaged(QToolBar*)'
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:87: undefined reference to `ToolbarManager::load()'
CMakeFiles/kchmviewer.dir/mainwindow.o: In function `MainWindow::actionEditToolbars()':
/root/rpmbuild/SOURCES/build-5.2/src/mainwindow.cpp:1299: undefined reference to `ToolbarManager::editDialog()'
collect2: ld 返回 1 cmakelists.txt 的 src 字段添加 toolbarmanager.cpp
程序自己的问题 http://cvs.fedoraproject.org/viewvc/devel/kchmviewer/kchmviewer-5.2-missed-src.patch?view=markup OK,通过编译。 $ sudo apt-get install kchmviewer
password for stronghill:
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
kchmviewer
0 upgraded, 1 newly installed, 0 removed and 9 not upgraded.
Need to get 0B/176kB of archives.
After unpacking 526kB of additional disk space will be used.
Committing changes...
Preparing ##############################
file /opt/kde4/lib/kde4/kio_msits.so from install of kchmviewer-5.1-1mgc25.i686 conflicts with file from package kdegraphics4-okular-4.4.3-1mgc25.i686
file /opt/kde4/share/kde4/services/msits.protocol from install of kchmviewer-5.1-1mgc25.i686 conflicts with file from package kdegraphics4-okular-4.4.3-1mgc25.i686
E: Error while running transaction
啥时候放在仓库中? kchmviewer 有两种编译方式,库里的kchmviewer依赖旧版本的KDE4,我现在还在研究php5.3.2,为了安全,过几天我会建设自己的个人仓库。
正在理顺php5.3.2的编译。
页:
[1]