Grub不会在Cygwin上 [英] Grub won't make on Cygwin
问题描述
似乎有关使用这两个一起的信息不容易得到。当试图让我得到一些有趣的错误。我想知道我的版本的gcc(4.7)不会削减它,或者我缺乏依赖。
我包括...
- GCC
- GNU Make
- GNU Bison
- GNU gettext
- GNU binutils
- Flex
$ b
Cygwin x86中出现的错误 - 可能与GCC 4.7相关?
/grub-2.00/grub-core/lib/xzembed/xz_dec_lzma2.c:534:29:错误:always_inline函数可能不是inlinable [-Werror = attributes]
FYI,问题似乎与标题大小大于预期有关。问题与此问题有关:
http://lists.gnu.org/archive/html/grub-devel/2013-12/msg00342.html
执行以下操作:
export TARGET_CFLAGS = - Qn
/ pre>
...并从一个新的grub-2.00源目录重建。这应该可以解决问题。
It seems that information about using the two together is not easy to come by. When trying to make I get some fun errors. I was wondering if my version of gcc (4.7) won't cut it or I'm lacking a dependency.
I included...
- GCC
- GNU Make
- GNU Bison
- GNU gettext
- GNU binutils
- Flex
Am doubtful about but am beginning to wonder if it matters
- libdevmapper
The error that occurs in Cygwin x86 - Possibly GCC 4.7 related?
../grub-2.00/grub-core/lib/xzembed/xz_dec_lzma2.c:534:29: error: always_inline function might not be inlinable [-Werror=attributes]
FYI, the problem appears to have something to do with header sizes being larger than expected. The issue is related to this problem:
http://lists.gnu.org/archive/html/grub-devel/2013-12/msg00342.html
Do this:
export TARGET_CFLAGS="-Qn"
...and rebuild from a fresh grub-2.00 source directory. That should fix things up.
这篇关于Grub不会在Cygwin上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!