AnsweredAssumed Answered

L1823 error on all volatiles in MCUInit.c

Question asked by Ron Menelli on Apr 18, 2008
Latest reply on May 9, 2008 by ivor smorenburg
Hello, I have a strange problem that I'm encountering in a CW6.0 project. I'm building for an 9S08AW60 target, and I've had it working successfully for quite a while. I've added more code recently and now I get these linker errors:

L1823: External object _SOPT in [Long path deleted]\MCUInit.c.o created by default

This repeats for what looks to be every volatile register variable referenced in MCUInit.c.

What could cause this? This was just working a short while ago. The only modifications I made to MCUInit.c are to add some code in the isr routines and to add a few #includes to bring in function prototypes. The #include <MC9SAW60.h> statement is right at the top of the file where PE left it, and it seems like all of those volatile definitions are there in the file.

Can anyone help me figure out what I'm doing wrong? Thanks!