Go to Post After it took us weeks to machine sideplates for our 8WD, seeing their simple yet effective drivetrain was a huge "forehead slap" moment. - Chris is me [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 02-02-2005, 19:02
Redneck's Avatar
Redneck Redneck is offline
Hacker Hick
AKA: Jamie (2.0) Moran
FRC #0599 (Robodox)
Team Role: Engineer
 
Join Date: Aug 2004
Rookie Year: 2004
Location: California
Posts: 90
Redneck is just really niceRedneck is just really niceRedneck is just really niceRedneck is just really nice
Send a message via AIM to Redneck
Question InterruptVectorLow error when we compile

Anytime we try to compile our code, we get the following error:


MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - section 'InterruptVectorLow' type is non-overlay and absolute but occurs in more than one input file.
Errors : 1

BUILD FAILED: Wed Feb 02 15:55:41 2005



What the devil does this mean, and how do we fix it?
  #2   Spotlight this post!  
Unread 02-02-2005, 19:06
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: InterruptVectorLow error when we compile

Quote:
Originally Posted by Redneck
Anytime we try to compile our code, we get the following error:


MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - section 'InterruptVectorLow' type is non-overlay and absolute but occurs in more than one input file.
Errors : 1

BUILD FAILED: Wed Feb 02 15:55:41 2005



What the devil does this mean, and how do we fix it?
I'm not exactly sure, but what did you change from the default code? I'm assuming you started from the default code v2.4 (the one that supports the camera). Try e-mailing Innovation First, becuase that sounds like a really low-level problem in one of those ugly header files.
__________________
Aren't signatures a bit outdated?
  #3   Spotlight this post!  
Unread 02-02-2005, 19:31
Redneck's Avatar
Redneck Redneck is offline
Hacker Hick
AKA: Jamie (2.0) Moran
FRC #0599 (Robodox)
Team Role: Engineer
 
Join Date: Aug 2004
Rookie Year: 2004
Location: California
Posts: 90
Redneck is just really niceRedneck is just really niceRedneck is just really niceRedneck is just really nice
Send a message via AIM to Redneck
Re: InterruptVectorLow error when we compile

Yeah, we started with the latest version of the default code. We've added accelerometer code (downloaded from Kevin Watson's website), added relays, and modified the drive code a little. Taking out the accelerometer code didn't help. Even taking out all our changes didn't fix it. We'll try e-mailing Innovation First, but in the mean time, does anyone else have any suggestions? Anyone else had the same problem?
  #4   Spotlight this post!  
Unread 02-02-2005, 19:33
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,817
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: InterruptVectorLow error when we compile

You have somehow added two copies of the file user_routines_fast.c to your project. The error you're getting means you're attempting to define InterruptVectorLow twice.

In MPLAB look at the project file list (the window labeled "FrcCode.mcw") to see if you have the "user_routines_fast.c" file listed twice.

You can also do a search (Project -> Find in Project Files...) for InterruptVectorLow to see all the places it's getting declared.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-02-2005 at 19:36.
  #5   Spotlight this post!  
Unread 02-02-2005, 20:29
Redneck's Avatar
Redneck Redneck is offline
Hacker Hick
AKA: Jamie (2.0) Moran
FRC #0599 (Robodox)
Team Role: Engineer
 
Join Date: Aug 2004
Rookie Year: 2004
Location: California
Posts: 90
Redneck is just really niceRedneck is just really niceRedneck is just really niceRedneck is just really nice
Send a message via AIM to Redneck
Re: InterruptVectorLow error when we compile

I checked... only one copy of user_routines_fast.c
Also, after checking every file in the workspace, I only found InterruptVectorLow declared in ONE place, where it's supposed to be in user_routines_fast.c

I re-downloaded the default code, copy/pasted all the changes we'd made into the new copy of the default EXACTLY as they were in our previous code, and it magically compiles now.
  #6   Spotlight this post!  
Unread 02-02-2005, 22:57
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: InterruptVectorLow error when we compile

We get that error whenever we first compile a project in a new folder. I don't know what the cause is, but the solution is to do a Ctrl-F10 "full build" of the project. Thereafter, a regular F10 "make" works fine.
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
2005 default code won't compile Robby Programming 22 04-02-2005 18:21
What is wrong with this code???? It won't Compile and I don't know why? Please Help CrashZero Programming 23 26-03-2004 09:44
Printf warning during compile? actorindp Programming 4 20-02-2004 17:02
Compile error blindguyinanorg Programming 4 12-02-2004 19:49


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

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