openwrt 32位ubuntu14.04 lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64

编译过程
git clone git://github.com/openwrt/openwrt.git

 ./scripts/feeds update

./scripts/feeds install -a

make defconfig

make -j2 V=s

 

编译出错

lib/i386/relocator64.S: Assembler messages:
lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64'
lib/i386/relocator64.S:74: Error: bad register name `%rax'
lib/i386/relocator64.S:98: Error: bad register name `%rax'
lib/i386/relocator64.S:132: Error: bad register name `%rip)'

临时解决 方法

vim ./build_dir/hostpkg/grub-2.02/grub-core/lib/i386/relocator64.S

将 66 74 98 132 行的代码直接注释掉

 

你可能感兴趣的:(openwrt 32位ubuntu14.04 lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64)