首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >构建AWS CPP SDK时未解析的符号

构建AWS CPP SDK时未解析的符号
EN

Stack Overflow用户
提问于 2017-04-11 07:29:29
回答 1查看 157关注 0票数 0

我正在尝试在Linux上构建AWS CPP SDK,但是构建失败了,出现了以下错误(已解决的symbol_:有人能解释一下这个错误吗?(我使用devtoolset-6 gcc 6.3.1来支持STL库,使用clang 3.8。)

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

代码语言:javascript
复制
[ 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 'pa_strerror@@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
EN

回答 1

Stack Overflow用户

发布于 2017-04-27 10:10:46

我们最近对此进行了更新。它缺少-lpulse。

重新拉动应该可以解决这个问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43334438

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档