[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] ld: crts8515.o: No such file; with avr-gcc under Linux

From: Günter Dannoritzer
Subject: [avr-gcc-list] ld: crts8515.o: No such file; with avr-gcc under Linux
Date: Wed, 23 Nov 2005 03:55:32 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041207)


I installed the binutils, gcc, and avr libc according to this explanation


on my Linux computer. Everything with the installation seemed to work fine and I can compile my project fine as well, however, I am getting the following linker error:

avr-gcc -Wl,-Map,camera.map -L/usr/local/avr/lib -o app.elf err.o intr.o ll.o print.o putchar.o quad.o tl.o uart.o wdog.o mmap.o tmr.o app.o main.o /usr/local/avr/lib/gcc/avr/4.0.2/../../../../avr/bin/ld: crts8515.o: No such file: No such file or directory
make: *** [camera.elf] Error 1

The crts8515.o file I found in folder /usr/local/avr/lib. So I added the -L /usr/local/avr/lib option to the linker call, but that did not make any difference.

I installed the tools in that order:

- binutils 2.16
- gcc 4.0.2
- avr libc 1.4

After having the first trouble I did install everything again, hoping I did something wrong the first time and a reinstall would solve it. Without success.

Here is my avr-gcc -v output:

> avr-gcc -v
Using built-in specs.
Target: avr
Configured with: ../configure --target=avr --prefix=/usr/local/avr --disable-nls --enable-language=c : (reconfigured) ../configure --prefix=/usr/local/avr --target=avr --enable-languages=c --disable-nls --with-dwarf2 : (reconfigured) ../configure --prefix=/usr/local/avr --target=avr --enable-languages=c --disable-nls --with-dwarf2
Thread model: single
gcc version 4.0.2

Does somebody has an idea what I could have done wrong?

Thanks for any help.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]