---
title: 运行SMOKE时报错
description: "运行SMOKE时报错“Error: Cannot assign to a named constant at (1)......Error: Expecting END SUBROUTINE statement at (1)”."
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0079.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0079.html
indexId: 9ecdb3bc1e851b0a940f93551f72d8a32ce076473bd540b9c1457fda24e420e074
---
# 运行SMOKE时报错

#### 问题现象描述

运行SMOKE时报错“Error: Cannot assign to a named constant at (1)......Error: Expecting END SUBROUTINE statement at (1)”.


#### 关键过程、根本原因分析

fitrxref.f:192代码空格位太长。


#### 结论、解决方案及效果

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令进入“Makefileinclude”文件所在路径。
  cd $SMK_HOME/subsys/smoke/src

3. 执行以下命令修改“Makefileinclude”文件。

  a. 打开“Makefileinclude”文件。
    vi Makefileinclude

  b. 按“i”进入编辑模式，修改以下内容。

```
EFLAG = -ffixed-line-length-132 -fno-backslash
```


  c. 按“Esc”键，输入:wq!，按“Enter”保存并退出编辑。
