Andes Workshop
http://forum.andestech.com/

Andesight v1.4編譯error
http://forum.andestech.com/viewtopic.php?f=6&t=543
Page 1 of 1

Author:  cindy [ Wed Feb 29, 2012 6:35 pm ]
Post subject:  Andesight v1.4編譯error

Q:我依據AndeSight v1.4的user manual,在AndeSight v1.4下編譯/demo/startup,但是編譯不過。出現下面error,請問是什麼原因?
/cygdrive/e/Andestech/AndeSight14/toolchains/nds32le-elf-newlib-V0/bin/nds32le-elf-gcc -c -c crt0.S -o crt0.o
nds32le-elf-gcc: /cygdrive/d/build-as-v1_4/v14-config/../build-2010-05-10/task-nds32le-elf-newlib-V0/build/disable-shared/nds32le-elf/lib/gcc/nds32le-elf/specs: No medium found
make: *** [crt0.o] Error 1
/cygdrive/e/Andestech/AndeSight14/toolchains/nds32le-elf-newlib-V0/bin/nds32le-elf-gcc -c -c precinit.S -o precinit.o
nds32le-elf-gcc: /cygdrive/d/build-as-v1_4/v14-config/../build-2010-05-10/task-nds32le-elf-newlib-V0/build/disable-shared/nds32le-elf/lib/gcc/nds32le-elf/specs: No medium found
make: *** [precinit.o] Error 1
/cygdrive/e/Andestech/AndeSight14/toolchains/nds32le-elf-newlib-V0/bin/nds32le-elf-gcc -c -c main.c -o main.o
nds32le-elf-gcc: /cygdrive/d/build-as-v1_4/v14-config/../build-2010-05-10/task-nds32le-elf-newlib-V0/build/disable-shared/nds32le-elf/lib/gcc/nds32le-elf/specs: No medium found
make: *** [main.o] Error 1
/cygdrive/e/Andestech/AndeSight14/toolchains/nds32le-elf-newlib-V0/bin/nds32le-elf-gcc -c -c lowlevel_init.S -o lowlevel_init.o
nds32le-elf-gcc: /cygdrive/d/build-as-v1_4/v14-config/../build-2010-05-10/task-nds32le-elf-newlib-V0/build/disable-shared/nds32le-elf/lib/gcc/nds32le-elf/specs: No medium found
make: *** [lowlevel_init.o] Error 1
make: Target `all' not remade because of errors.

A: 這是1.4版上的一個 bug, 它會到D槽去搜尋檔案。
如果D drive 是 DVD-ROM 且裡面沒有 disk, 就會有這個error。
解決方式
1) Move DVD-ROM 到其他的 drive, 只要不是 D 即可
2) 放一片 Disk 到 DVD-ROM

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/