【发布时间】:2016-08-02 13:12:51
【问题描述】:
当我编译 makefile 时出现此错误
root@akshay-HP-ENVY-m6-Notebook-PC:/home/akshay/Downloads/FVCOM3.2.2/FVCOM_source/libs# make
for item in proj julian fproj ; do (./untar.sh $item ) || exit 1; done
cd proj && ./configure CC=icc CFLAGS=-O3 CXX=icc CXXFLAGS=-O3 F77=ifort FFLAGS=-O3 --prefix=/home/akshay/Downloads/FVCOM3.2.2/FVCOM_source/libs/install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... icc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make: *** [all] Error 77
如何解决此问题。我已经安装了 icc 并通过测试运行进行了检查。
【问题讨论】:
-
你能分享一下'config.log'的内容吗?