Go to Post Sure, it's just a robotics competition, but some of us actually care about the robots... - Karthik [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 13-02-2006, 17:37
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
linker error help

I am getting a: symbol 'FIRE_DELAYS' has multiple definitions

Now the problem is, FIRE_DELAYS is only refrenced two places in my code. they are:
Code:
------ fire_control.h -------
#ifndef __fire_control_h_
#define __fire_control_h_
...
const unsigned char FIRE_DELAYS[] =
	{75,	/*FIRING*/
 	 200,	/*RETRACTING*/
 	 500};	/*LOADING*/
...
#endif

------ fire control.c -------
#include "fire_control.h"

void FireControl(void){
	...
	if(i < FIRE_DELAYS[fireState -1]){
 	 	...
 	}
 	...
}
Am i just totally overlooking something really obvious, or is the linker behaving oddly.
__________________
1139 Alumni

Last edited by Rickertsen2 : 13-02-2006 at 17:39.
 


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
guidelines for modifying the linker script??? gnormhurst Programming 2 06-03-2005 02:03
Linker Error Max Lobovsky Programming 4 27-05-2004 20:16
Linker Error help Dinush Programming 3 11-02-2004 21:44


All times are GMT -5. The time now is 20:58.

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