We have a library called 834keil.lib. This library seems to like being linked under the small memory model. There is an associated header file containing two globals with the data attribute. Removing the data attribute yields an error. We are compiling under the small memory model now and giving our globals an xdata attribute as a work-around.