This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C51: unresolved external warnings L1 and L2

I have an unresolved external (warnings L1 / L2) but the linker still creates a target. If I miss the warnings as they scroll past I end up with a target that will reset when it hits the reference. How can I promote the warning to an error or otherwise prevent the creation of the target?

linking...
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: MY_TYPO_FUNCTION_NAME MODULE: myfile.obj (MYFILE)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: MY_TYPO_FUNCTION_NAME MODULE: myfile.obj (MYFILE) ADDRESS: 29A0H
Program Size: data=202.3 xdata=927 code=11390
creating hex file from "KeilPortEmulator"...
User command #1: sp8051ke -v KeilPortEmulator -s"C:\Documents and Settings\alecjames\My Documents\software\Project\Source"
HiSYMP symbol preprocessor for Keil C-51 Version V6.19
...

IDE-Version:
µVision V4.70.0.0
Copyright (C) 2013 ARM Ltd and ARM Germany GmbH. All rights reserved.

Tool Version Numbers:
Toolchain: PK51 Prof. Developers Kit Version: 9.51
Toolchain Path: C:\Keil\C51\BIN
C Compiler: C51.Exe V9.51
Assembler: A51.Exe V8.02b
Linker/Locator: BL51.Exe V6.22
Librarian: LIB51.Exe V4.29
Hex Converter: OH51.Exe V2.6
CPU DLL: S8051.DLL V3.85.0.0
Dialog DLL: DP51.DLL V2.62.0.1

thanks