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

?C?IILDOPTR UNRESOLVED EXTERNAL

I have some code that is doing address arithmetic on a (far) pointer in a structure. When I try and link I get the following error(s):

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  ?C?IILDOPTR
    MODULE:  .\obj\pixel.obj (PIXEL)
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  ?C?IILDOPTR
    MODULE:  .\obj\pixel.obj (PIXEL)

This would appear to be a compiler library routine. (I.E. not in my code). If I remove the address arithmetic line, things link fine. The code compiles, links, and works fine on 4 other platforms.

Do I need to add a different library to link against? I'm using a new project for the DS80C390 in 22bit contiguous mode in v6.22.

I'll extract a code example if needed, but I was hoping someone would recognize the link error...

Parents
  • ?C?IILDOPTR can be found in

    (the C51_SMALL_LIBRARY C51S.LIB)
    (the C51_COMPACT_LIBRARY C51C.LIB)
    (the C51_LARGE_LIBRARY C51L.LIB)
    

    Did you correctly set up the search path C51LIB ?

    (Maybe my Libraries are out of date.
    So try this at the DOS-Prompt:
    LIB51  LIST libray-file TO text-file PUBLICS
    where libray-file is the library to investigate
    and text-file is the file to receive info about the lib.
    So you can verify/falsify what I've said above.)

    Norbert


Reply
  • ?C?IILDOPTR can be found in

    (the C51_SMALL_LIBRARY C51S.LIB)
    (the C51_COMPACT_LIBRARY C51C.LIB)
    (the C51_LARGE_LIBRARY C51L.LIB)
    

    Did you correctly set up the search path C51LIB ?

    (Maybe my Libraries are out of date.
    So try this at the DOS-Prompt:
    LIB51  LIST libray-file TO text-file PUBLICS
    where libray-file is the library to investigate
    and text-file is the file to receive info about the lib.
    So you can verify/falsify what I've said above.)

    Norbert


Children
  • > Did you correctly set up the search path C51LIB ?

    I'm running it from the IDE, anything special I need to do? Aren't the libraries you mentioned "standard" and included in all builds with the IDE?

    While I didn't compile this in the old 16-bit mode, I didn't see the problem until I moved to the contiguous dallas mode, which uses the extended linker.