Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 415

error #5149: Illegal character in statement label field

$
0
0

Hello,

When I try to compile the program using ifort compilers, following error message is shown:

byte_order is LITTLE_ENDIAN

/opt/intel/bin/ifort -c  -O3 bfrini.f
bufrlib.prm(1): error #5149: Illegal character in statement label field  [/]
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
^
bufrlib.prm(1): error #5149: Illegal character in statement label field  [*]
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
-^
bufrlib.prm(1): error #5149: Illegal character in statement label field  [C]
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
---^
bufrlib.prm(1): error #5149: Illegal character in statement label field  [o]
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
----^
bufrlib.prm(1): error #5118: First statement in file must not be continued
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
-----^
bufrlib.prm(2): error #5149: Illegal character in statement label field  [T]
   This file is part of the GNU C Library.
---^
bufrlib.prm(2): error #5149: Illegal character in statement label field  [h]
   This file is part of the GNU C Library.
----^
bufrlib.prm(4): error #5149: Illegal character in statement label field  [T]
   The GNU C Library is free software; you can redistribute it and/or
---^
bufrlib.prm(4): error #5149: Illegal character in statement label field  [h]
   The GNU C Library is free software; you can redistribute it and/or
----^
bufrlib.prm(1): error #5082: Syntax error, found INTEGER_CONSTANT '1991' when expecting one of: => = . [ % (
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
-----------------^
bufrlib.prm(5): error #5149: Illegal character in statement label field  [m]
   modify it under the terms of the GNU Lesser General Public
---^
bufrlib.prm(5): error #5149: Illegal character in statement label field  [o]
   modify it under the terms of the GNU Lesser General Public
----^
bufrlib.prm(6): error #5149: Illegal character in statement label field  [L]
   License as published by the Free Software Foundation; either
---^
bufrlib.prm(6): error #5149: Illegal character in statement label field  [i]
   License as published by the Free Software Foundation; either
----^
bufrlib.prm(4): error #5082: Syntax error, found '/' when expecting one of: => = . [ % ( :
   The GNU C Library is free software; you can redistribute it and/or
------------------------------------------------------------------^
bufrlib.prm(7): error #5149: Illegal character in statement label field  [v]
   version 2.1 of the License, or (at your option) any later version.
---^
bufrlib.prm(7): error #5149: Illegal character in statement label field  [e]
   version 2.1 of the License, or (at your option) any later version.
----^
bufrlib.prm(9): error #5149: Illegal character in statement label field  [T]
   The GNU C Library is distributed in the hope that it will be useful,
---^
bufrlib.prm(9): error #5149: Illegal character in statement label field  [h]
   The GNU C Library is distributed in the hope that it will be useful,
----^
bufrlib.prm(10): error #5149: Illegal character in statement label field  [b]
   but WITHOUT ANY WARRANTY; without even the implied warranty of
---^
bufrlib.prm(10): error #5149: Illegal character in statement label field  [u]
   but WITHOUT ANY WARRANTY; without even the implied warranty of
----^
bufrlib.prm(7): error #5082: Syntax error, found INTEGER_CONSTANT '1' when expecting one of: <IDENTIFIER> <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT>
   version 2.1 of the License, or (at your option) any later version.
-------------^
bufrlib.prm(11): error #5149: Illegal character in statement label field  [M]
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
---^
bufrlib.prm(11): error #5149: Illegal character in statement label field  [E]
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
----^
bufrlib.prm(12): error #5149: Illegal character in statement label field  [L]
   Lesser General Public License for more details.
---^
bufrlib.prm(12): error #5149: Illegal character in statement label field  [e]
   Lesser General Public License for more details.
----^
bufrlib.prm(14): error #5149: Illegal character in statement label field  [Y]
   You should have received a copy of the GNU Lesser General Public
---^
bufrlib.prm(14): error #5149: Illegal character in statement label field  [o]
   You should have received a copy of the GNU Lesser General Public
----^
bufrlib.prm(15): error #5149: Illegal character in statement label field  [L]
   License along with the GNU C Library; if not, see
---^
bufrlib.prm(15): error #5149: Illegal character in statement label field  [i]
   License along with the GNU C Library; if not, see
----^
bfrini.f(76): catastrophic error: Too many errors, exiting
compilation aborted for bfrini.f (code 1)
make: *** [../../libbufr_v10.2.5_4_64.a(bfrini.o)] Error 1

------------------------------------

The system configuration used is :

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Model name:            Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz

OS: CentOS

The same programs worked fine with the same compilers and flags, on Bosslinux and other CentOS systems.

Please check and let me know ..how to fix the issue.

Thanks,

Ancy

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 415

Trending Articles