Build fails: ld: error: undefined reference due to --no-allow-shlib-undefined: google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
- 領域
- build-system
調査の方向性
Reproduce the 0.10.9 build on FreeBSD 13.2 with clang-15, then inspect the linker flags used for ola/.libs/libola.so and plugins/usbdmx. Verify whether the protobuf library is included without manually adding -lprotobuf to LDFLAGS; done means the link succeeds and the undefined protobuf symbols are resolved.
索引モデルが issue の本文から書いたものです。
説明
libtool: link: ( cd "plugins/usbdmx/.libs" && rm -f "libolausbdmxwidget.la" && ln -s "../libolausbdmxwidget.la" "libolausbdmxwidget.la" )
ld: error: undefined reference due to --no-allow-shlib-undefined: google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)
>>> referenced by ola/.libs/libola.so
ld: error: undefined reference due to --no-allow-shlib-undefined: google::protobuf::internal::LogMessage::operator<<(char const*)
>>> referenced by ola/.libs/libola.so
ld: error: undefined reference due to --no-allow-shlib-undefined: google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)
>>> referenced by ola/.libs/libola.so
ld: error: undefined reference due to --no-allow-shlib-undefined: google::protobuf::internal::LogMessage::~LogMessage()
>>> referenced by ola/.libs/libola.so
ld: error: undefined reference due to --no-allow-shlib-undefined: google::protobuf::internal::ZeroFieldsBase::~ZeroFieldsBase()
>>> referenced by ola/.libs/libola.so
ld: error: undefined reference due to --no-allow-shlib-undefined: google::protobuf::internal::ArenaStringPtr::Set(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, google::protobuf::Arena*)
>>> referenced by ola/.libs/libola.so
ld: error: undefined reference due to --no-allow-shlib-undefined: google::protobuf::internal::ArenaStringPtr::Set(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, google::protobuf::Arena*)
>>> referenced by ola/.libs/libola.so
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Adding -lprotobuf to LDFLAGS corrects this problem.
Version: 0.10.9
clang-15
FreeBSD 13.2
- 主要言語
- C++
- スター
- 773
- フォーク
- 233
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenLightingProject/ola のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
OpenLightingProject/ola#2075 ·
-
Digital Enlightenment / FX5 not recognized対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンquestion Type-DeviceSupport
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
OpenLightingProject/ola#2056 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
OpenLightingProject/ola#2055 ·
-
Difficulty-Medium Language-C++ Maintainability OpSys-All
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
OpenLightingProject/ola#2053 · コメント 1 件 ·
-
v0.11.0再び着手できるかも @peternewman が 227 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
OpenLightingProject/ola#2038 · コメント 18 件 · 担当者 2 名 ·
OpenLightingProject/ola の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
deepseek-ai/DeepEP#830 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
google-ai-edge/LiteRT-LM#4701 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
HarperFast/rocksdb-js#1131 ·
メンテナーはふだん 1 日以内に返信
-
Swapped cache lookups in ScanModelAndDecideAllDiffExpansion対応中かも @Lian292213 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area/daemon bug good first issue platform/linux priority/p2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ToshiNamura/Deimos#5 ·