共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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 基于ArduinoUNO开发板的AT24C02读写测试被打赏¥16元 | |
| TCS3472S传感器及其色彩检测被打赏¥19元 | |
| 【S32DS】S32K3 RTD7.0.1 HSE 组件配置报错问题解决被打赏¥27元 | |
| 【S32K3XX】MCME 启动 CORE1被打赏¥23元 | |
| AG32VH407下温度大气压传感器及其检测被打赏¥20元 | |
| AG32VH407下光照强度传感器BH1750及其检测被打赏¥22元 | |
| AT32VH407下使用温湿度传感器DHT22进行检测被打赏¥20元 | |
| DIY一个婴儿澡盆温度计被打赏¥34元 | |
| 【FreeRtos】FreeRtos+MPU region 配置规则被打赏¥23元 | |
| 【分享开发笔记,赚取电动螺丝刀】三分钟快速上手驱动墨水屏(ArduinoIDE)被打赏¥28元 | |
我要赚赏金
