cancel
Showing results for 
Search instead for 
Did you mean: 

Linker Error message

johncrisco9
Associate
Posted on August 13, 2011 at 16:21

I am getting a linker error message that I cannot find a way to resolve - here is the error:

Running Linker

clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib'' -l''C:\Program Files\COSMIC\CXSTM8_16K''  -o Debug\newarmour.sm8 -l..\project -l''..\..\..\..\..\..\..\..\program files\cosmic\cxstm8_16k'' -mDebug\newarmour.map 

#error clnk :1 missing command file

 The command: ''clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib'' -l''C:\Program Files\COSMIC\CXSTM8_16K''  -o Debug\newarmour.sm8 -l..\project -l''..\..\..\..\..\..\..\..\program files\cosmic\cxstm8_16k'' -mDebug\newarmour.map '' has failed, the returned value is: 1

exit code=1.

newarmour.elf - 2 error(s), 0 warning(s)

I am not typically running this kind of software - I am a sale/appliction engineer trying to fix a problem for a customer, so I am not sure why I am getting this error.

I am running STVD with Cosmic compiler/linker

thanks for any help

1 REPLY 1
luca239955_stm1_st
Senior II
Posted on August 16, 2011 at 09:28

from the linker point of view the error message is quite clear: you are calling it without specifying the mandatory ''file.lkf'' parameter (the linker file)

If you are using STVD the solution will probably be in the Project Settings / Linker / Input tab.