No czułem, że mi się oberwie od p. Mika

kodu celowo nie wstawiałem, bo to raczej nie był problem złego kodu (zamiana nazw rejestrów), bo to potrafię opanować. Po prostu nie bardzo pojmuję dlaczego w oryginalnym projekcie posypały się błędy, a po przekopiowaniu wszystko się skompilowało. Ale teraz jak chciałem wrzucić tu na forum to co mi w konsoli wyrzuciło to już kompletnie ogłupiło mnie to co dostałem...
Eclipse Gadget pokazuje, że wszystko jest OK..
Console:
21:57:38 **** Build of configuration Release for project PPC_15_clock ****
make all
Building file: ../MK_USART/mkuart.c
Invoking: AVR Compiler
avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega1284p -DF_CPU=18432000UL -MMD -MP -MF"MK_USART/mkuart.d" -MT"MK_USART/mkuart.d" -c -o "MK_USART/mkuart.o" "../MK_USART/mkuart.c"
Finished building: ../MK_USART/mkuart.c
Building file: ../I2C_TWI/i2c_twi.c
Invoking: AVR Compiler
avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega1284p -DF_CPU=18432000UL -MMD -MP -MF"I2C_TWI/i2c_twi.d" -MT"I2C_TWI/i2c_twi.d" -c -o "I2C_TWI/i2c_twi.o" "../I2C_TWI/i2c_twi.c"
Finished building: ../I2C_TWI/i2c_twi.c
Building file: ../1Wire/crc8.c
Invoking: AVR Compiler
avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega1284p -DF_CPU=18432000UL -MMD -MP -MF"1Wire/crc8.d" -MT"1Wire/crc8.d" -c -o "1Wire/crc8.o" "../1Wire/crc8.c"
Finished building: ../1Wire/crc8.c
Building file: ../1Wire/ds18x20.c
Invoking: AVR Compiler
avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega1284p -DF_CPU=18432000UL -MMD -MP -MF"1Wire/ds18x20.d" -MT"1Wire/ds18x20.d" -c -o "1Wire/ds18x20.o" "../1Wire/ds18x20.c"
Finished building: ../1Wire/ds18x20.c
Building file: ../1Wire/onewire.c
Invoking: AVR Compiler
avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega1284p -DF_CPU=18432000UL -MMD -MP -MF"1Wire/onewire.d" -MT"1Wire/onewire.d" -c -o "1Wire/onewire.o" "../1Wire/onewire.c"
Finished building: ../1Wire/onewire.c
Building file: ../common.c
Invoking: AVR Compiler
avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega1284p -DF_CPU=18432000UL -MMD -MP -MF"common.d" -MT"common.d" -c -o "common.o" "../common.c"
Finished building: ../common.c
Building file: ../d_led.c
Invoking: AVR Compiler
avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega1284p -DF_CPU=18432000UL -MMD -MP -MF"d_led.d" -MT"d_led.d" -c -o "d_led.o" "../d_led.c"
Finished building: ../d_led.c
Building file: ../main.c
Invoking: AVR Compiler
avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega1284p -DF_CPU=18432000UL -MMD -MP -MF"main.d" -MT"main.d" -c -o "main.o" "../main.c"
Finished building: ../main.c
Building target: PPC_15_clock.elf
Invoking: AVR C Linker
avr-gcc -Wl,-Map,PPC_15_clock.map -mmcu=atmega1284p -o "PPC_15_clock.elf" ./MK_USART/mkuart.o ./I2C_TWI/i2c_twi.o ./1Wire/crc8.o ./1Wire/ds18x20.o ./1Wire/onewire.o ./common.o ./d_led.o ./main.o
Finished building target: PPC_15_clock.elf
Invoking: AVR Create Extended Listing
avr-objdump -h -S PPC_15_clock.elf >"PPC_15_clock.lss"
Finished building: PPC_15_clock.lss
Create Flash image (ihex format)
avr-objcopy -R .eeprom -R .fuse -R .lock -R .signature -O ihex PPC_15_clock.elf "PPC_15_clock.hex"
Finished building: PPC_15_clock.hex
Create eeprom image (ihex format)
avr-objcopy -j .eeprom --no-change-warnings --change-section-lma .eeprom=0 -O ihex PPC_15_clock.elf "PPC_15_clock.eep"
Finished building: PPC_15_clock.eep
Invoking: Print Size
avr-size --format=avr --mcu=atmega1284p PPC_15_clock.elf
AVR Memory Usage
----------------
Device: atmega1284p
Program: 9416 bytes (7.2% Full)
(.text + .data + .bootloader)
Data: 909 bytes (5.5% Full)
(.data + .bss + .noinit)
Finished building: sizedummy
21:57:40 Build Finished (took 2s.180ms)
a w oknie kodu mam zaznaczone błędy jak na obrazku (to tylko jeden ale jest tego więcej):

Nie wklejam wszystkiego, bo myślę, że skoro w nowym projekcie wszystko się kompiluje to nie sam kod jest problemem.
Panie Mirku... nie do końca jest mi wstyd, bo jak napisałem wyżej nie upatrywałem błędu w kodzie więc go nie wklejałem. Tym bardziej, że w nowym projekcie działa wszystko dobrze (brak błędów i ostrzeżeń).
Po prostu nie bardzo wiem jak to mam tutaj przedstawić skoro mam dwa bliźniacze projekty i jeden się kompiluje, a drugi tak jak wyżej opisałem.