2017-04-10 23 views
0

我想在Linux上構建AWS CPP SDK,但構建失敗,出現以下錯誤(已解決symbol_: )任何人都可以對此錯誤進行一些說明嗎?(我使用devtoolset-6 gcc 6.3 .1用於STL庫支持和叮噹3.8)構建AWS CPP SDK時未解決的符號

=================================

[ RUN  ] DefaultRateLimitTest.fractionalLimitTest 
[  OK ] DefaultRateLimitTest.fractionalLimitTest (0 ms) 
[----------] 11 tests from DefaultRateLimitTest (0 ms total) 

[----------] Global test environment tear-down 
[==========] 226 tests from 33 test cases ran. (4137 ms total) 
[ PASSED ] 226 tests. 
[100%] Built target aws-cpp-sdk-core-tests 
[100%] Building CXX object aws-cpp-sdk-text-to-speech-tests/CMakeFiles/aws-cpp-sdk-text-to-speech-tests.dir/RunTests.cpp.o 
[100%] Building CXX object aws-cpp-sdk-text-to-speech-tests/CMakeFiles/aws-cpp-sdk-text-to-speech-tests.dir/TextToSpeechManagerTests.cpp.o 
[100%] Linking CXX executable aws-cpp-sdk-text-to-speech-tests 
/opt/rh/devtoolset-6/root/bin/ld: ../aws-cpp-sdk-text-to-speech/libaws-cpp-sdk-text-to-speech.a(PulseAudioPCMOutputDriver.cpp.o): undefined reference to symbol '[email protected]@PULSE_0' 
//lib64/libpulse.so.0: error adding symbols: DSO missing from command line 
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation) 
make[2]: *** [aws-cpp-sdk-text-to-speech-tests/aws-cpp-sdk-text-to-speech-tests] Error 1 
make[1]: *** [aws-cpp-sdk-text-to-speech-tests/CMakeFiles/aws-cpp-sdk-text-to-speech-tests.dir/all] Error 2 
make: *** [all] Error 2 

回答

0

我們最近推的更新這一點。這是缺少-lpulse。

新鮮拉應該解決這個問題。