I had to reinstall my XP OS and now a m644 pjt. that worked before the reinstall doesn't compile now !!? I get "undeclared" variable errors related to the 4 SPI port pins. I have a SPI.h file and the errors are all from there ( I have avr/io.h in that file too). I did a search function of the entire Winavr "AVR" folder for "MISO" and ONLY 26 MCUs come up as even having that ! WTH ?!!!
I have #1 & #2 from my sign. below and Winavr from sourceforge site, which I had to download since I didn't have a copy from the previous install. My Studio pjt. settings are correct.