avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] ../../../avr/bin/ld: cannot open crts2313.o: HELP


From: MWP
Subject: Re: [avr-gcc-list] ../../../avr/bin/ld: cannot open crts2313.o: HELP
Date: Sun, 22 Jul 2001 23:11:05 +1000 (EST)

Hi...

Rather funny, this sounds EXACTLY the same as an email i posted to this
list about a month ago.

I got the problem fixed, but not really solved (if you get my drift).
In the end i re-downloaded the latest snapshots of gcc, binutils and
avr-libc which i then recompiled. This solved the problem.
So i cant tell you what caused the problem, or how to fix it without
taking the annoying steps i did.

MWP

On Sun, 22 Jul 2001, Gahame Kelly wrote:

> Hi All.
> 
> I am using binutils-2.11.2, gcc-3.0, avr-libc-20010701. All compiled, install
> and running correctly. My exported path has /opt/avr/bin first in the path 
> environment.
> 
> My problem is with the following error.
> /opt/avr/lib/gcc-lib/avr/3.0/../../../../avr/bin/ld: cannot open crts2313.o: 
> No such file or directory
> make: *** [keymain.elf] Error 1
> 
> I have checked and rechecked - crts2313.o does exist, has permissions
> for all to read, but I am a little perplexed as to why it faults. I note from 
> the above error line it go'es back to ../../../avr/bin/ld (which is really 
> avr-ld, but making a symbolic link /opt/avr/bin/avr-ld <-> /opt/avr/bin/ld
> made no difference - make produces the same error message.
> 
> So I need help please to sort out what I hope is the final hurdle before I
> can get stuff into AVR C programming.
> 
> Any assistance apprecriated. Cheers, Grahame.
> ---------------------------------------------------------------------------------
> 
> address@hidden:~/AVR/AVR-TEST/hg-sware-0.91/board > make
> 
> avr-gcc -c -O3 -Wall -fomit-frame-pointer -Wstrict-prototypes 
> -Wa,-ahlms=keymain.lst -mmcu=at90s2313 -I/opt/avr/include keymain.c -o 
> keymain.o
> 
> keymain.c:71: warning: return type of `main' is not `int'
> 
> avr-gcc -c -O3 -Wall -fomit-frame-pointer -Wstrict-prototypes 
> -Wa,-ahlms=keysta.lst -mmcu=at90s2313 -I/opt/avr/include keysta.c -o keysta.o
> 
> avr-gcc -c -O3 -Wall -fomit-frame-pointer -Wstrict-prototypes 
> -Wa,-ahlms=lcd.lst -mmcu=at90s2313 -I/opt/avr/include lcd.c -o lcd.o
> avr-gcc  keymain.o keysta.o lcd.o   -Wl,-Map=keymain.map,--cref 
> -mmcu=at90s2313 -o keymain.elf
> 
> /opt/avr/lib/gcc-lib/avr/3.0/../../../../avr/bin/ld: cannot open crts2313.o: 
> No such file or directory
> make: *** [keymain.elf] Error 1
> 
> 
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://avr.jpk.co.nz/mailman/listinfo/avr-gcc-list
> 




reply via email to

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