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

Improper fixup

Hi

I am receiving:

*** ERROR L121: IMPROPER FIXUP

MODULE: C:\KEIL\C51\LIB\C51C.LIB (PRINTF)

SEGMENT: ?PR?PRINTF?PRINTF

OFFSET: 0068H

I have tryied to read threads about this, but cannot understand it since it appears in a .LIB file

Any help? Really needing it.
Thanks for your time
Dario

Parents
  • During my MS-DOS programming days, I now and then made use of the compact, medium or even large memory models. I understand that this makes me unworthy of continued posting on this site.

    The only thing I can say to my defense is that I never used the huge memory model. Just a huge-declared array now and then, when I really needed it.

     * 5A3266E3-82B2-4DCB-8A0C-23BE1236021C walks shamefully home with tail between legs.

Reply
  • During my MS-DOS programming days, I now and then made use of the compact, medium or even large memory models. I understand that this makes me unworthy of continued posting on this site.

    The only thing I can say to my defense is that I never used the huge memory model. Just a huge-declared array now and then, when I really needed it.

     * 5A3266E3-82B2-4DCB-8A0C-23BE1236021C walks shamefully home with tail between legs.

Children
  • During my MS-DOS programming days, I now and then made use of the compact, medium or even large memory models. I understand that this makes me unworthy of continued posting on this site.

    Not at all, my comments re memory model are strictly related to the '51 where the architecture makes the penalty for choosing the large model many times more severe than for e.g. an x86.

    Also an x86 app is typically a "processor" rather than a "controller" app and who gives a hoot if a "process" is complete im 10uS or 10mS. for a "controller' app that, however can be the difference between success and failure.

    Erik

  • During my MS-DOS programming days, I now and then made use of the compact, medium or even large memory models.

    Whoops - Now you mention it, so did I.

    Oh dear, that must make me a habitual un-optimized coder ;)

  • Oh dear, that must make me a habitual un-optimized coder
    not at all, as I replied to Per, what you did with DOS (hopefully) has no bearing on what you do with the '51.
    I, for one, do not apply the same practices to an ARM as I do to a '51, e.g. while I consider using a RTOS for the '51 totally ridiculous, I see nothing wrong with using one on an ARM.
    I do not recall what I did in my DOS days, but may, very well, be as 'guilty' as you.

    Erik

  • I, for one, do not apply the same practices to an ARM as I do to a '51, e.g. while I consider using a RTOS for the '51 totally ridiculous, I see nothing wrong with using one on an ARM.

    On that point, I would certainly agree.