OpenEdv-开源电子网

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

链接错误,如何解决~~~

[复制链接]

7

主题

31

帖子

0

精华

初级会员

Rank: 2

积分
140
金钱
140
注册时间
2016-8-24
在线时间
20 小时
发表于 2017-4-24 11:57:41 | 显示全部楼层 |阅读模式
3金钱
linking...
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart_str.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching led.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching printf8.o(i._printf_core).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_usart.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_rcc.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching timer.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching flash.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching fontupd.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_gpio.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching ov7670.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart_config.o(.conststring).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching lcd.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_spi.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching text.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching sccb.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching piclib.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching malloc.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching exti.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching diskio.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_stm32f10x.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching exfuns.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching ov7670.o(.constdata).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_exti.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching jpeg.o(.constdata).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching spi.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching key.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching misc.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching delay.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching cc936.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching fadd.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching fontupd.o(.conststring).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching fdiv.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching fepilogue.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching exfuns.o(.conststring).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching fmul.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching uldiv.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching ff.o(.constdata).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching beep.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching printf8.o(i._printf_pre_padding).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching gif.o(.constdata).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching printf8.o(i.__0sprintf$8).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching ffixui.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching printf8.o(i._printf_post_padding).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart.o(.conststring).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching printf8.o(i.__0printf$8).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching llushr.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching llshl.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching strcmp.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_it.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching malloc.o(.constdata).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching cfcmple.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching cfrcmple.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching strcpy.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching strlen.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching sys.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching printf8.o(i._sputc).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching ffltui.o(.text).
..\OBJ\CAMERA.axf: Error: L6406E: No space in execution regions with .ANY selector matching iusefp.o(.text).
..\OBJ\CAMERA.axf: Error: L6407E: Sections of aggregate size 0x55a8 bytes could not fit into .ANY selector(s).

最佳答案

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

不是链接错误,归根结底是你程序占用的空间太大了,你用了什么大数组了
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

69

主题

978

帖子

0

精华

论坛元老

Rank: 8Rank: 8

积分
3774
金钱
3774
注册时间
2015-4-26
在线时间
766 小时
发表于 2017-4-24 11:57:42 | 显示全部楼层
不是链接错误,归根结底是你程序占用的空间太大了,你用了什么大数组了
我有故事,你有酒吗
回复

使用道具 举报

7

主题

31

帖子

0

精华

初级会员

Rank: 2

积分
140
金钱
140
注册时间
2016-8-24
在线时间
20 小时
 楼主| 发表于 2017-4-24 12:00:13 | 显示全部楼层
这是什么鬼?
回复

使用道具 举报

7

主题

31

帖子

0

精华

初级会员

Rank: 2

积分
140
金钱
140
注册时间
2016-8-24
在线时间
20 小时
 楼主| 发表于 2017-4-24 12:00:27 | 显示全部楼层
改完之后~~~
linking...
..\OBJ\CAMERA.axf: Warning: L6914W: option ropi ignored when using --scatter.
..\OBJ\CAMERA.axf: Warning: L6914W: option rwpi ignored when using --scatter.
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __2sprintf (referred from main.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_d (referred from main.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_flags (referred from main.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_int_dec (referred from main.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_percent (referred from main.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_pre_padding (referred from main.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_widthprec (referred from main.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __2printf (referred from timer.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __use_no_semihosting (referred from usart.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __main (referred from startup_stm32f10x_hd.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_c (referred from usmart.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_longlong_hex (referred from usmart.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_s (referred from usmart.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_sizespec (referred from usmart.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_str (referred from usmart.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_u (referred from usmart.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol _printf_x (referred from usmart.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol strcmp (referred from exfuns.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol strcpy (referred from exfuns.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __aeabi_cfcmpeq (referred from fontupd.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __aeabi_f2uiz (referred from fontupd.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __aeabi_fdiv (referred from fontupd.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __aeabi_fmul (referred from fontupd.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __aeabi_ui2f (referred from fontupd.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol strlen (referred from text.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __aeabi_cfcmple (referred from piclib.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __aeabi_cfrcmple (referred from piclib.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __aeabi_fadd (referred from piclib.o).
..\OBJ\CAMERA.axf: Error: L6218E: Undefined symbol __aeabi_fsub (referred from piclib.o).
Not enough information to list image symbols.
回复

使用道具 举报

7

主题

31

帖子

0

精华

初级会员

Rank: 2

积分
140
金钱
140
注册时间
2016-8-24
在线时间
20 小时
 楼主| 发表于 2017-4-24 14:11:40 | 显示全部楼层
来俩不甜的 发表于 2017-4-24 12:58
不是链接错误,归根结底是你程序占用的空间太大了,你用了什么大数组了

看三楼我发的
回复

使用道具 举报

7

主题

31

帖子

0

精华

初级会员

Rank: 2

积分
140
金钱
140
注册时间
2016-8-24
在线时间
20 小时
 楼主| 发表于 2017-4-24 15:01:43 | 显示全部楼层
yklstudent 发表于 2017-4-24 14:47
楼主的代码不是自己写的?

楼主的代码是原子教程 照相机实验改的
回复

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-8-22 00:57

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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