grpc has some error while compiling
Created by: xjqbest
编译时候看到报错。 尝试到paddle/build/third_party/grpc/src/中手动git clone grpc也不行。
make[2]: *** [paddle/fluid/operators/detail/libsendrecvop_grpc.a] Error 1
make[2]: *** Deleting file `paddle/fluid/operators/detail/libsendrecvop_grpc.a'
make[1]: *** [paddle/fluid/operators/detail/CMakeFiles/sendrecvop_grpc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
详细信息如下
[ 24%] Linking CXX static library libsendrecvop_grpc.a
cpplint: Checking source code style
bytebuffer_stream.cc:88: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
sendrecvop_utils.cc:300: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
Done processing bytebuffer_stream.cc
Done processing sendrecvop_utils.cc
Done processing grpc_client.cc
Done processing grpc_server.cc
Done processing /paddle/paddle/fluid/operators/detail/bytebuffer_stream.h
Done processing /paddle/paddle/fluid/operators/detail/sendrecvop_utils.h
Done processing /paddle/paddle/fluid/operators/detail/grpc_client.h
Done processing /paddle/paddle/fluid/operators/detail/grpc_server.h
Total errors found: 2
make[2]: *** [paddle/fluid/operators/detail/libsendrecvop_grpc.a] Error 1
make[2]: *** Deleting file `paddle/fluid/operators/detail/libsendrecvop_grpc.a'
make[1]: *** [paddle/fluid/operators/detail/CMakeFiles/sendrecvop_grpc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 24%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/Evaluator.cpp.o
[ 25%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/GradientMachine.cpp.o
[ 25%] Linking CXX static library libdata_transform.a
cpplint: Checking source code style
Done processing data_transform.cc
Done processing /paddle/paddle/fluid/framework/data_transform.h
Total errors found: 0
[ 25%] Built target data_transform
...
Done processing dataproviders/PyDataProvider.h
Done processing dataproviders/ProtoReader.h
Done processing dataproviders/DataProvider.h
Done processing dataproviders/DataProviderGroup.h
Done processing evaluators/Evaluator.h
Total errors found: 0
[ 34%] Built target paddle_gserver
make: *** [all] Error 2