Board logo

标题: 出现很奇怪的错误了。。。。。。。。[求助] [打印本页]

作者: hqbicinft    时间: 2004-11-15 12:42     标题: 出现很奇怪的错误了。。。。。。。。[求助]

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]
作者: iceworld    时间: 2004-11-15 12:42

程序大么?不然贴上来看看,这样不好分析的




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0