|
[求助]
真诚求助vasp.5.lib编译时出错已有2人参与
希望版上有经验的朋友可以帮忙看看,错误信息是这样的
ifort -O0 -FI -FR -c preclib.f
preclib.f(1): error #5082: Syntax error, found '/' when expecting one of: <LABEL> <END-OF-STATEMENT> ; TYPE INTEGER REAL COMPLEX BYTE CHARACTER CLASS DOUBLE ...
/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
^
preclib.f(16): error #5145: Invalid blank/tab
<http://www.gnu.org/licenses/>. */
----------------------------------^
preclib.f(20): error #5145: Invalid blank/tab
include it implicitly at the start of every compilation. It must
-----------------------------------------------------------^
preclib.f(27): error #5120: Unterminated character constant
/* glibc's intent is to support the IEC 559 math functionality, real
--------^
preclib.f(27): error #5144: Invalid character_kind_parameter. No underscore
/* glibc's intent is to support the IEC 559 math functionality, real
--------------------------------------------------------------------^
preclib.f(28): error #5145: Invalid blank/tab
and complex. If the GCC (4.9 and later) predefined macros
---------------^
preclib.f(30): error #5277: Syntax error, found ',' following statement keyword
whether the overall intent is to support these features; otherwise,
----------------------------------------------------------------------^
preclib.f(32): error #5145: Invalid blank/tab
define these macros by default. */
----------------------------------^
preclib.f(36): error #5145: Invalid blank/tab
/* wchar_t uses Unicode 8.0.0. Version 8.0 of the Unicode Standard is
------------------------------^
preclib.f(38): error #5276: Unbalanced parentheses
2015-05-15). */
-------------^
preclib.f(38): error #5145: Invalid blank/tab
2015-05-15). */
---------------^
preclib.f(40): error #5145: Invalid blank/tab
/* We do not support C11 <threads.h>. */
-------------------------------------^
preclib.f(1): catastrophic error: Could not recover from previous syntax error
compilation aborted for preclib.f (code 1)
Makefile:58: recipe for target 'preclib.o' failed
make: *** [preclib.o] Error 1 |
|