lcd arduino update problem
Posted: Wed Apr 17, 2013 12:45 pm
in order to install the lcd unit for the rambo on my rostock i made all the necessary changes to my arduino software as explained on:
http://reprap.org/wiki/RamboLCD
when i tried to compile it i got an error and the fallowing explanation:
"
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x94): multiple definition of `digital_pin_to_bit_mask_PGM'
pins_arduino.c.o:(.progmem.data+0xa0): first defined here
c:/users/avi/desktop/cad/rostock/arduino-1.5.2-windows/arduino-1.5.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
c:/users/avi/desktop/cad/rostock/arduino-1.5.2-windows/arduino-1.5.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `digital_pin_to_bit_mask_PGM' changed from 82 in pins_arduino.c.o to 70 in C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o)
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x4e): multiple definition of `digital_pin_to_port_PGM'
pins_arduino.c.o:(.progmem.data+0x4e): first defined here
c:/users/avi/desktop/cad/rostock/arduino-1.5.2-windows/arduino-1.5.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `digital_pin_to_port_PGM' changed from 82 in pins_arduino.c.o to 70 in C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o)
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x0): multiple definition of `port_to_mode_PGM'
pins_arduino.c.o:(.progmem.data+0x0): first defined here
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x1a): multiple definition of `port_to_output_PGM'
pins_arduino.c.o:(.progmem.data+0x1a): first defined here
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0xda): multiple definition of `digital_pin_to_timer_PGM'
pins_arduino.c.o:(.progmem.data+0xf2): first defined here
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x34): multiple definition of `port_to_input_PGM'
pins_arduino.c.o:(.progmem.data+0x34): first defined here
"
anyone have an idea what i'm doing wrong?
thanks!
http://reprap.org/wiki/RamboLCD
when i tried to compile it i got an error and the fallowing explanation:
"
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x94): multiple definition of `digital_pin_to_bit_mask_PGM'
pins_arduino.c.o:(.progmem.data+0xa0): first defined here
c:/users/avi/desktop/cad/rostock/arduino-1.5.2-windows/arduino-1.5.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
c:/users/avi/desktop/cad/rostock/arduino-1.5.2-windows/arduino-1.5.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `digital_pin_to_bit_mask_PGM' changed from 82 in pins_arduino.c.o to 70 in C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o)
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x4e): multiple definition of `digital_pin_to_port_PGM'
pins_arduino.c.o:(.progmem.data+0x4e): first defined here
c:/users/avi/desktop/cad/rostock/arduino-1.5.2-windows/arduino-1.5.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `digital_pin_to_port_PGM' changed from 82 in pins_arduino.c.o to 70 in C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o)
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x0): multiple definition of `port_to_mode_PGM'
pins_arduino.c.o:(.progmem.data+0x0): first defined here
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x1a): multiple definition of `port_to_output_PGM'
pins_arduino.c.o:(.progmem.data+0x1a): first defined here
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0xda): multiple definition of `digital_pin_to_timer_PGM'
pins_arduino.c.o:(.progmem.data+0xf2): first defined here
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x34): multiple definition of `port_to_input_PGM'
pins_arduino.c.o:(.progmem.data+0x34): first defined here
"
anyone have an idea what i'm doing wrong?
thanks!