I tried to build tensorflow from source but failed due to gcc error.
Error log:
gcc: error trying to exec 'as': execvp: No such file or directory
ERROR: /home/pcy/tensorflow-r0.10/tensorflow/core/kernels/BUILD:369:1:
output 'tensorflow/core/kernels/_objs/batch_matrix_band_part_op_gpu/tensorflow/core/kernels/batch_matrix_band_part_op_gpu.cu.pic.o' was not created.
ERROR: /home/pcy/tensorflow-r0.10/tensorflow/core/kernels/BUILD:369:1: not all outputs were created.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 24.255s, Critical Path: 23.90s
pcy@BJSH-DATAGPU-134-200:~/tensorflow-r0.10$ whereis as
as: /usr/bin/as /usr/share/man/man1/as.1.gz
Can anyone explain this? I have no idea why it is wrong...