[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] ../../../avr/bin/ld: cannot open crts2313.o: HELP
From: |
Gahame Kelly |
Subject: |
[avr-gcc-list] ../../../avr/bin/ld: cannot open crts2313.o: HELP |
Date: |
Sun, 22 Jul 2001 13:59:58 +1000 |
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] ../../../avr/bin/ld: cannot open crts2313.o: HELP,
Gahame Kelly <=