URL: <https://savannah.gnu.org/bugs/?55892>
Summary: grub make error Project: GNU GRUB Submitted by: fchen1 Submitted on: Tue 12 Mar 2019 08:47:27 AM UTC Category: Compilation Severity: Major Priority: 5 - Normal Item Group: Software Error Status: None Privacy: Public Assigned to: None Originator Name: Fan Chen Originator Email: farrah.c...@intel.com Open/Closed: Open Discussion Lock: Any Release: Release: Git master Reproducibility: Every Time Planned Release: None _______________________________________________________ Details: Hi, When I make grub using the latest git commit in master branch: 41121742df1af73699965a2aab5fb1f5e6555ad5, I met error when execute "make". And I noticed that we need to use "./bootstrap" instead of "./autogen.sh" . So my stpes: git clone git://git.savannah.gnu.org/grub.git cd grub ./bootstrap ./configure --target=amd64 --with-platform=xen (I also tried ./configure --target=amd64, then same error happened.) make Then the following error occured: ...... In file included from ../grub-core/lib/gnulib/libc-config.h:150:0, from lib/gnulib/regex.c:21: lib/gnulib/regexec.c: In function ‘re_search_2_stub’: ../grub-core/lib/gnulib/intprops.h:398:37: error: ‘SCHAR_MIN’ undeclared (first use in this function) signed char, SCHAR_MIN, SCHAR_MAX) \ ^ ../grub-core/lib/gnulib/cdefs.h:405:52: note: in definition of macro ‘__glibc_unlikely’ # define __glibc_unlikely(cond) __builtin_expect ((cond), 0) ^ ../grub-core/lib/gnulib/intprops.h:426:6: note: in expansion of macro ‘_GL_INT_OP_CALC1’ ? _GL_INT_OP_CALC1 ((t) (a), (t) (b), r, op, overflow, ut, t, tmin, tmax) \ ^ ../grub-core/lib/gnulib/intprops.h:397:7: note: in expansion of macro ‘_GL_INT_OP_CALC’ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ ^ ...... ...... Thanks, Fan _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55892> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub