Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
libthrift.a/libthriftnb.a を (so ファイルを直接使用するのではなく) 共有ライブラリにパックする何らかの理由があるため、-fPIC を使用してビルドする必要があります。
私はこのように倹約を構築します:
./configure --prefix="$PATH"/../thrift-0.8.0_build; make; make install;
これを達成するにはどうすれば変更できますか?
このように構成を実行できます。
./configure CFLAGS=-fPIC CXXFLAGS=-fPIC