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,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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,
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