Pumpkin, Inc.

Pumpkin User Forums

Compilation-problems

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

Compilation-problems

Postby larsbn » Thu Jun 11, 2009 5:49 am

Dear Sir,

I have a problem that is driving me crazy… I’ve written simple RTOS-application for a PIC18F458 using Salvo RTOS. It has only two tasks, one is incrementing a counter variable and the other one display the counter value on a 7-segment display.
First of all it works fine, so the program is fine and my hardware is fine. So far so good.
Next closed the project, opens a new project in MPLAB and intend to edit the previous program. In order to do so I first copy the old file and before I edit it I just try to compile it in the new project. That won’t compile, though! I’ve checked and double-checked that all environmental settings are identical in both projects, but when I try to compile it I get the following errors in the output window:

Error [1267] C:salvolibhtpicc18sfp83smb.lib(init.obj); 13. fixup overflow referencing symbol _OSeligQP (0x5F0) into 1 byte at 0x3D24 (C:salvolibhtpicc18sfp83smb.lib:init.obj 13/0x0) Error [1267] C:salvolibhtpicc18sfp83smb.lib(init.obj); 13. fixup overflow referencing symbol _OSeligQP (0x5F1) into 1 byte at 0x3D26 (C:salvolibhtpicc18sfp83smb.lib:init.obj 13/0x2) Error [1267] C:salvolibhtpicc18sfp83smb.lib(init.obj); 13. fixup overflow referencing symbol _OScTcbP (0x5EE) into 1 byte at 0x3D28 (C:salvolibhtpicc18sfp83smb.lib:init.obj 13/0x4) Error [1267] C:salvolibhtpicc18sfp83smb.lib(init.obj); 13. fixup overflow referencing symbol _OScTcbP (0x5EF) into 1 byte at 0x3D2A (C:salvolibhtpicc18sfp83smb.lib:init.obj 13/0x6) Error [1267] C:salvolibhtpicc18sfp83smb.lib(init.obj); 13. fixup overflow referencing symbol _OStimerTicks (0x5F2) into 1 byte at 0x3D2C (C:salvolibhtpicc18sfp83smb.lib:init.obj 13/0x8) Error [1267] C:salvolibhtpicc18sfp83smb.lib(init.obj); 13. fixup overflow referencing symbol _OStimerTicks (0x5F3) into 1 byte at 0x3D2E (C:salvolibhtpicc18sfp83smb.lib:init.obj 13/0xA) Error [1267] C:salvolibhtpicc18sfp83smb.lib(init.obj); 13. fixup overflow referencing symbol _OStimerTicks (0x5F4) into 1 byte at 0x3D30 (C:salvolibhtpicc18sfp83smb.lib:init.obj 13/0xC) Error [1267] C:salvolibhtpicc18sfp83smb.lib(init.obj); 13. fixup overflow referencing symbol _OStimerTicks (0x5F5) into 1 byte at 0x3D32 (C:salvolibhtpicc18sfp83smb.lib:init.obj 13/0xE) Error [1267] indir.as; 22. fixup overflow referencing symbol _OScTcbP (0x5EF) into 1 byte at 0x3DFC (C:salvolibhtpicc18sfp83smb.lib:sched.obj 16/0xE) Error [1267] indir.as; 22. fixup overflow referencing symbol _OScTcbP (0x5EE) into 1 byte at 0x3DFE (C:salvolibhtpicc18sfp83smb.lib:sched.obj 16/0x10) Error [1267] indir.as; 22. fixup overflow referencing symbol _OSeligQP (0x5F0) into 1 byte at 0x3E08 (C:salvolibhtpicc18sfp83smb.lib:sched.obj 16/0x1A) Error [1267] indir.as; 22. fixup overflow referencing symbol _OSeligQP (0x5F1) into 1 byte at 0x3E0C (C:salvolibhtpicc18sfp83smb.lib:sched.obj 16/0x1E) Error [1267] indir.as; 22. fixup overflow referencing symbol _OScTcbP (0x5EE) into 1 byte at 0x3E20 (C:salvolibhtpicc18sfp83smb.lib:sched.obj 16/0x32) Error [1267] indir.as; 22. fixup overflow referencing symbol _OScTcbP (0x5EF) into 1 byte at 0x3E24 (C:salvolibhtpicc18sfp83smb.lib:sched.obj 16/0x36) Error [1267] indir.as; 22. fixup overflow referencing symbol _OScTcbP (0x5EE) into 1 byte at 0x3D52 (C:salvolibhtpicc18sfp83smb.lib:util.obj 13/0xA) Error [1267] indir.as; 22. fixup overflow referencing symbol _OScTcbP (0x5EF) into 1 byte at 0x3D56 (C:salvolibhtpicc18sfp83smb.lib:util.obj 13/0xE)

However, if I under “Build options” add a path to the Desktop in the “Output Directories” window, it compiles!

When I double-click on one of the error in the output-window, a message window pops up, saying: “Csalvolibhtpicc18sfp83smb.lib(init.obj) was not found.”.

There must be something wrong with my environmental settings, but I just can’t figure it out. Do you have any idea of what’s going on?

Sincerly,LarsB

/L
larsbn
 
Posts: 18
Joined: Mon Mar 10, 2008 11:00 pm
Location: Gothenburg, Sweden

Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 3 guests

cron