Package: grub2 Version: 1.94+20060926-1 Severity: wishlist Tags: patch Hello,
thank you for uploading the new version of grub2 which also targets ppc64. When building 'grub2' on ppc64/unstable, I get the following error: util/console.c:89: undefined reference to `stdscr' util/console.c:89: undefined reference to `stdscr' util/console.c:89: undefined reference to `waddch' grub_emu-util_console.o: In function `grub_ncurses_init': util/console.c:271: undefined reference to `stdscr' util/console.c:268: undefined reference to `initscr' util/console.c:269: undefined reference to `raw' util/console.c:270: undefined reference to `noecho' util/console.c:271: undefined reference to `stdscr' util/console.c:271: undefined reference to `scrollok' util/console.c:273: undefined reference to `nonl' util/console.c:274: undefined reference to `stdscr' util/console.c:274: undefined reference to `intrflush' util/console.c:275: undefined reference to `stdscr' util/console.c:275: undefined reference to `keypad' util/console.c:276: undefined reference to `start_color' collect2: ld returned 1 exit status make[1]: *** [grub-emu] Error 1 make[1]: Leaving directory `/grub2-1.94+20060926' make: *** [debian/stamp-makefile-build] Error 2 This occurs because util/console.c is compiled with the '-m32' switch and the linker does not find a corresponding 32-bit-powerpc libncurses library on ppc64. With the attached patch 'grub2' can be compiled on ppc64. Regards Andreas Jochens diff -urN ../tmp-orig/grub2-1.94+20060926/configure ./configure --- ../tmp-orig/grub2-1.94+20060926/configure 2006-09-26 17:24:33.000000000 +0000 +++ ./configure 2006-09-28 07:12:59.000000000 +0000 @@ -1877,10 +1877,6 @@ NONENONEs,x,x, && program_prefix=${target_alias}- -case "$host_cpu" in - powerpc64) host_m32=1 ;; -esac - case "$target_cpu" in i[3456]86) target_cpu=i386 ;; x86_64) target_cpu=i386 target_m32=1 ;; diff -urN ../tmp-orig/grub2-1.94+20060926/configure.ac ./configure.ac --- ../tmp-orig/grub2-1.94+20060926/configure.ac 2006-07-12 20:42:52.000000000 +0000 +++ ./configure.ac 2006-09-28 07:12:47.000000000 +0000 @@ -40,10 +40,6 @@ AC_CANONICAL_HOST AC_CANONICAL_TARGET -case "$host_cpu" in - powerpc64) host_m32=1 ;; -esac - case "$target_cpu" in i[[3456]]86) target_cpu=i386 ;; x86_64) target_cpu=i386 target_m32=1 ;; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]