Hi, Either I missed some commit and the instructions how to build on the AMD64. Below I included the config.log output. As you can see it tries to compile the test for the target machine and it uses glibc. I think we have to disable the use of glibc for these autoconf tests. But I am asking to make sure I am not wasting a lot of time by doing the wrong thing.
Thanks, Marco configure:6331: checking if start is defined by the compiler configure:6352: gcc -o conftest -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -m32 -m32 conftest.c >&5 conftest.c:30: warning: function declaration isn't a prototype /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.a when searching for -lc /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status configure:6358: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GRUB" | #define PACKAGE_TARNAME "grub" | #define PACKAGE_VERSION "1.94" | #define PACKAGE_STRING "GRUB 1.94" | #define PACKAGE_BUGREPORT "bug-grub@gnu.org" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_LONG 8 | #define HAVE_LZO1X_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_POSIX_MEMALIGN 1 | #define HAVE_MEMALIGN 1 | /* end confdefs.h. */ | | int | main () | { | asm ("incl start") | ; | return 0; | } _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel