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
  • ( Do I get a cupie doll for finding this? :D )

    No. I stopped playing with dolls a long time ago and so should you. :-)

    I tried V7.20 and sure enough it does generate that warning. It also generates the correct code, so the warning is superfluous, but annoying.

    C51 V7.50 does not generate the warning and it, too, generates the correct code.

    Have you tried to download the latest update (V7.50a) and use it?

    Jon

Reply
  • ( Do I get a cupie doll for finding this? :D )

    No. I stopped playing with dolls a long time ago and so should you. :-)

    I tried V7.20 and sure enough it does generate that warning. It also generates the correct code, so the warning is superfluous, but annoying.

    C51 V7.50 does not generate the warning and it, too, generates the correct code.

    Have you tried to download the latest update (V7.50a) and use it?

    Jon

Children