Log in

View Full Version : Error - section 'InterruptVectorLow'


HolyOne207
15-01-2005, 12:14
Ok, we have yet to change to code, just moved it's whereabots off the desktop so that it would not exceed the character alotment.

My question is: why, then, do I get this error?
Executing: "C:\mcc18\bin\mplink.exe" /l"C:\mcc18\lib" "18f8520user.lkr" "C:\Documents and Settings\sferron\Desktop\FrcCode2005v2.4\main.o" "C:\Documents and Settings\sferron\Desktop\FrcCode2005v2.4\user_Seri alDrv.o" "C:\Documents and Settings\sferron\Desktop\FrcCode2005v2.4\user_rout ines.o" "C:\Documents and Settings\sferron\Desktop\FrcCode2005v2.4\user_rout ines_fast.o" "C:\Documents and Settings\sferron\Desktop\FrcCode2005v2.4\ifi_utili ties.o" "C:\Documents and Settings\sferron\Desktop\FrcCode2005v2.4\ifi_start up.o" "C:\Documents and Settings\sferron\Desktop\FrcCode2005v2.4\user_came ra.o" "C:\FrcCode2005v2.4\main.o" "C:\FrcCode2005v2.4\user_SerialDrv.o" "C:\FrcCode2005v2.4\user_routines.o" "C:\FrcCode2005v2.4\user_routines_fast.o" "C:\FrcCode2005v2.4\ifi_utilities.o" "C:\FrcCode2005v2.4\ifi_startup.o" "C:\FrcCode2005v2.4\user_camera.o" "C:\FrcCode2005v2.4\FRC_library.lib" /o"FrcCode.cof"
[^that was all one line, btw.]
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



thank you

HolyOne207
15-01-2005, 12:46
Another thing:
The execution finds code in Documents and Settings and/or Desktop. I don't think any code should even be trying to be found there, since I moved it.

Once, again,
Thank you

Jay Lundy
15-01-2005, 16:22
It's linking together 2 user_routines_fast objects, each of which have a definition for a section named InterruptVectorLow. It links

C:\Documents and Settings\sferron\Desktop\FrcCode2005v2.4\user_rout ines_fast.o

and

C:\FrcCode2005v2.4\user_routines_fast.o

You need to make sure it only links one of each .o file or you'll run into lots of errors.

HolyOne207
15-01-2005, 18:02
can i say just delete the user-routines located at C:\FrcCode2005v2.4\user_routines_fast.o and it will work? i guess ill try it, thanks.