Red Hat Bugzilla – Bug 486864
avr-gcc -mmcu=at90usb1287 fails to find crtusb1287.o
Last modified: 2009-02-23 07:11:24 EST
Description of problem:
"avr-gcc -mmcu=at90usb1287" fails because it can't find crtusb1287.o
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. avr-gcc -Wall -Os -g -mmcu=at90usb1287 -DF_CPU=16000000UL blink.c -o blink
/usr/lib/gcc/avr/4.3.3/../../../../avr/bin/ld: crtusb1287.o: No such file: No such file or directory
1. Compiling works if I do:
sudo ln -s avr5 /usr/avr/lib/avr51
I found out that avr-gcc looks for crtusb1287.o under /usr/avr/lib/avr51 through the "strace" utility.
2. Since interesting projects like "lufa":
now requires avr-libc-1.6.2 or newer I'd really appreciate an update of avr-libc.
avr-libc-1.6.4 is in the pending updates since 2009-02-19:
It should fix the problem.
BTW, the noarch RPM is available here:
Thanks for the quick reply. I'm now happily using avr-libc-1.6.4-1.fc11.noarch.rpm to build lufa on my at90usb1287 board :) Closing this bug as I expect the avr-libc-1.6.4 update is on its way to Fedora 10.