04 WOTCHDOG\\Watdog\\Debug\\Obj\\vectors.o]
E04 WOTCHDOG\\Watdog\\Debug\\Obj\\vectors.o]
0.c 317警告:“PDDR”宏“PT”不创建有效的TOK级联
example\\E04 WOTCHDOG\\Watdog\\Debug\\Obj\\vectors.o]
Error[Li005]: no definition for \"__VECTOR_RAM\" [referenced from F:\\k60 example\\E
Error[Li005]: no definition for \"__BOOT_STACK_ADDRESS\" [referenced from F:\\k60
错误原因(见下图):在linker里没有设置icf文件的路径。说
Warning[Pe1665]: concatenation with \"PDOR\" in macro \"PT\" does not create a vali
d token E:\\All learning files\\IAR files\\四轴\\电调\\VCANBLDC\\Board\\src\\VCAN_NRF24L
Error[Li005]: no definition for \"__VECTOR_TABLE\" [referenced from F:\\k60 example\\
2,错误:Warning[Pe223]: function \"LCD_Init\" declared implicitly D:\\All learning files\\IA
R files\\exercise\\Project\\files\\main.c 30
IAR编译错误清单
Warning[Pe223]: function \"Draw_LibLogo\" declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 31
Warning[Pe223]: function \"LCD_P8x16Str\" declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 40
Warning[Pe223]: function \"LCD_P6x8Str\" declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 41
Warning[Pe223]: function \"LCD_CLS\" declared implicitly D:\\All learning files\\IAR files\\
exercise\\Project\\files\\main.c 44
Error[Pe020]: identifier \"longqiu96x\" is undefined D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 45
或者:Error[Pe101]: \"uint8\" has already been declared in the current scope (at line 72 of \"D:\\All learning files\\IAR files\\exercise\\ D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ128\\LQ128.h 10 Project\\iar\\..\\..\\LIB\\cpu\\arm_cm4.h\")
Error[Pe070]: incomplete type is not allowed D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ128\\LQ128.h 10
Error[Pe065]: expected a \";\" D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ128\\LQ128.h 10
Error while running C/C++ Compiler main.c
Error[Pe101]: \"uint8\" has already been declared in the current scope (at line 72 of \"D:\\All learning files\\IAR files\\exercise\\ D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ128\\LQ128.h 10 Project\\iar\\..\\..\\LIB\\cpu\\arm_cm4.h\")
Error[Pe070]: incomplete type is not allowed D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ128\\LQ128.h 10
Error[Pe065]: expected a \";\" D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ128\\LQ128.h 10
Warning[Pe223]: function \"LCD_Init\" declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 30
Warning[Pe223]: function \"Draw_LibLogo\" declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 31
Warning[Pe223]: function \"LCD_P8x16Str\" declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 40
Warning[Pe223]: function \"LCD_P6x8Str\" declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 41
Warning[Pe223]: function \"LCD_CLS\" declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 44
Error[Pe020]: identifier \"longqiu96x\" is undefined D:\\All learning files\\IAR files\\exer
cise\\Project\\files\\main.c 45
Error while running C/C++ Compiler注意:我这是把LQ128.h中的void byte longqiu96x[768]; //void LCD_Init(void); //void LCD_CLS(void);
//void LCD_P6x8Str(byte x,byte y,byte ch[]);//void LCD_P8x16Str(byte x,byte y,byte ch[]); //void LCD_P14x16Str(byte x,byte y,byte ch[]); void LCD_Print(byte x, byte y, byte ch[]);// void LCD_PutPixel(byte x,byte y);
//void LCD_Rectangle(byte x1,byte y1,byte x2,byte y2,byte gif); //void Draw_LQLogo(void); //void Draw_LibLogo(void);
看到没我都给注释了,然后出现这么多错误,最后又把本来是extern byte longqiu96x[768];改成void byte longqiu96x[768];于是出现了:
Error[Pe101]: \"uint8\" has already been declared in the current scope (at line 72 of \"D:\\All learning files\\IAR files\\exercise\\ D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ128\\LQ128.h 10 Project\\iar\\..\\..\\LIB\\cpu\\arm_cm4.h\")
Error[Pe070]: incomplete type is not allowed D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ128\\LQ128.h 10
4\\LQ128.h 10
Error while running C/C++ Compiler
Error[Pe065]: expected a \";\" D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ1286
IAR 6.20编译错误清单
1、①错误描述:Tool Internal Error:
Internal Error: [CoreUtil/General]: Access violation (0xc0000005) at 007588A5 (reading from address 0x0)
$PROJ_DIR$\\.$PROJ_DIR$\\..
$PROJ_DIR$\\..\\..\\..
3、 ①错误描述:Fatal Error[Pe1696]: E:\\StellarisWareM3_9D92\\\lwiplib.h 44
②错误原因:High配置设置为Size,应该为Low
cannot open source file
E:\\StellarisWareM3_9D92\\boards\\dk-lm3s9b96\\boot_demo2\\boot_demo2.c 25
②错误原因:C/C++ Complier(Assember)->Preprocessor->Additional include directories:
Internal Error: [CoreUtil/General]: Access violation (0xc0000005) at 007588A5 (reading from address 0x0)
Error while running C/C++ Compiler
2、 ①错误描述:Fatal Error[Pe1696]: cannot open source file \"inc/hw_types.h\"
②错误原因:C/C++ Complier-(Assember)>Preprocessor->Additional include directories:$PROJ_DIR$\\..\\..\\..\hird_party\\lwip-1.3.2\\apps$PROJ_DIR$\\..\\..\\..\hird_party\\bget
$PROJ_DIR$\\..\\..\\..\hird_party\\lwip-1.3.2\\ports\\stellaris\\include$PROJ_DIR$\\..\\..\\..\hird_party\\lwip-1.3.2\\src\\include
$PROJ_DIR$\\..\\..\\..\hird_party\\lwip-1.3.2\\src\\include\\ipv4
\"lwip/opt.h\"
5、 ①错误描述:Error[Pe020]: identifier E:\\StellarisWareM3_9D92\hird_party\\aes\\aes.c 319
②错误原因:
4、 ①错误描述:Fatal Error[Pe035]: #error directive: Unrecognized E:\\StellarisWareM3_9D92\\boards\\dk-lm3s9b96\\drivers\\set_pinout.h 59
Error while running C/C++ Compiler
②错误原因:C/C++ Complier-(Assember)>Preprocessor->Defined symbols: ewarm
②错误原因:定义函数:int main(void) { return (0); }
\"ROM_pvAESTable\"
is
$PROJ_DIR$\\..\\..\\..\hird_party\\lwip-1.3.2\\src\\include\\lwip$PROJ_DIR$\\..\\..\\..\hird_party
7、 ①错误描述:Error[Li005]: no definition for \"main\" [referenced from cmain.o(rt7M_tl.a)]
Error while running Linker
6、 ①错误描述:Error[Li005]: no definition for \"main\" [referenced from cmain.o(rt7M_tl.a)]
Error while running Linker
②错误原因:如果是库是库函数,在:General Options->Output->Output file:选择:Library项
COMPILER! undefined
4、 ①错误描述:Fatal Error[Pe1696]: cannot open source E:\\StellarisWareM3_9D92\hird_party\.0\\apps\\dhcpc\\dhcpc.c 37
②错误原因:
file \"uip.h\"
5、 ①错误描述:
②错误原因:
$PROJ_DIR$\\..\\..\\..\hird_party\\lwip-1.3.2\\apps$PROJ_DIR$\\..\\..\\..\hird_party\\bget
$PROJ_DIR$\\..\\..\\..\hird_party\\lwip-1.3.2\\ports\\stellaris\\include$PROJ_DIR$\\..\\..\\..\hird_party\\lwip-1.3.2\\src\\include
$PROJ_DIR$\\..\\..\\..\hird_party\\lwip-1.3.2\\src\\include\\ipv4$PROJ_DIR$\\..\\..\\..\hird_party
$PROJ_DIR$\\..\\..\\..\hird_party\.0$PROJ_DIR$\\..\\..\\..\hird_party\.0\"p":{"h":19.215,"w":275.766,"x":166.5,"y":858.888,"z":26},"ps":null,"t":"word$PROJ_DIR$\\..\\..\\..\hird_party\.0\\apps
$PROJ_DIR$\\..\\..\\..\hird_party\\\\speex-1.2rc1\\include
$PROJ_DIR$\\..\\..\\..\hird_party\\\\speex-1.2rc1\\include\\speex$PROJ_DIR$\\..\\..\\..\hird_party\\\\speex-1.2rc1\\stellaris
6、 ①错误描述:Fatal Error[Pe035]: #error directive: You now need to define either FIXED_POINT or FLOATING_POINT E:\\StellarisWareM3_9D92\hird_party\\speex-1.2rc1\\libspeex\\arch.h 65
②错误原因:
7、 ①错误描述:Fatal Error[Pe035]: #error directive: \"Unrecognized/undefined driver for
8、 ①错误描述:Error[Pe020]: identifier E:\\SWM3_9D92(6.20)\hird_party\\aes\\aes.c 359Error while running C/C++ Compiler
②错误原因:UART_BUFFEREDDISK0_DK_LM3S9B96DISK1_USB_MSC
INCLUDE_BGET_STATS
Error while running C/C++ Compiler
②错误原因:
\"ROM_pvAESTable\"
is
undefined
DISK0!\" E:\\StellarisWareM3_9D92\hird_party\\fatfs\\port\\dual-disk-driver.c 62
10、 ①错误描述:Fatal Error[Pe035]: #error directive: You now need to define either FIXED_POINT or FLOATING_POINT E:\\SWM3_9D92(6.20)\hird_party\\speex-1.2rc1\\libspeex\\arch.h 65
Error while running C/C++ Compiler
②错误原因:
11、 ①错误描述:
Error[Li005]: no definition for \"ROM_SysCtlClockSet\" [referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\safertos_demo.o]Error[Li005]: no definition for \"ROM_FlashUserGet\" [referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\lwip_task.o]
Error[Li005]: no definition for \"ROM_IntPrioritySet\" [referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\lwip_task.o]
Error[Li005]: no definition for \"ROM_GPIOPinTypeGPIOOutput\" [referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\led_task.o]
Error[Li005]: no definition for \"ROM_GPIOPinWrite\" [referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\led_task.o]
Error[Lp011]: section placement failed: unable to allocate space for sections/blocks with a total estimated minimum size of 0x11e bytes in
12、 ①错误描述:
<[0x20000000-0x2000ffff]> (total uncommitted space 0x10000).Error while running Linker
②错误原因:
Error[Lp011]: section placement failed: unable to allocate space for sections/blocks with a total estimated minimum size of 0x11e bytes in <[0x20000000-0x2000ffff]> (total uncommitted space 0x10000).Error while running Linker
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- yrrf.cn 版权所有 赣ICP备2024042794号-2
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务