共2条
1/1 1 跳转至页
这是什么问题?找了好久也没搞明白
问
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: START_FLAG
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: BUFFER
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: SERVELIGHTMESSAGE
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG_UART
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: UARTKEYSCANMESSAGE
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DANDAOK
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DATATEMP
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: ADDRESS24W
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: START_FLAG
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: BUFFER
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: SERVELIGHTMESSAGE
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG_UART
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: UARTKEYSCANMESSAGE
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DANDAOK
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DATATEMP
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: ADDRESS24W
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: START_FLAG
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: BUFFER
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: SERVELIGHTMESSAGE
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG_UART
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: UARTKEYSCANMESSAGE
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DANDAOK
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DATATEMP
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: ADDRESS24W
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: START_FLAG
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: BUFFER
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: SERVELIGHTMESSAGE
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG_UART
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: UARTKEYSCANMESSAGE
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DANDAOK
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DATATEMP
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: ADDRESS24W
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG
MODULE: main.obj (MAIN)
Program Size: data=47.0 xdata=0 code=3112
Target not created 答 1: 变量重复定义了! 答 2: 重复定义变量注意定义为public和extern
SYMBOL: START_FLAG
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: BUFFER
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: SERVELIGHTMESSAGE
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG_UART
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: UARTKEYSCANMESSAGE
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DANDAOK
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DATATEMP
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: ADDRESS24W
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG
MODULE: Int_Serial.obj (INT_SERIAL)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: START_FLAG
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: BUFFER
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: SERVELIGHTMESSAGE
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG_UART
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: UARTKEYSCANMESSAGE
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DANDAOK
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DATATEMP
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: ADDRESS24W
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG
MODULE: PS2_Driver.obj (PS2_DRIVER)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: START_FLAG
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: BUFFER
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: SERVELIGHTMESSAGE
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG_UART
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: UARTKEYSCANMESSAGE
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DANDAOK
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DATATEMP
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: ADDRESS24W
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG
MODULE: ServeLight.obj (SERVELIGHT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: START_FLAG
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: BUFFER
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: SERVELIGHTMESSAGE
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG_UART
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: UARTKEYSCANMESSAGE
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DANDAOK
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: DATATEMP
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: ADDRESS24W
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: LOADFLAG
MODULE: main.obj (MAIN)
Program Size: data=47.0 xdata=0 code=3112
Target not created 答 1: 变量重复定义了! 答 2: 重复定义变量注意定义为public和extern
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【笔记】生成报错synthdesignERROR被打赏50分 | |
【STM32H7S78-DK评测】LTDC+DMA2D驱动RGBLCD屏幕被打赏50分 | |
【STM32H7S78-DK评测】Coremark基准测试被打赏50分 | |
【STM32H7S78-DK评测】浮点数计算性能测试被打赏50分 | |
【STM32H7S78-DK评测】Execute in place(XIP)模式学习笔记被打赏50分 | |
每周了解几个硬件知识+buckboost电路(五)被打赏10分 | |
【换取逻辑分析仪】RA8 PMU 模块功能寄存器功能说明被打赏20分 | |
野火启明6M5适配SPI被打赏20分 | |
NUCLEO-U083RC学习历程2-串口输出测试被打赏20分 | |
【笔记】STM32CUBEIDE的Noruletomaketarget编译问题被打赏50分 |