- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi!
I'm using fortran77 in linux (distribution FedoraCore4) and so I use g77.Now...when I compile my file the program gives to me this error related to an include file:
linkc.inc:5:
INTEGER Mx, My, Mz, NICELL, MAPSIZ
1
linkc.inc:13: (continued):
COMMON / link /Mx, My, Mz, NICELL, MAPSIZ
2
Invalid declaration of or reference to symbol `mz' at (2) [initially seen at (1)]
This message is repeated many times for each variables (Mx, My, Mz, NICELL, MAPSIZ). I don't know from what it depends! can you help me?
Thank you very much!
Gambato
I'm using fortran77 in linux (distribution FedoraCore4) and so I use g77.Now...when I compile my file the program gives to me this error related to an include file:
linkc.inc:5:
INTEGER Mx, My, Mz, NICELL, MAPSIZ
1
linkc.inc:13: (continued):
COMMON / link /Mx, My, Mz, NICELL, MAPSIZ
2
Invalid declaration of or reference to symbol `mz' at (2) [initially seen at (1)]
This message is repeated many times for each variables (Mx, My, Mz, NICELL, MAPSIZ). I don't know from what it depends! can you help me?
Thank you very much!
Gambato
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This forum is for questions about the Intel Fortran Compiler for Linux - we don't cover g77 here. I'd suggest posting your question to the comp.lang.fortran newsgroup. You'll be best off if you include all the lines of the source, and also that of the .f that includes the file you show, as there is probably some additional context missing from this excerpt.

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