replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Multiple definitions
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multiple definitions

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
maxifrost



Joined: 23 Dec 2010
Posts: 8

PostPosted: Mon Dec 27, 2010 3:31 am    Post subject: Multiple definitions Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8257
Location: Salford, UK

PostPosted: Mon Dec 27, 2010 10:19 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
maxifrost



Joined: 23 Dec 2010
Posts: 8

PostPosted: Mon Dec 27, 2010 5:31 pm    Post subject: I found it, I think Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group