共2条
1/1 1 跳转至页
WINAVR20040404 请教各位大虾:这是在使用WINAVR20040404时出现的错误,该怎么搞定它?谢谢!

问
-------- 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的源文件路径搞错
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 跳转至页
回复
有奖活动 | |
---|---|
【EEPW电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
电流检测模块MAX4080S被打赏10分 | |
【我踩过的那些坑】calloc和malloc错误使用导致跑飞问题排查被打赏50分 | |
多组DCTODC电源方案被打赏50分 | |
【我踩过的那些坑】STM32cubeMX软件的使用过程中的“坑”被打赏50分 | |
新手必看!C语言精华知识:表驱动法被打赏50分 | |
【我踩过的那些坑】杜绑线问题被打赏50分 | |
【我踩过的那些坑】STM32的硬件通讯调试过程的“坑”被打赏50分 | |
【我踩过的那些坑】晶振使用的问题被打赏100分 | |
【我踩过的那些坑】电感选型错误导致的处理器连接不上被打赏50分 | |
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏10分 |