2017-01-20 7 views
0
Linking CXX executable ../../../test/test.testbin 
CMakeFiles/test.testbin.dir/test_benchmark.cpp.o: In function `void boost::this_thread::sleep<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> >(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> const&)': 
test_benchmark.cpp:(.text._ZN5boost11this_thread5sleepINS_9date_time18subsecond_durationINS_10posix_time13time_durationELl1000EEEEEvRKT_[_ZN5boost11this_thread5sleepINS_9date_time18subsecond_durationINS_10posix_time13time_durationELl1000EEEEEvRKT_]+0x27d): undefined reference to `boost::this_thread::hidden::sleep_until(timespec const&)' 
collect2: error: ld returned 1 exit status 
make[3]: *** [test/test.testbin] Error 1 
make[2]: *** [src/caffe/test/CMakeFiles/test.testbin.dir/all] Error 2 
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] Error 2 
make: *** [runtest] Error 2 
[[email protected] build]$ gcc --version 
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11) 
Copyright (C) 2015 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions. There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

私は「RUNTESTを作る」「RUNTEST作る」会いました。それはリンカーの問題のように見えますが、私はそれを修正する方法を知らない。私の推測ではgccのバージョンは互換性がないかもしれません。コンパイルPY-高速rcnnは、「リンクエラー」このエラーは、PY-高速rcnnのためのcmakeのコンパイルの最後の段階で表示されます

+0

MineはCentOS 7で実行されますが、InfogainLossLayerTestでメモリフォールトを検出します。大きな疑問は、テストを実行する必要があるかどうかです。 GoogLeNetに数回の繰り返しを実行すると、うまくいきました。 – Prune

+0

demo.pyの実行に必要な "runtest"が正常にコンパイルされていないようです。 –

+0

あなたはそれが必要であることをお詫びします。私は、問題を再現するシステムを持っていないので、私は多くの助けになることはないと思います。エラーメッセージなしでクラッシュをデバッグするのはかなり難しいです。近くのオブジェクトに "ldd"を試して、ファイルやバージョンの不一致がないかどうかを確認することができます。それ以外に、GitHub Caffeバグフォーラムにこれを投稿することをお勧めします。 – Prune

答えて

0

私はAnacondaを削除することでこの問題を解決しましたが、Anacondaは手動で設定した依存関係に多少の混乱を与えているようです。

関連する問題