# 故障排除

#### 问题一：编译SU2 6.0.1 时报错

现象描述：

编译SU2时报错，报错信息为“error: ‘VALID_REF’ was not declared in this scope; did you mean ‘INVALID_REF’”。

可能原因：

代码本身的bug。

处理步骤：

下载6.0.x的正式release版本可以避免该错误。


#### 问题二：编译SU2 7.0.4 时报错

现象描述：

编译SU2时报错，报错信息为“configure: error: cannot find python-config for /usr/bin/python.”。

可能原因：

缺乏依赖python-devel。

处理步骤：

在configure之前，执行以下命令安装依赖。

```
yum install python-devel -y
```
