编译报错:error: cannot compute suffix of object files: cannot compile

在/etc/profile 最后添加以下内容:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mpc-1.2.1/lib:/usr/local/gmp-6.2.1/lib:/usr/local/mpfr-4.1.0/lib

#载入配置
source  /etc/profile
重新
make