2017-01-24 1 views
0

나는 arduino yun에서 사용하기 위해 우분투 16.10에서 ndn-cxx를 컴파일하려고 시도하고 있습니다. 나는 이것을 steps에 따르고있다. 내가 ./waf 명령을 실행하려고하면 나는 다음과 같은 오류가 발생합니다 :arduino yun에 대한 ndn-cxx를 크로스 컴파일

[ 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입니다. 솔루션을 찾을 수 있도록 도와 줄 수 있습니까? 고맙습니다.

답변