我要评分
获取效率
正确性
完整性
易理解

Error Reported When SMOKE Is Run

Symptom

The error message "Error: Cannot assign to a named constant at (1)......Error: Expecting END SUBROUTINE statement at (1)" is displayed when SMOKE is run.

Key Process and Cause Analysis

The code space of fitrxref.f:192 is too long.

Conclusion and Solution

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to switch to the directory in which the Makefileinclude file is stored:

    cd $SMK_HOME/subsys/smoke/src

  3. Modify the Makefileinclude file.
    1. Open the Makefileinclude file.

      vi Makefileinclude

    2. Press i to enter the insert mode and modify the file as follows:
      EFLAG = -ffixed-line-length-132 -fno-backslash
    3. Press Esc, type :wq!, and press Enter to save the settings and exit.