We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
linker message: ERROR L127: UNRESOLVED EXTERNAL SYMBOL SYMBOL :?C?CSTOPTR MODULE : C:\KEIL\C51\LIB\C51BL.LIB (STRNCPY) this error is present if I only assign a value char to a variable char and a variable far is declared. x.e. f='\0' classic 8051 micro Ver C51 6.20 & 6.23 LIB 4.20 far support enabled
Did you configure and include XBANKING.A51 in your project? Jon
no I have not included XBANKING.A51 in my project, because I have configured xfar variables only with file : L51_bank.a51... with P1.4,P1.5 & P1.6 port pin. so the assembler STOPTR is no present in XBANKING.A51. /*******************/ if I not declare a far variable or I not use sprintf function the error is not present. thanks Francesco
Are you using LX51 Linker? Jon
yes I'm using LX51 linker..... but i think hat the error is located in libraries extended for far variables.... i'm rewriting function for string manipulation .... Francesco