- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed IFC under Mandrake Linux Kernel 2.4.22-10mdk, im fairly new to the linux platform,
so after installing IFC i tried to run a test file like everyone else called: hello.f
print *,'Hello World!'
END PROGRAM HELLO_WORLD
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: First statement in file must not be continued
fortcom: Error: hello.f, line 2: Illegal character in statement label field
print *,'Hello World!'
^
fortcom: Error: hello.f, line 2: Illegal character in statement label field
print *,'Hello World!'
.^
fortcom: Error: hello.f, line 2: Illegal character in statement label field
print *,'Hello World!'
..^
fortcom: Error: hello.f, line 2: Illegal character in statement label field
print *,'Hello World!'
...^
fortcom: Error: hello.f, line 2: Illegal character in statement label field
print *,'Hello World!'
....^
fortcom: Error: hello.f, line 1: Syntax error, found END-OF-STATEMENT when expecting one of: ( : % . = =>
PROGRAM HELLO_WORLD
...................^
fortcom: Error: hello.f, line 3: Illegal character in statement label field
END PROGRAM HELLO_WORLD
^
fortcom: Error: hello.f, line 3: Illegal character in statement label field
END PROGRAM HELLO_WORLD
.^
fortcom: Error: hello.f, line 3: Illegal character in statement label field
END PROGRAM HELLO_WORLD
..^
fortcom: Error: hello.f, line 3: Illegal character in statement label field
END PROGRAM HELLO_WORLD
....^
fortcom: Error: hello.f, line 1: This is an invalid statement; an END [PROGRAM] statement is required.
PROGRAM HELLO_WORLD
......^
fortcom: Error: hello.f, line 1: This name does not match the unit name. [MHELLO_WORLD]
PROGRAM HELLO_WORLD
......^
fortcom: Error: hello.f, line 2: Syntax error, found '*' when expecting one of: ; BLOCK BLOCKDATA PROGRAM TYPE COMPLEX BYTE CHARACTER ...
print *,'Hello World!'
......^
fortcom: Severe: hello.f, line 2: Could not recover from previous syntax error
print *,'Hello World!'
......^
compilation aborted for hello.f (code 1)
What could be the problem? i did install IFC as instructed and everything seemed to go fine.
Message Edited by g3v on 03-21-2004 04:54 AM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page