|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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
|
|||||
|
|||||
|
Re: InterruptVectorLow error when we compile
Quote:
|
|
#3
|
||||
|
||||
|
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
|
|||||
|
|||||
|
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. Last edited by Mark McLeod : 02-02-2005 at 19:36. |
|
#5
|
||||
|
||||
|
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
|
|||||
|
|||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |