共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网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 | |
【分享评测,赢取加热台】使用8051单片机驱动WS2812被打赏40分 |