I have been working with AVR studio for over a year now, and all of the sudden I can't seem to even make a simple project and have it compile. Yet when I open my previous projects they work fine. I have a prototype program which I am going to do another revision on, so I copied the .c files created a new project folder pasted them in, added them to the source files/header files folders respectively and it keeps giving me errors on each of the .c files, yet I don't understand what the error is. So I created another simple project with just one source file, an put an endless loop in it and the same thing.
avr-gcc -mmcu=atmega88p -Wall -gdwarf-2 -std=gnu99 -DF_CPU=20000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT PP5_SafetyStop.o -MF dep/PP5_SafetyStop.o.d -c ../PP5_SafetyStop.c
avr-gcc -mmcu=atmega88p -Wl,-Map=PP5_SafetyStop.map PP5_SafetyStop.o -o PP5_SafetyStop.elf
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature PP5_SafetyStop.elf PP5_SafetyStop.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex PP5_SafetyStop.elf PP5_SafetyStop.eep || exit 0
avr-objdump -h -S PP5_SafetyStop.elf > PP5_SafetyStop.lss
AVR Memory Usage
Program: 76 bytes (0.9% Full)
(.text + .data + .bootloader)
Data: 0 bytes (0.0% Full)
(.data + .bss + .noinit)
Build failed with 5 errors and 0 warnings...
What I don't understand is what some of those error messages mean, avr-gcc is not liking something, but not sure what because all its telling me is that it couldn't build the object files and all that jazz...
I have 2 computers with Avr Studio 4 build 700(newest) with newest win avr, on XP-Pro SP3, both doing the same thing. The commonality is that my files are stored on a flash drive, but I tried doing everything locally thinking there was a corrupt memory segment, same problem. So I must be doing something wrong and gcc is telling me, but I don't understand what its telling me.