NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » initialload make error - possible avr-gcc installation problem
| 
  December 27, 2009  by Matso  | 
I'm running Fedora 12. I installed avr-gcc using the following commands: yum install gcc avr-gcc avr-libc avrdude I get the follow make error: [root@fedora initialload]# make make -C ../libnerdkits make[1]: Entering directory `/home/Matt/Downloads/Code/libnerdkits' avr-gcc -g -Os -Wall -mmcu=atmega168 -o lcd.o -c lcd.c as: unrecognized option '-mmcu=atmega168' make[1]: *** [lcd.o] Error 1 make[1]: Leaving directory `/home/Matt/Downloads/Code/libnerdkits' make: *** I'm guessing I don't have avr-gcc installed correctly. Can someone help me?  | 
|---|---|
| 
  December 27, 2009  by hevans (NerdKits Staff)  | 
Hi Matso, That is odd. It is possible the version of avr-gcc in Fedoras repos are too old. What does 
print? Also try 
towards the top of that print out there is a "known MCU names" section. Make sure atmega168 is in there. Let us know what you get. Humberto  | 
Please log in to post a reply.
| 
		 
Did you know that you can control 120 LEDs with just 17 microcontroller pins?  Learn more...
		 
	 |