2016-12-22 12 views
0

を作る持って、私は次のでした:gRPCをインストールし、私はCentOSのでgRPCをインストールしたいエラーに

git clone https://github.com/grpc/grpc.git 
cd grpc 
make 

となりましエラー作る:そのプロジェクトがGitのサブモジュールの数を使用しています

[[email protected]_8_69_centos grpc]# make 
[MAKE] Generating cache.mk 
[C]  Compiling third_party/boringssl/crypto/asn1/tasn_dec.c 
In file included from third_party/boringssl/crypto/asn1/tasn_dec.c:66: 
third_party/boringssl/crypto/asn1/../internal.h:121:22: error: stdalign.h: No such file or directory 
make: *** [/root/src/grpc/objs/opt/third_party/boringssl/crypto/asn1/tasn_dec.o] Error 1 

答えて

1

- third_party directory on githubに入ると、すべてのサブモジュールにグレーのダブルフォルダアイコンが表示されます。クリックすると、サブディレクトリではなく別のプロジェクトに移動します。

makeに表示されているエラーを修正するには、すべてのサブモジュールをチェックするためにgit submodule update --init --recursiveを実行するだけでよいでしょう。

関連する問題