编译金鱼内核Kconfig导致问题
Compiling goldfish kernel Kconfig causing issues
运行 Windows 7 使用最新版本的 Cygwin 并安装了每个选项,试图编译 Android goldfish 内核 3.10。我很头疼,原来是 git 检查带有 Windows 文件结尾的 repo 引起的,但现在我已经解决了,看起来它没有解析 [=16] =] 出于某种原因正确归档。
make ARCH=arm SUBARCH=arm CROSS_COMPILE=arm-eabi- goldfish_armv7_defconfig
usr/Kconfig:18: syntax error
usr/Kconfig:17: unknown option "When"
usr/Kconfig:18: unknown option "initramfs"
usr/Kconfig:21: syntax error
usr/Kconfig:20: unknown option "See"
usr/Kconfig:23: syntax error
usr/Kconfig:22: unknown option "If"
usr/Kconfig:35: syntax error
usr/Kconfig:34: unknown option "If"
usr/Kconfig:47: syntax error
usr/Kconfig:46: unknown option "If"
usr/Kconfig:104: syntax error
usr/Kconfig:103: unknown option "If"
usr/Kconfig:104: unknown option "initramfs"
usr/Kconfig:107: syntax error
usr/Kconfig:106: unknown option "High"
usr/Kconfig:107: unknown option "low"
usr/Kconfig:108: unknown option "boot"
usr/Kconfig:111: syntax error
usr/Kconfig:110: unknown option "If"
make[1]: *** [/{repo location}/scripts/kconfig/Makefile:105: goldfish_armv7_defconfig] Error 1
make: *** [Makefile:504: goldfish_armv7_defconfig] Error 2
我尝试编辑 Kconfig 文件以删除所有引发语法错误的帮助文本,但仍然出现 "unknown option" 错误。我需要更改一些制作选项吗?我真的不是 *nix 或内核人员,所以我在这里真的超出了我的深度。我只是在尝试在我的模拟器上获取 ROM (Cyanogenmod) 运行 以进行测试,希望这条路能让我到达那里。
我只是 运行 dos2unix 在 /usr/Kconfig 文件上,它解决了问题。文件结尾。嘎.
运行 Windows 7 使用最新版本的 Cygwin 并安装了每个选项,试图编译 Android goldfish 内核 3.10。我很头疼,原来是 git 检查带有 Windows 文件结尾的 repo 引起的,但现在我已经解决了,看起来它没有解析 [=16] =] 出于某种原因正确归档。
make ARCH=arm SUBARCH=arm CROSS_COMPILE=arm-eabi- goldfish_armv7_defconfig
usr/Kconfig:18: syntax error
usr/Kconfig:17: unknown option "When"
usr/Kconfig:18: unknown option "initramfs"
usr/Kconfig:21: syntax error
usr/Kconfig:20: unknown option "See"
usr/Kconfig:23: syntax error
usr/Kconfig:22: unknown option "If"
usr/Kconfig:35: syntax error
usr/Kconfig:34: unknown option "If"
usr/Kconfig:47: syntax error
usr/Kconfig:46: unknown option "If"
usr/Kconfig:104: syntax error
usr/Kconfig:103: unknown option "If"
usr/Kconfig:104: unknown option "initramfs"
usr/Kconfig:107: syntax error
usr/Kconfig:106: unknown option "High"
usr/Kconfig:107: unknown option "low"
usr/Kconfig:108: unknown option "boot"
usr/Kconfig:111: syntax error
usr/Kconfig:110: unknown option "If"
make[1]: *** [/{repo location}/scripts/kconfig/Makefile:105: goldfish_armv7_defconfig] Error 1
make: *** [Makefile:504: goldfish_armv7_defconfig] Error 2
我尝试编辑 Kconfig 文件以删除所有引发语法错误的帮助文本,但仍然出现 "unknown option" 错误。我需要更改一些制作选项吗?我真的不是 *nix 或内核人员,所以我在这里真的超出了我的深度。我只是在尝试在我的模拟器上获取 ROM (Cyanogenmod) 运行 以进行测试,希望这条路能让我到达那里。
我只是 运行 dos2unix 在 /usr/Kconfig 文件上,它解决了问题。文件结尾。嘎.