在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 2069|回复: 4

[求助] SDK编译时报错,如何解决?

[复制链接]
发表于 2014-4-29 13:00:59 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
'Building target: cpu3.elf'
'Invoking: MicroBlaze gcc linker'
mb-gcc -Wl,-T -Wl,../src/lscript.ld -L../../CPU3_bsp/microblaze_3/lib -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.50.c -mno-xl-soft-mul -Wl,--no-relax -Wl,--gc-sections -o "CPU3.elf"  ./src/main.o   -Wl,--start-group,-lxil,-lgcc,-lc,--end-group
../../CPU3_bsp/microblaze_3/lib\libxil.a(xil_printf.o): In function `padding':
/wrk/ptx/users/nagaraju/GCC_2013_03/newlib/libgloss/microblaze/xil_printf.c:50: undefined reference to `outbyte'
../../CPU3_bsp/microblaze_3/lib\libxil.a(xil_printf.o): In function `outnum':
/wrk/ptx/users/nagaraju/GCC_2013_03/newlib/libgloss/microblaze/xil_printf.c:112: undefined reference to `outbyte'
../../CPU3_bsp/microblaze_3/lib\libxil.a(xil_printf.o): In function `xil_printf':
/wrk/ptx/users/nagaraju/GCC_2013_03/newlib/libgloss/microblaze/xil_printf.c:168: undefined reference to `outbyte'
../../CPU3_bsp/microblaze_3/lib\libxil.a(xil_printf.o): In function `outs':
/wrk/ptx/users/nagaraju/GCC_2013_03/newlib/libgloss/microblaze/xil_printf.c:66: undefined reference to `outbyte'
../../CPU3_bsp/microblaze_3/lib\libxil.a(xil_printf.o): In function `xil_printf':
/wrk/ptx/users/nagaraju/GCC_2013_03/newlib/libgloss/microblaze/xil_printf.c:229: undefined reference to `outbyte'
../../CPU3_bsp/microblaze_3/lib\libxil.a(xil_printf.o):/wrk/ptx/users/nagaraju/GCC_2013_03/newlib/libgloss/microblaze/xil_printf.c:238: more undefined references to `outbyte' follow
collect2: ld returned 1 exit status
发表于 2014-4-29 21:55:27 | 显示全部楼层
ugghhhjkhjh
 楼主| 发表于 2014-4-29 22:06:47 | 显示全部楼层
有没有人清楚呢?
发表于 2014-4-30 10:25:33 | 显示全部楼层
是不是BSP里面没有设置stdout/stdin
发表于 2014-5-1 07:18:03 | 显示全部楼层
楼上正解,系统没包含uart之类标准输入输出,或是bsp中未指定
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

×

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-11 21:23 , Processed in 0.025530 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表