你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

求高手帮忙MDK编译出错的问题

[复制链接]
kingoneone 提问时间:2009-12-18 16:22 /
刚开始用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_arm\real\arm\asmpoly_thumb2.s(1): error: A1163E: Unknown opcode cortex-m3 , expecting opcode or Macro
..\..\Mp3Lib_for_arm\real\arm\asmpoly_thumb2.s(2): error: A1163E: Unknown opcode softvfp , expecting opcode or Macro
..\..\Mp3Lib_for_arm\real\arm\asmpoly_thumb2.s(3): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmpoly_thumb2.s(4): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmpoly_thumb2.s(5): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmpoly_thumb2.s(7): error: A1163E: Unknown opcode PCM , expecting opcode or Macro
..\..\Mp3Lib_for_arm\real\arm\asmpoly_thumb2.s(8): error: A1355U: A Label was found which was in no AREA
assembling asmmisc.s...
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(1): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(2): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(3): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(4): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(5): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(6): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(7): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(8): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(9): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(10): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(11): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(12): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(13): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(14): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(15): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(16): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(17): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(18): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(19): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(20): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(21): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(22): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(23): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(24): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(25): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(26): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(27): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(28): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(29): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(30): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(31): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(32): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(33): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(34): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(37): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(38): error: A1163E: Unknown opcode int , expecting opcode or Macro
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(39): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(41): error: A1163E: Unknown opcode cortex-m3 , expecting opcode or Macro
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(42): error: A1163E: Unknown opcode softvfp , expecting opcode or Macro
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(43): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(44): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(45): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(47): error: A1137E: Unexpected characters at end of line
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(48): error: A1137E: Unexpected characters at end of line
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(49): error: A1163E: Unknown opcode xmp3_MULSHIFT32: , expecting opcode or Macro
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(50): error: A1105E: Area directive missing
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(50): warning: A1088W: Faking declaration of area AREA |$$$$$$$|
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(51): error: A1167E: Invalid line start
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(56): error: A1137E: Unexpected characters at end of line
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(57): error: A1137E: Unexpected characters at end of line
..\..\Mp3Lib_for_arm\real\arm\asmmisc.s(58): error: A1163E: Unknown opcode xmp3_FASTABS: , expecting opcode or Macro
compiling diskio.c...
compiling ff.c...
Target not created


编译总出现这种问题,实在弄不清楚到底是怎么了,还望高手赐教啊!!
收藏 评论4 发布时间:2009-12-18 16:22

举报

4个回答
回答时间:2009-12-19 09:28:19

RE:求高手帮忙MDK编译出错的问题

一些错误提示,有些定义是重复定义的。这个都需要自己去更改错误。你可以根据他提示的错误.c中去查找,是不是有重复定义或者错误的定义。
kingoneone 回答时间:2009-12-19 11:06:10

RE:求高手帮忙MDK编译出错的问题

关键是后面为什么.s文件有那么多错误啊?你的意思是trigtabs.c这个文件里面定义有问题??麻烦详细说说吧!多谢多谢!!
回答时间:2009-12-19 14:41:55

回复:求高手帮忙MDK编译出错的问题

你能吧你的工程传上来吗?我打开看看,告诉你是什么问题。
kingoneone 回答时间:2009-12-21 09:55:32

回复:求高手帮忙MDK编译出错的问题

好的,多谢多谢!!附件传上来了~~~谢谢谢谢啦!!^_^

所属标签

相似问题

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
微信公众号二维码 微信公众号
手机版二维码 手机版