compiler-errors - 为arduino yun交叉编译ndn-cxx

标签 compiler-errors g++ cross-compiling waf arduino-yun

我正在尝试在ubuntu 16.10上交叉编译ndn-cxx以在arduino yun上使用它。我正在关注steps
当我尝试执行./waf命令时,出现以下错误:

    [ 30/141] Compiling src/security/sec-public-info-sqlite3.cpp
mips-openwrt-linux-musl-g++: warning: environment variable 'STAGING_DIR' not defined
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: /home/andrea/ndn-cxx-ndn-cxx-0.4.1/build/ndn-cxx.2: No such file or directory
compilation terminated.

Waf: Leaving directory `/home/andrea/ndn-cxx-ndn-cxx-0.4.1/build'
Build failed
 -> task in 'ndn-cxx' failed (exit status 1): 
    {task 140640709384528: cxx sec-public-info-sqlite3.cpp -> sec-public-info-sqlite3.cpp.2.o}
['/home/andrea/openwrt/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.16/bin/mips-openwrt-linux-musl-g++', '-std=c++11', '-O2', '-fPIC', '-include', '/home/andrea/ndn-cxx-ndn-cxx-0.4.1/build/ndn-cxx.2', '-I/home/andrea/ndn-cxx-ndn-cxx-0.4.1/build', '-I/home/andrea/ndn-cxx-ndn-cxx-0.4.1', '-I/home/andrea/ndn-cxx-ndn-cxx-0.4.1/build/src', '-I/home/andrea/ndn-cxx-ndn-cxx-0.4.1/src', '-I/home/andrea/openwrt/staging_dir/target-mips_34kc_musl-1.1.16/usr/include', '-DNDEBUG', '../src/security/sec-public-info-sqlite3.cpp', '-c', '-o', '/home/andrea/ndn-cxx-ndn-cxx-0.4.1/build/src/security/sec-public-info-sqlite3.cpp.2.o']

文件ndn-cxx.2在显示的目录中,名为ndn-cxx.2.gch。
您能帮我找到解决方案吗?谢谢。

最佳答案

更多NDN开发人员将在ndn-lib列表中看到您的问题。
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-lib

关于compiler-errors - 为arduino yun交叉编译ndn-cxx,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41840059/

相关文章:

vb.net - 修复 'Error class is ambiguous in the namespace' 保持其模糊性

java - 为什么我会收到以下错误以及空构造函数中应该有什么?

android - mipsel-linux-gcc : Command not found

Android NDK 交叉编译 FFmpeg,dlopen 失败 : cannot locate symbol

linux - ld 找不到文件

c++ - 在 macOS 主机上为 Windows 目标交叉编译 golang 和 cgo

java - 预期类找到对象

C - 语句未按顺序执行

C++ std::ifstream 在构造函数中的问题

c++ - 无法将 Boost.Any 对象传递给 C++ Lua 绑定(bind)