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

Intrinsic _pop_ funciton unresolved at link time

WTF? Its supposed to be instrinsic. I check the assembler listing and I see the resulting "pop" op-code, yet when the program links it gives the following error:

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: __POP_
MODULE: BLA BLA BLA

NOTE: The "Intrins.h" file is included (obviously), and preceeding the _pop_(.), I'm using _push_(.), ...yet push does not produce the error.

Info:

IDE-Version:
µVision2 V2.40a
Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2003

Tool Version Numbers:
Toolchain Path: C:\Keil\C51\BIN\
C Compiler: C51.Exe V7.20
Assembler: A51.Exe V7.09
Linker/Locator: BL51.Exe V5.11
Librarian: LIB51.Exe V4.24
Hex Converter: OH51.Exe V2.6
CPU DLL: S8051.DLL V2.43
Dialog DLL: DP51.DLL V2.43

Parents
  • More Info:

    I think this problem is originating in the compiler rather than the linker, considering the .LST file contains the following symbol reference:

    __pop_ . . . . . . . . . . . . . . . .  EXTERN   CODE   PROC     -----  -----
    
    Note that it even mangles the name by prepending an additional underscore to denote regparms.

Reply
  • More Info:

    I think this problem is originating in the compiler rather than the linker, considering the .LST file contains the following symbol reference:

    __pop_ . . . . . . . . . . . . . . . .  EXTERN   CODE   PROC     -----  -----
    
    Note that it even mangles the name by prepending an additional underscore to denote regparms.

Children
No data