Dave Groft

Linker comman file error, File not found

Discussion created by Dave Groft on Jun 2, 2011
Latest reply on Mar 19, 2012 by CompilerGuru

Installed Products:

- CodeWarrior for MCU

Version: 10.1

Build Id:110204

Coldfire MCF52223

 

I am trying to get CW 10 to compile and link a previously working CW Classic project.  I am getting a bunch of errors like this

"Linker command file error at line XXX File not found: cf_loader.c" where XXX is a line line from in my .lcf file that comes from a section that looks like this

 

.cf_loader_rom : { // loader routines copied to ram only when needed

__CFLDR_MAIN_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_main_rom)

__CFLDR_SUM_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_sum_rom)

__CFLDR_WRITE_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_write_rom)

__CFLDR_ERASE_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_erase_rom)

__CFLDR_UINT32_IN_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_uint32_in_rom)

__CFLDR_UINT32_OUT_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_uint32_out_rom)

__CFLDR_INIT_PORT_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_init_port_rom)

__CFLDR_IRQ_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_irq_rom)

__CFLDR_GETCHAR_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_getchar_rom)

__CFLDR_CHECKCHAR_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_checkchar_rom)

__CFLDR_PUTCHAR_ROM = . - ADDR(.cf_loader_rom);

cf_loader.c(.cf_loader_putchar_rom)

} >> system_rom

 

Workspace path = "C:\0"

Project path = "C:\0\trailer"

Location of cf_loader.c = "C:\0\source\coldfire"

 

Where does the linker pick up the path for these files?

 

I have been trying various path settings in the project properties utiliity for two days now.  Any help would be appreciated.

Outcomes