bash运行Release_XXX.sh编译出现printf错误

ubuntu机器,确定使用的是bash,但是依然出现:

make[2]: Entering directory '/Projects/SigmaStar202/SigmastarBSP_202111_qiming/BSP_SDK_Tar/project/image'                                                     [195/48142]

/bin/sh: 1: printf: $[: expected numeric value                                                                                                                                           

/bin/sh: 1: printf: 3*: not completely converted                                                                                                                                         

/bin/sh: 1: printf: 0x20000]: not completely converted                                                                                                                                   

/bin/sh: 1: printf: $[: expected numeric value                                                                                                                                           

/bin/sh: 1: printf: 3*: not completely converted                                                                                                                                         

/bin/sh: 1: printf: 0x20000]: not completely converted                                                                                                               

/bin/sh: 1: printf: $[: expected numeric value                                                                                                                                           

/bin/sh: 1: printf: 3*: not completely converted                                                                                                                                         

/bin/sh: 1: printf: 0x40000]: not completely converted                                                                                                                                   

make[2]: Nothing to be done for 'rootfs_recovery'.                                                                                                                                       

make[2]: Leaving directory '/Projects/SigmaStar202/SigmastarBSP_202111_qiming/BSP_SDK_Tar/project/image'                                                                 

make images                                                                                                                                                                              

make[2]: Entering directory "/Projects/SigmaStar202/SigmastarBSP_202111_qiming/BSP_SDK_Tar/project/image'                                                                

/bin/sh: 1: printf: $[: expected numeric value                                                                                                                                           

/bin/sh: 1: printf: 3*: not completely converted                                                                                                                                         

/bin/sh: 1: printf: 0x20000]: not completely converted                                                                                                                                   

/bin/sh: 1: printf: $[: expected numeric value                                                                                                                                           

/bin/sh: 1: printf: 3*: not completely converted                                                                                                                                         

/bin/sh: 1: printf: 0x20000]: not completely converted                                                                                                                                   

/bin/sh: 1: printf: $[: expected numeric value                                                                                                                                           

/bin/sh: 1: printf: 3*: not completely converted                                                                                                                                         

/bin/sh: 1: printf: 0x40000]: not completely converted    


该如何处理了?

请先 登录 后评论
  • 1 关注
  • 0 收藏,970 浏览
  • Tony 提出于 2021-11-12 17:06

相似问题