Build started 8.7.2007 at 13:58:58 avr-gcc.exe -mmcu=atmega8 -Wall -gdwarf-2 -DF_CPU=3686400UL -O0 -fsigned-char -MD -MP -MT lcd-routines.o -MF dep/lcd-routines.o.d -c ../lcd-routines.c In file included from ../lcd-routines.c:2: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning
1 | "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" |
../lcd-routines.c:124:1: warning: "DELAY50US" redefined ../lcd-routines.c:8:1: warning: this is the location of the previous definition ../lcd-routines.c:142: error: redefinition of 'lcd_data' ../lcd-routines.c:17: error: previous definition of 'lcd_data' was here ../lcd-routines.c:162: error: redefinition of 'lcd_command' ../lcd-routines.c:35: error: previous definition of 'lcd_command' was here ../lcd-routines.c:181: error: redefinition of 'lcd_enable' ../lcd-routines.c:52: error: previous definition of 'lcd_enable' was here ../lcd-routines.c: In function 'lcd_enable': ../lcd-routines.c:182: error: 'LCD_EN' undeclared (first use in this function) ../lcd-routines.c:182: error: (Each undeclared identifier is reported only once ../lcd-routines.c:182: error: for each function it appears in.) ../lcd-routines.c: At top level: ../lcd-routines.c:193: error: redefinition of 'lcd_init' ../lcd-routines.c:64: error: previous definition of 'lcd_init' was here ../lcd-routines.c:228: error: redefinition of 'lcd_clear' ../lcd-routines.c:98: error: previous definition of 'lcd_clear' was here ../lcd-routines.c:235: error: redefinition of 'lcd_home' ../lcd-routines.c:105: error: previous definition of 'lcd_home' was here make: *** [lcd-routines.o] Error 1 Build failed with 15 errors and 3 warnings... Wie kann ich diese Optimierung einschalten?