完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
本人用mdk想下个mp3软解码的程试试,但是mdk编译.s文件总是出错,上网找原因一直没有找到,求指导!!! compiling STM32f10x_it.c... ../stm32f10x_it.c(594): warning: #188-D: enumerated type mixed with another type ../stm32f10x_it.c(596): warning: #188-D: enumerated type mixed with another type ../stm32f10x_it.c(598): warning: #188-D: enumerated type mixed with another type compiling main.c... ../main.c(53): warning: #188-D: enumerated type mixed with another type ../main.c(54): warning: #188-D: enumerated type mixed with another type ../main.c(59): warning: #188-D: enumerated type mixed with another type ../main.c(475): warning: #188-D: enumerated type mixed with another type ../main.c(481): warning: #188-D: enumerated type mixed with another type ../main.c(546): warning: #111-D: statement is unreachable compiling sdcard.c... compiling stm32f10x_adc.c... compiling stm32f10x_bkp.c... compiling stm32f10x_can.c... compiling stm32f10x_crc.c... compiling stm32f10x_dac.c... compiling stm32f10x_dbgmcu.c... compiling stm32f10x_dma.c... compiling stm32f10x_exti.c... compiling stm32f10x_flash.c... compiling stm32f10x_fsmc.c... compiling stm32f10x_gpio.c... compiling stm32f10x_i2c.c... compiling stm32f10x_iwdg.c... compiling stm32f10x_lib.c... compiling stm32f10x_nvic.c... compiling stm32f10x_pwr.c... compiling stm32f10x_rcc.c... compiling stm32f10x_rtc.c... compiling stm32f10x_sdio.c... compiling stm32f10x_spi.c... compiling stm32f10x_systick.c... compiling stm32f10x_tim.c... compiling stm32f10x_usart.c... compiling stm32f10x_wwdg.c... assembling cortexm3_macro.s... assembling stm32f10x_vector.s... compiling mp3dec.c... compiling mp3tabs.c... compiling bitstream.c... compiling buffers.c... compiling dct32.c... compiling dequant.c... compiling dqchan.c... ../../Mp3Lib_for_arm/real/dqchan.c(248): warning: #550-D: variable "cbStartL" was set but never used compiling huffman.c... ../../Mp3Lib_for_arm/real/huffman.c(386): warning: #550-D: variable "sfi" was set but never used compiling hufftabs.c... compiling imdct.c... compiling scalfact.c... ../../Mp3Lib_for_arm/real/scalfact.c(211): warning: #550-D: variable "iipTest" was set but never used compiling stproc.c... compiling subband.c... ../../Mp3Lib_for_arm/real/subband.c(63): warning: #550-D: variable "hi" was set but never used compiling trigtabs.c... assembling asmpoly_thumb2.s... ....Mp3Lib_for_armrealarmasmpoly_thumb2.s(1): error: A1163E: Unknown opcode cortex-m3 , expecting opcode or Macro ....Mp3Lib_for_armrealarmasmpoly_thumb2.s(2): error: A1163E: Unknown opcode softvfp , expecting opcode or Macro ....Mp3Lib_for_armrealarmasmpoly_thumb2.s(3): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmpoly_thumb2.s(4): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmpoly_thumb2.s(5): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmpoly_thumb2.s(7): error: A1163E: Unknown opcode PCM , expecting opcode or Macro ....Mp3Lib_for_armrealarmasmpoly_thumb2.s(8): error: A1355U: A Label was found which was in no AREA assembling asmmisc.s... ....Mp3Lib_for_armrealarmasmmisc.s(1): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(2): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(3): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(4): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(5): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(6): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(7): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(8): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(9): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(10): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(11): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(12): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(13): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(14): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(15): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(16): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(17): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(18): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(19): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(20): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(21): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(22): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(23): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(24): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(25): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(26): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(27): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(28): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(29): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(30): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(31): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(32): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(33): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(34): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(37): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(38): error: A1163E: Unknown opcode int , expecting opcode or Macro ....Mp3Lib_for_armrealarmasmmisc.s(39): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(41): error: A1163E: Unknown opcode cortex-m3 , expecting opcode or Macro ....Mp3Lib_for_armrealarmasmmisc.s(42): error: A1163E: Unknown opcode softvfp , expecting opcode or Macro ....Mp3Lib_for_armrealarmasmmisc.s(43): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(44): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(45): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(47): error: A1137E: Unexpected characters at end of line ....Mp3Lib_for_armrealarmasmmisc.s(48): error: A1137E: Unexpected characters at end of line ....Mp3Lib_for_armrealarmasmmisc.s(49): error: A1163E: Unknown opcode xmp3_MULSHIFT32: , expecting opcode or Macro ....Mp3Lib_for_armrealarmasmmisc.s(50): error: A1105E: Area directive missing ....Mp3Lib_for_armrealarmasmmisc.s(50): warning: A1088W: Faking declaration of area AREA |$$$$$$$| ....Mp3Lib_for_armrealarmasmmisc.s(51): error: A1167E: Invalid line start ....Mp3Lib_for_armrealarmasmmisc.s(56): error: A1137E: Unexpected characters at end of line ....Mp3Lib_for_armrealarmasmmisc.s(57): error: A1137E: Unexpected characters at end of line ....Mp3Lib_for_armrealarmasmmisc.s(58): error: A1163E: Unknown opcode xmp3_FASTABS: , expecting opcode or Macro compiling diskio.c... compiling ff.c... Target not created 编译总出现这种问题,实在弄不清楚到底是怎么了,还望高手赐教啊!! |
|
相关推荐
2个回答
|
|
一些错误提示,有些定义是重复定义的。这个都需要自己去更改错误。你可以根据他提示的错误.c中去查找,是不是有重复定义或者错误的定义。
|
|
|
|
这么多错误?麻头皮。。。。。。
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1848 浏览 0 评论
如何解决MPU-9250与STM32通讯时,出现HAL_ERROR = 0x01U
979 浏览 1 评论
hal库中i2c卡死在HAL_I2C_Master_Transmit
1381 浏览 1 评论
LL库F030进行3个串口收发,2个串口为232,一个为485,长时间后,会出现串口1停止运行,另外两个正常,只有重启复原
1829 浏览 1 评论
564 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-16 14:18 , Processed in 0.451900 second(s), Total 44, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号