syntax error: operand expected (error token is "*1024*1024")
issue1: make mt7621 image error
make[2]: Leaving directory '/home/tony/master/scripts/config' bash: 10241024: syntax error: operand expected (error token is "10241024") bash: 10241024: syntax error: operand expected (error token is "10241024") time: target/linux/prereq#0.42#0.04#0.45
issue2: make[3] -C tools/findutils compile make[3] -C tools/bc compile ERROR: tools/cmake failed to build.
issue 2日志没发全,执行make tools/install V=s -j1把完整日志贴上来
issue 2日志没发全,执行
make tools/install V=s -j1把完整日志贴上来
after updated cmake issue 2 shutdown, tks.
how is issue1 ?
please run make target/linux/{clean,compile} V=s -j1 and provide full log
full logfile attached make.log
Please use ubuntu or debina to compile,don't use wsl
Please use ubuntu or debina to compile,don't use wsl
Host OS is 18.04.2-Ubuntu
Please use Ubuntu-20.04
This is the case with me. I don't know what happened
Refer
请使用 Ubuntu-20.04
我也是使用20.04啊,也是出错这个错误 到底是什么引起的啊
我这也是一样,我是用docker措的编译环境,是否对什么工具的版本有要求?

确认是这里引起 /include/image.mk 167 ROOTFS_PARTSIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024*1024)))
我这也是一样,我是用docker的编译环境,对什么工具的版本有要求吗?
bash:1024 1024:语法错误:预期操作数(错误标记为“ 1024 1024”)
确认是这里引发 /include/image.mk 167 ROFS_PARTSIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE) 1024 1024)))
是什么意思?我不怎么懂,我只会编译,能否解释简单点怎么解决
我这也是一样,我是用docker的编译环境,对什么工具的版本有要求吗? bash:1024 1024:语法错误:预期操作数(错误标记为“ 1024 1024”) 确认是这里引发 /include/image.mk 167 ROFS_PARTSIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE) 1024 1024)))
是什么意思?我不怎么懂,我只会编译,能否解释简单点怎么解决
ROOTFS_PARTSIZE := $(shell expr $$(( $(CONFIG_TARGET_ROOTFS_PARTSIZE) * 1024 * 1024)))
可以这样试下
我这也是一样,我是用docker的编译环境,对什么工具的版本有要求吗? bash:1024 1024:语法错误:预期操作数(错误标记为“ 1024 1024”) 确认是这里引发 /include/image.mk 167 ROFS_PARTSIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE) 1024 1024)))
是什么意思?我不怎么懂,我只会编译,能否解释简单点怎么解决
ROOTFS_PARTSIZE := $(shell expr $$(( $(CONFIG_TARGET_ROOTFS_PARTSIZE) * 1024 * 1024)))可以这样试下
ROOTFS_PARTSIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)10241024)))
看了下, 原来是echo 改了expr就行了?
我这也是一样,我是用docker的编译环境,对什么工具的版本有要求吗? bash:1024 1024:语法错误:预期操作数(错误标记为“ 1024 1024”) 确认是这里引发 /include/image.mk 167 ROFS_PARTSIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE) 1024 1024)))
是什么意思?我不怎么懂,我只会编译,能否解释简单点怎么解决
ROOTFS_PARTSIZE := $(shell expr $$(( $(CONFIG_TARGET_ROOTFS_PARTSIZE) * 1024 * 1024)))可以这样试下ROOTFS_PARTSIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)_1024_1024)))
看了下, 原来是echo 改了expr就行了?
+ifdef CONFIG_TARGET_ROOTFS_PARTSIZE
ROOTFS_PARTSIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024*1024)))
+endif
估计是CONFIG_TARGET_ROOTFS_PARTSIZE这个没有定义 增加下判断