OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2949|回复: 4

stm32 eclipse下编译错误

[复制链接]

1

主题

8

帖子

0

精华

新手上路

积分
32
金钱
32
注册时间
2014-11-28
在线时间
0 小时
发表于 2014-11-28 21:50:44 | 显示全部楼层 |阅读模式
5金钱
ubuntu下用eclipse + arm-none-eabi-gcc 搭建的环境,新建一个工程,什么代码也没写直接编译,结果出错。
make: *** [system/src/stm32f1-stdperiph/misc.o] Error 1    stm_f103
recipe for target 'system/src/stm32f1-stdperiph/misc.o' failed    subdir.mk
费了牛劲也没找到错误。哪位大侠指导一下。

最佳答案

查看完整内容[请看2#楼]

解决了,从链接http://embdev.net/topic/216192获得提示,下了个Binary Utilities包,解决问题。
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

1

主题

8

帖子

0

精华

新手上路

积分
32
金钱
32
注册时间
2014-11-28
在线时间
0 小时
 楼主| 发表于 2014-11-28 21:50:45 | 显示全部楼层
解决了,从链接http://embdev.net/topic/216192获得提示,下了个Binary Utilities包,解决问题。
回复

使用道具 举报

1

主题

8

帖子

0

精华

新手上路

积分
32
金钱
32
注册时间
2014-11-28
在线时间
0 小时
 楼主| 发表于 2014-11-28 22:08:42 | 显示全部楼层
CONSOLE的内容如下:
make all 
Building file: ../system/src/stm32f1-stdperiph/misc.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -Wextra  -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_ITM -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=16000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f1-stdperiph" -I/usr/include -std=gnu11 -MMD -MP -MF"system/src/stm32f1-stdperiph/misc.d" -MT"system/src/stm32f1-stdperiph/misc.o" -c -o "system/src/stm32f1-stdperiph/misc.o" "../system/src/stm32f1-stdperiph/misc.c"
arm-none-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
system/src/stm32f1-stdperiph/subdir.mk:24: recipe for target 'system/src/stm32f1-stdperiph/misc.o' failed
make: *** [system/src/stm32f1-stdperiph/misc.o] Error 1
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165462
金钱
165462
注册时间
2010-12-1
在线时间
2114 小时
发表于 2014-11-28 22:39:13 | 显示全部楼层
帮顶。。。。
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复

使用道具 举报

0

主题

1

帖子

0

精华

新手入门

积分
2
金钱
2
注册时间
2017-7-31
在线时间
0 小时
发表于 2017-7-31 18:04:35 | 显示全部楼层
beifanggd 发表于 2014-11-28 21:50
解决了,从链接http://embdev.net/topic/216192获得提示,下了个Binary Utilities包,解决问题。

楼主,我也遇到了和你一样的问题,请问如何解决?谢谢。
回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-4-19 22:31

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表