关于使用NiosII SDK Shell的一个问题
- UID
- 135563
- 性别
- 男
|
|
|
|
|
|
- UID
- 135563
- 性别
- 男
|
下面是更详细的内容,这个问题已经困扰小弟好一段时间了,真是急死我了,麻烦知道的大虾指点指点啊,小弟感激不尽啊!
--------------------
Beginning Build
--------------------
Sources:
mytimer.c
# 2006.03.29 10:16:22 (*) nios2-elf-gcc -I .. -I ../.. -I ../inc -I ../../inc -
I ../../../inc -I ../../../../inc -I ../../../../../inc -g -W -Wno-multichar -mn
o-cache-volatile -mno-hw-mul -mno-hw-div -O2 mytimer.c -o mytimer.c.o -c
# 2006.03.29 10:16:22 (*) nios2-elf-gcc -g -Wl,-T../inc/nios_build.ld -msys-crt
0=../inc/../lib/obj/nios2_crt0.s.o mytimer.c.o --start-group -l nios -l c -l m
-l gcc --end-group -L../lib -L../../lib -L../../../lib -L../../../../lib -L../..
/../../../lib -L../inc -L../../inc -L../../../inc -L../../../../inc -L../../../.
./../inc -L. -o mytimer.elf
/cygdrive/d/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc
-lib/nios2-elf/3.3.3/../../../../nios2-elf/bin/ld: cannot open ../inc/../lib/obj
/nios2_crt0.s.o: No such file or directory
collect2: ld returned 1 exit status
### nios-build error: last system call returned256
### (Perhaps you need ".global _start" and "start:")
Died at - line 85. |
|
|
|
|
|
- UID
- 135563
- 性别
- 男
|
下面是更详细的内容,这个问题已经困扰小弟好一段时间了,真是急死我了,麻烦知道的大虾指点指点啊,小弟感激不尽啊!
--------------------
Beginning Build
--------------------
Sources:
mytimer.c
# 2006.03.29 10:16:22 (*) nios2-elf-gcc -I .. -I ../.. -I ../inc -I ../../inc -
I ../../../inc -I ../../../../inc -I ../../../../../inc -g -W -Wno-multichar -mn
o-cache-volatile -mno-hw-mul -mno-hw-div -O2 mytimer.c -o mytimer.c.o -c
# 2006.03.29 10:16:22 (*) nios2-elf-gcc -g -Wl,-T../inc/nios_build.ld -msys-crt
0=../inc/../lib/obj/nios2_crt0.s.o mytimer.c.o --start-group -l nios -l c -l m
-l gcc --end-group -L../lib -L../../lib -L../../../lib -L../../../../lib -L../..
/../../../lib -L../inc -L../../inc -L../../../inc -L../../../../inc -L../../../.
./../inc -L. -o mytimer.elf
/cygdrive/d/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc
-lib/nios2-elf/3.3.3/../../../../nios2-elf/bin/ld: cannot open ../inc/../lib/obj
/nios2_crt0.s.o: No such file or directory
collect2: ld returned 1 exit status
### nios-build error: last system call returned256
### (Perhaps you need ".global _start" and "start:")
Died at - line 85. |
|
|
|
|
|
- UID
- 107137
- 性别
- 男
|
|
|
|
|
|
- UID
- 79720
- 性别
- 男
|
你的环境装的有问题吧,或者还是装了其他的shell阿。 |
|
|
|
|
|
- UID
- 135563
- 性别
- 男
|
环境有问题?能说具体点吗?
我只装了一个shell啊 |
|
|
|
|
|
- UID
- 79720
- 性别
- 男
|
就是你没有装好nios,你有没有装其他的shell呢
|
|
|
|
|
|
- UID
- 135563
- 性别
- 男
|
我只装了一个shell啊,而且装的过程都很顺利,我已经在几台机上试过了,情况一样.是不是Nios本身文件不全啊? |
|
|
|
|
|
- UID
- 135563
- 性别
- 男
|
|
|
|
|
|
- UID
- 79720
- 性别
- 男
|
哦,你用的那么低的版本,这个版本曾经试过一下吧,好像也没有问题啊,你可以装一个高一点的版本阿。 |
|
|
|
|
|
- UID
- 79720
- 性别
- 男
|
|
|
|
|
|