c++ - pnacl-ld : Invalid archive member header magic string

标签 c++ static-linking google-nativeclient

从库创建 pexe 时出现以下错误:

pnacl-ld: .a: 无效的存档成员头魔术字符串 /30 1370435922 1000 1000 100664 103140 `

知道这里出了什么问题吗?

最佳答案

lib 文件包含 .o 文件以外的文件。有 cpp 文件(由 git 重命名为 .orig)

这造成了一个问题。当我这样做的时候我才知道

$less < 库名 >

这给了我 .a 中的文件列表

关于c++ - pnacl-ld : Invalid archive member header magic string,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16954618/

相关文章:

google-nativeclient - 运行 Google Native Client 的互联网百分比?

c++ - 在 C++ 算法头中,为什么使用 "!(val < *first)"?

c++ - 如何正确使用 _snprintf_s()?

c++ - Octave 的 QuantLib 绑定(bind)​​?

c++ - 无法根据opencv RotatedRect教程得到相同的图像结果

c++ - 如何切换到 OpenCV 3.0 的静态库以便 exe 是独立的?

cmake - 强制 cmake 在不提及特定目标的情况下将共享库与静态库链接

ios - 应用扩展 : multiple instances interfering with each other

c++ - NACL 的 NPAPI 插件

c++ - 使用 Qt、Wt 或 NaCl 构建框架?