Go to Post The biggest thing is you don't have to make your robot like another teams. Come up with something unique and go from there. RAISE THE BAR..... - camtunkpa [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2008, 10:29
AmitCarmeli AmitCarmeli is offline
Registered User
FRC #1943
 
Join Date: Nov 2007
Location: Israel
Posts: 5
AmitCarmeli is an unknown quantity at this point
Compiler Error

We have had some problems with the compiler, which kept informing:
"- section_entry_scn type is non-overlay or absolute but occurs in more than one input file".

To clearify, we have written one source file named "UserCommand", with the appropriate header, to handle, of course, the users' commands.

What have we done wrong?
Thanks in advanced, Team #1943.
  #2   Spotlight this post!  
Unread 04-02-2008, 11:04
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,847
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Compiler Error

That means you've inadvertently used the same .c file in your project twice.

Make sure you haven't accidentally "included" ANY .c files, e.g., "include ifi_startup.c" is incorrect. Only .h files are ever included.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 04-02-2008, 12:33
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Compiler Error

The other possibility is that you've copied your code to another directory. Until you do a "Clean" (or a "Build"), something in the MPLAB project information is still pointing to the original files, and it picks up some of the same data twice.

The easiest way to fix this requires a single keystroke. Instead of just pressing F10 to compile, use Control-F10 to do a full build of the project. That will clear up anything still hanging on from the previous directory. Once that's done, F10 alone will be fine -- until the next time you copy your code to another directory.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler Error Vanquish Programming 2 14-01-2008 16:36
compiler error SgtMillhouse648 Programming 5 05-02-2007 15:21
stupid Array error: Error [1300] stack frame too l Validius Programming 7 27-01-2006 10:53
WEIRD compiler error Rickertsen2 Programming 7 05-02-2005 14:09
Confusing Compiler Error UrsaMNet Programming 2 28-10-2004 14:32


All times are GMT -5. The time now is 21:16.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi