命令行中缺少DSO编译TrueCrypt

时间:2016-02-03 09:24:53

标签: gcc debian wxwidgets dynamic-linking truecrypt

我过去两天一直试图在Debian Jessie 8.1.0 AMD64上编译wxGTK2.8.12。我有wxwidgets3.0源代码,因为Debian Jessie只有v3.0软件包。这是一个问题,因为wxstandardpaths已保护wxstandardpaths::get,因此您必须使用truecryptwxstandardpaths使用application.cpp中的wxgtk2.8.12作为示例,它会在编译时返回错误。

我不确定如何修复,所以我使用truecrypt编译选项# make WX_ROOT=/usr/src/truecrypt-7.1a-source/wxGTK-2.8.12 wxbuild.转到选项2编译# make WXSTATIC=1源完成然后我wxwidgets-2.8.12然后运行进入下面这个错误。即使我自己编译并安装x11lib,我也会收到此错误。也许它是/usr/bin/ld: /usr/src/truecrypt-7.1a-source/wxrelease/lib/libwx_gtk2u_core-2.8.a(corelib_utilsx11.o): undefined reference to symbol 'XGetWindowAttributes' //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Main.make:107: recipe for target 'truecrypt' failed make[1]: *** [truecrypt] Error 1 Makefile:268: recipe for target 'all' failed make: *** [all] Error 2 问题?

^ 链接truecrypt

$(this).parents(".popover").popover('destroy');

0 个答案:

没有答案
相关问题