nios_cpu_sdk/src/main2.c.o: In function `main':
nios_cpu_sdk/src/main2.c.o(.text+0xb2): undefined reference to `mytimerISR'
nios_cpu_sdk/src/main2.c.o(.text+0xb4): undefined reference to `mytimerISR'
nios_cpu_sdk/src/main2.c.o(.text+0xb6): undefined reference to `mytimerISR'
nios_cpu_sdk/src/main2.c.o(.text+0xb8): undefined reference to `mytimerISR'
### nios-build error: last system call returned256
### (Perhaps you need ".global _start" and "start:")
Died at - line 85.
#
# 2004.11.09 15:33:27 mk_custom_sdk: WARNING
#
# 256 cd F:/kdj/adtb2_cyclone/IF_single_flash/040927_3.1IF_single_4.1 ; nios-build --sdk_directory=F:/kdj/adtb2_cyclone/IF_single_flash/040927_3.1IF_single_4.1/nios_cpu_sdk -s -o system_ram_contents.srec -b 0 nios_cpu_sdk/src/main2.c
#
ERROR: Could not build Peripheral Contents for nios_cpu
mytimerISR是定时中断函数。 以前的程序里怎么编都没有错误的 现在不知道咋搞的 出了这个错误 函数有的 肯定定义了
undefined reference to `mytimerISR'
这个啥意思????
### nios-build error: last system call returned256
### (Perhaps you need ".global _start" and "start:")
Died at - line 85.
256是什么东西? global加在那个文件里? 85行是啥? 没找着[em18][em20] |