0

Linux マシンにthrift パッケージを構成してインストールしました。現在、ARM 用に thrift をクロスコンパイルしようとしています。

私が従った手順は次のとおりです。

  1. thrift パッケージを untar します
  2. を使用して構成し./configure --host=arm-linux-gnueabi --without-java --without-python --with-c_glib --with-cpp
    ますが、これを行っていると、次のエラーが発生します
checking for boostlib >= 1.54.0... yes
checking for libevent >= 1.0... configure: error: in '/home/deeraj/arm_thrift':
configure: error: cannot run test program while cross compiling
See 'config.log' for more details

これを克服するために、ファイル内のAC_RUN_IFELSEとをに置き換えました。この後、私はAC_LINK_IFELSEaclocal/ax_lib_event.m4aclocal/ax_lib_zlib.m4autoconf

もう一度実行する./configure --host=arm-linux-gnueabi --without-java --without-python --with-c_glib --with-cppと、次のエラーが発生しました。

checking for setsockopt in -lsocket... no
checking for BN_init in -lcrypto... no
configure: error: "Error: libcrypto required."

を既にインストールしていlibssl-devますが、エラーが解消されません。

この問題を解決し、クロス コンパイルして ARM 用の thrift をインストールするにはどうすればよいでしょうか?

4

0 に答える 0