Menu

ASLink error

BitJockey
2006-04-13
2013-03-12
  • BitJockey

    BitJockey - 2006-04-13

    Hello All,
        I am starting a project using SDCC for and Atmel CC03 MCU (8051 variant) I am trying to recompile a project that I had originally compiled with uC51. When I compile the project under SDCC I get the following:

    ?ASlink-Warning-Undefined Global '__divulong_PARM_2' referenced by module 'GP2D02'
    make: *** [GP2D02.hex] Error 1

    I have the path correct to SDCC. It is on my D: drive. I am a newbie to SDCC. What is the problem here???

    Thanks,

     
    • Anonymous

      Anonymous - 2006-04-18

      Hi BitJockey,
      you are probably using division of variables of type unsigned long somewhere in your program but don't link the unsigned long division routine (_divulong.asm). That asm source also defines the __divulong_PARM_2 variable which is actually a parameter to the division routine.
      mlynki

       

Log in to post a comment.