2007-02-26 04:02 AM
Help again: Cosmic linker problem!
2007-02-24 09:09 PM
I dont understand what's the problem!
I use ST7Lite19 and I have convert my project Hiware to Cosmic. The single file.c compile but whan I try to ''Built'' I have alwais this error: clnk -lC:\Programmi\COSMIC\CXST7_16K\Lib -o Debug\new_st7 -mDebug\new_map Debug\new_lkf #error clnk Debug\new_lkf:1 symbol c_xlcmp not defined (Debug\interrupt_vector.o ) #error clnk Debug\new_lkf:1 symbol c_lreg not defined (Debug\interrupt_vector.o ) #error clnk Debug\new_lkf:1 symbol c_uitol not defined (Debug\interrupt_vector.o ) I use default linker setting for small memory model. I use crtsx.st7 startup file. In attachment my .lkf file. What's the problem?Where is c_xlcmp symbol? :-[ :-[ :| Thanks a lot! ________________ Attachments : new_29.lkf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0FS&d=%2Fa%2F0X0000000bW7%2Fv9fAHkEUgAP0R5HKqbtSvK.0e1nL_L8GFBXwk_QJyvo&asPdf=false2007-02-25 03:47 AM
looks like you are using long (and/or float) and not linking the right libraries.
Change # libims.st7 libm.st7 # with # libfms.st7 libims.st7 libm.st7 # and it should work. Regards, Luca2007-02-25 07:38 AM
Thanks a lot for your help! :)
I dont use long or float. I have same error! :o I use only 2 var in eeprom defined: @eeprom unsigned int EEPROM[0x40]; Other vars are: unsigned int or unsigned char without istruction '#pragma'. :-[ Thanks again!!! ;)2007-02-25 08:11 PM
mailto:luca.ubiali@cosmic.fr
Regards, Luca2007-02-26 04:02 AM