by TheBoD » Wed Sep 26, 2012 3:52 am
Tom, I installed MPLABx and XC16 complier and tried again. This time the compilation fails with a different error - I have pasted the last part of the output log below. Do you think need to download the source files again from SVN ? When I called up MPLABx and imported the project it seemed to convert OK. Are there any other settings I need in MPLAB to run this - many thanks for your help !
Program Memory [Origin = 0x200, Length = 0x2a9fe]
section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
.text 0x200 0x2ad2 0x403b (16443)
build/default/production/_ext/1472/gluonscript.o(.text+0x2ba): In function `.LSM76':
.const 0x2cd2 0x4082 0x60c3 (24771)
.text 0x6d54 0x576e 0x8325 (33573)
: undefined reference to `_flightplan_switch_handle_gluonscriptcommand'
.dinit 0xc4c2 0x758 0xb04 (2820)
.text 0xcc1a 0x45ba 0x6897 (26775)
build/default/production/_ext/1472/gluonscript.o(.text+0x2bc): In function `.LSM76':
: undefined reference to `_flightplan_switch_handle_gluonscriptcommand'
Total program memory used (bytes): 0x197be (104382) 39%
Data Memory [Origin = 0x800, Length = 0x7800]
section address alignment gaps total length (dec)
------- ------- -------------- -------------------
.nbss 0x800 0 0x2 (2)
.bss 0x802 0 0x2c26 (11302)
.data 0x3428 0 0x3fe (1022)
.bss 0x3826 0 0xa58 (2648)
.data 0x427e 0 0x200 (512)
.data._powers_ 0x447e 0 0x160 (352)
.bss 0x45de 0 0x32e (814)
.data.dpowers 0x490c 0 0xa0 (160)
.bss 0x49ac 0 0x11e (286)
.bss 0x4aca 0 0x78 (120)
.data._iob 0x4b42 0 0x26 (38)
.bss 0x4b68 0 0x24 (36)
.bss 0x4b8c 0 0x20 (32)
.data 0x4bac 0 0xb6 (182)
.bss 0x4c62 0 0xa (10)
.bss 0x4c6c 0 0x4 (4)
.data 0x4c70 0 0x6 (6)
.bss 0x4c76 0 0x2 (2)
.data.__C30_UART 0x4c78 0 0x2 (2)
.heap 0x4c7a 0 0x2800 (10240)
_03899AE05062793f 0x7e00 0 0x90 (144)
.bss 0x7e90 0 0x4e (78)
.data 0x7ede 0 0x20 (32)
.bss 0x7efe 0 0x2 (2)
_03899CC05062793f 0x7f00 0 0x90 (144)
.bss 0x7f90 0 0x44 (68)
.data 0x7fd4 0 0x2a (42)
.data 0x7ffe 0 0x2 (2)
Total data memory used (bytes): 0x6e7a (28282) 92%
Dynamic Memory Usage
region address maximum length (dec)
------ ------- ---------------------
heap 0x4c7a 0x2800 (10240)
stack 0x747a 0x986 (2438)
Maximum dynamic memory (bytes): 0x3186 (12678)
make[2]: Leaving directory `C:/Users/Brian/Gluonpilot Oct 2012 firmware/rtos_pilot/rtos_pilot.X'
make[1]: Leaving directory `C:/Users/Brian/Gluonpilot Oct 2012 firmware/rtos_pilot/rtos_pilot.X'
make[2]: *** [dist/default/production/rtos_pilot.X.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 3m 34s)