10506|1

6

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

库例程连接时出现Undefined symbol的问题 [复制链接]

小弟接触stm32不久,抄了标准库(v3.5)里面的例程(flash) 建了一个工程,连接时总有下面的问题,没定义的这些在stm32f10x.h都找到了定义,网上找到的一些说法都不能解决,求高手解惑,多谢先。

 

Build target 'FLASH_02'

linking...
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol ADC1_2_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol ADC3_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol BusFaultException (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol CAN_RX1_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol CAN_SCE_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA1_Channel1_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA1_Channel2_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA1_Channel3_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA1_Channel4_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA1_Channel5_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA1_Channel6_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA1_Channel7_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA2_Channel1_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA2_Channel2_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA2_Channel3_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DMA2_Channel4_5_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol DebugMonitor (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol EXTI0_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol EXTI15_10_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol EXTI1_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol EXTI2_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol EXTI3_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol EXTI4_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol EXTI9_5_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol FLASH_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol FSMC_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol HardFaultException (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol I2C1_ER_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol I2C1_EV_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol I2C2_ER_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol I2C2_EV_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol MemManageException (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol NMIException (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol PVD_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol PendSVC (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol RCC_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol RTCAlarm_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol RTC_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol SDIO_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol SPI1_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol SPI2_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol SPI3_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol SVCHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol SysTickHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol TAMPER_IRQHandler (referred from stm32f10x_vector.o).

.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol USBWakeUp_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol USB_HP_CAN_TX_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol USB_LP_CAN_RX0_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol UsageFaultException (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol WWDG_IRQHandler (referred from stm32f10x_vector.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol FLASH_ClearFlag (referred from main.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol FLASH_ErasePage (referred from main.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol FLASH_LockBank1 (referred from main.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol FLASH_ProgramWord (referred from main.o).
.\obj\FLASH_02.axf: Error: L6218E: Undefined symbol FLASH_UnlockBank1 (referred from main.o).
Target not created
此帖出自stm32/stm8论坛

最新回复

要在stm32f10xconfig.h里打开你用到的功能块  详情 回复 发表于 2012-4-25 10:37
点赞 关注
 

回复
举报

252

帖子

0

TA的资源

一粒金砂(高级)

沙发
 
要在stm32f10xconfig.h里打开你用到的功能块
此帖出自stm32/stm8论坛
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/9 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表