|
我在GitHub上面下载的一个数据转换的一个程序,根据他的README文件,需要更改上一层的路径过后,再从新make一下,但是我这怎么都不成功,一直报下面的错误:(我把源代码放附件里面了,请大家帮我看看到底是什么问题)
/lib/cpp -C -P module_dm.F > module_dm.f90
ifort -o module_dm.o -c -I/home/lizm/Build_WRF/LIBRARIES/netcdf/include module_dm.f90
module_dm.f90(1): error #5082: Syntax error, found '/' when expecting one of: <LABEL> <END-OF-STATEMENT> ; <IDENTIFIER> TYPE MODULE ELEMENTAL IMPURE NON_RECURSIVE ...
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
^
module_dm.f90(16): error #5145: Invalid blank/tab
<https://www.gnu.org/licenses/>. */
-----------------------------------^
module_dm.f90(18): error #5145: Invalid blank/tab
include it implicitly at the start of every compilation. It must
-----------------------------------------------------------^
module_dm.f90(24): error #5120: Unterminated character constant
/* glibc's intent is to support the IEC 559 math functionality, real
--------^
module_dm.f90(24): error #5144: Invalid character_kind_parameter. No underscore
/* glibc's intent is to support the IEC 559 math functionality, real
--------------------------------------------------------------------^
module_dm.f90(25): error #5145: Invalid blank/tab
and complex. If the GCC (4.9 and later) predefined macros
---------------^
module_dm.f90(27): error #5277: Syntax error, found ',' following statement keyword
whether the overall intent is to support these features; otherwise,
----------------------------------------------------------------------^
module_dm.f90(29): error #5145: Invalid blank/tab
define these macros by default. */
----------------------------------^
module_dm.f90(30): error #5145: Invalid blank/tab
/* wchar_t uses Unicode 10.0.0. Version 10.0 of the Unicode Standard is
-------------------------------^
module_dm.f90(1): catastrophic error: Could not recover from previous syntax error
compilation aborted for module_dm.f90 (code 1)
make: *** [Makefile:53:module_dm.o] 错误 1
|
|