我刚刚将旧的 buildroot 文件夹从旧虚拟机移至新虚拟机进行整合。我认为只需移动该文件夹以及任何相关文件夹并进行适当的路径/名称更改就可以在新虚拟机中启动并运行该文件夹。
不幸的是,情况似乎并非如此,因为我在尝试构建这个新虚拟机时遇到以下错误:
#
# configuration written to /home/mirion/mirion/buildroot-2013.05/.config
#
/usr/bin/make -j5 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
make[1]: Entering directory '/home/mirion/mirion/buildroot-2013.05'
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/tristate.config BUILDROOT_CONFIG=/home/mirion/mirion/buildroot-2013.05/.config /home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/conf --silentoldconfig Config.in
*** Error during update of the configuration.
Makefile:692: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 1
make[1]: Leaving directory '/home/mirion/mirion/buildroot-2013.05'
Makefile:396: recipe for target '/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/auto.conf' failed
make: *** [/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/auto.conf] Error 2
mv: cannot stat 'output/images/rootfs.ubi': No such file or directory
有什么想法可以解决这个问题吗?
我在谷歌上查了一下,但找不到任何结论性的东西。
编辑:原始虚拟机运行 Lubuntu 12.04,新虚拟机运行 Ubuntu 17.10。
谢谢。
答案1
我改用“olddefconfig”,它似乎有效。