2016-12-22 9 views
0

을 얻고 난 다음 않았다gRPC를 설치하고 내 CentOS는에 gRPC를 설치하려는 오류를

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

지금 오류합니다 그 프로젝트는 자식 서브 모듈의 번호를 사용

[[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을 실행하기 만하면됩니다.