On 22.11.2013 08:09, Beeblebrox wrote: > @ Vladimir: >>> Please attach your config.log > Enclosed as requested (for latest run) > No you didn't. No config.log is attached. Please send it. > A new problem: I updated the git repo to latest and tried to re-build. > Build was started with: > ./autogen.sh USE_GCC=any --disable-werror > ./configure USE_GCC=any --disable-werror > gmake USE_GCC=any > However, compile fails as below. I cannot seem to get the compiler to > use gcc46 which is on my system - it insists on using clang. > GRUB can be compiled with clang 3.2 or later like INSTALL mentions. > cc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 > -DGRUB_FILE=\"grub-core/osdep/platform_unix.c\" -I. -I. -I. -I. > -I./include -I./include -I./grub-core/lib/libgcrypt-grub/include > -I./grub-core/lib/libgcrypt-grub/src/ -I./grub-core/gnulib > -I./grub-core/gnulib -I/usr/local/include -Wall -W -Wshadow > -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Wattributes > -Wchar-subscripts -Wcomment -Wdeprecated-declarations > -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wfloat-equal > -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit > -Wimplicit-function-declaration -Wimplicit-int -Winit-self > -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces > -Wmissing-field-initializers -Wmissing-format-attribute -Wmultichar > -Wnonnull -Woverflow -Wparentheses -Wpointer-arith > -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow > -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef > -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label > -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros > -Wvolatile-register-var -Wwrite-strings -Wnested-externs > -Wstrict-prototypes -Wpointer-sign -Wcast-align -Wno-undef > -Wno-sign-compare -Wno-unused -Wno-unused-parameter > -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion > -Wno-old-style-definition -MT > grub-core/osdep/grub_mkrescue-platform_unix.o -MD -MP -MF > grub-core/osdep/.deps-util/grub_mkrescue-platform_unix.Tpo -c -o > grub-core/osdep/grub_mkrescue-platform_unix.o `test -f > 'grub-core/osdep/platform_unix.c' || echo > './'`grub-core/osdep/platform_unix.c > In file included from grub-core/osdep/platform_unix.c:2: > grub-core/osdep/unix/platform.c:34:28: error: use of undeclared > identifier 'PATH_MAX' > char *ret = xmalloc (2 * PATH_MAX); > ^ > grub-core/osdep/unix/platform.c:35:25: error: use of undeclared > identifier 'PATH_MAX' > char *end = ret + 2 * PATH_MAX - 1; > ^ > 2 errors generated. grep PATH_MAX /usr/include/* > gmake[2]: *** [grub-core/osdep/grub_mkrescue-platform_unix.o] Error 1 > gmake[2]: Leaving directory `/asp/git/grub' > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel