这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 基础知识 » WINAVR20040404 请教各位大虾:这是在使用WINAVR2004040

共2条 1/1 1 跳转至

WINAVR20040404 请教各位大虾:这是在使用WINAVR20040404时出现的错误,该怎么搞定它?谢谢!

院士
2006-09-17 18:14:16     打赏
WINAVR20040404 请教各位大虾:这是在使用WINAVR20040404时出现的错误,该怎么搞定它?谢谢!



关键词: WINAVR20040404     请教     各位     大虾         

院士
2006-12-22 22:43:00     打赏
2楼
问 -------- begin --------
AVR-gcc (GCC) 3.3.2
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Compiling: main.c
AVR-gcc -c -mmcu=atmega8 -I. -g   -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst  -std=gnu99 -Wp,-M,-MP,-MT,main.o,-MF,.dep/main.o.d main.c -o main.o
D:\DOCUME~1\LYW\LOCALS~1\Temp/cc4sbaaa.s: Assembler messages:
D:\DOCUME~1\LYW\LOCALS~1\Temp/cc4sbaaa.s:230: Error: constant value required
D:\DOCUME~1\LYW\LOCALS~1\Temp/cc4sbaaa.s:230: Error: constant value required
D:\DOCUME~1\LYW\LOCALS~1\Temp/cc4sbaaa.s:231: Error: constant value required
D:\DOCUME~1\LYW\LOCALS~1\Temp/cc4sbaaa.s:231: Error: constant value required
D:\DOCUME~1\LYW\LOCALS~1\Temp/cc4sbaaa.s:232: Error: constant value required
D:\DOCUME~1\LYW\LOCALS~1\Temp/cc4sbaaa.s:232: Error: constant value required
make.exe: *** [main.o] Error 1

> Process Exit Code: 2
1: 对不起,忘了说,这个是用WINAVR20040404编译的结果 2: 烦请各位大虾支招 3: 顶! 4: 烦请各位大虾看看有什么毛病 5: ding 6: up 7: up 8: up 9: 搞定,是因为MAKEFILE的源文件路径搞错

共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]