View previous topic :: View next topic |
Author |
Message |
maxifrost
Joined: 23 Dec 2010 Posts: 8
|
Posted: Mon Dec 27, 2010 3:31 am Post subject: Multiple definitions |
|
|
I compiled my programme using PLATO, no errors, but when I build it this is what I got.
--------------
Compilation completed with no errors.
Linking...
*** Multiple definition of symbol: _FOAM
C:\test\CheckMate\Win32\test-master-main.obj
(C:\TEST\TEST-MASTER-MAIN.F)
and,
C:\test\CheckMate\Win32\subs-foam.obj
(C:\TEST\SUBS-FOAM.F)
-------------------
I have checked all the files and only one file (subs-foam.f )
has the parameter. I am using 'include' statements.
What does this mean? Could it be because of the statement? |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8257 Location: Salford, UK
|
Posted: Mon Dec 27, 2010 10:19 am Post subject: |
|
|
It appears that _FOAM is an external symbol used in different ways.
For example it could be a subroutine that has been defined in one way but used in a way that is not consistent with its definition. |
|
Back to top |
|
 |
maxifrost
Joined: 23 Dec 2010 Posts: 8
|
Posted: Mon Dec 27, 2010 5:31 pm Post subject: I found it, I think |
|
|
I had added all my include source files into the project when I should just allow Plato to do it.
It's fine for now. Thank you. |
|
Back to top |
|
 |
|