Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D3FyI-0005HX-SM for mharc-grub-devel@gnu.org; Mon, 21 Feb 2005 10:59:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3FyH-0005Fa-6w for grub-devel@gnu.org; Mon, 21 Feb 2005 10:59:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3Fub-0003dT-Ha for grub-devel@gnu.org; Mon, 21 Feb 2005 10:55:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3FuY-0003OK-BT for grub-devel@gnu.org; Mon, 21 Feb 2005 10:55:50 -0500 Received: from [32.97.182.143] (helo=e3.ny.us.ibm.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D3FGJ-0005Ju-Eq for grub-devel@gnu.org; Mon, 21 Feb 2005 10:14:15 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e3.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j1LFE8Qw032572 for ; Mon, 21 Feb 2005 10:14:08 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j1LFE70H246006 for ; Mon, 21 Feb 2005 10:14:08 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j1LFE2j0011858 for ; Mon, 21 Feb 2005 10:14:02 -0500 Received: from [192.168.0.100] (sig-9-65-60-152.mts.ibm.com [9.65.60.152]) by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j1LFE1W0011836 for ; Mon, 21 Feb 2005 10:14:02 -0500 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <20050221095804.GO5801@schottelius.org> References: <20050221095804.GO5801@schottelius.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Mon, 21 Feb 2005 09:14:01 -0600 To: The development of GRUB 2 X-Mailer: Apple Mail (2.619.2) Subject: Re: build error on ppc X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2005 15:59:41 -0000 On Feb 21, 2005, at 3:58 AM, Nico -telmich- Schottelius wrote: > > I just wanted to compile grub2/cvs, but configure fails: > > [10:31] ei:grub2% ./configure --prefix=/usr/packages/grub2 && make > [...] > checking for objcopy... objcopy > checking whether objcopy works for absolute addresses... configure: > error: gcc cann > ot link at address 2000 > [10:31] ei:grub2% > > Calling > [10:49] ei:grub2% autoconf && autoheader > > does not fix that. > > After commenting out > > #grub_PROG_OBJCOPY_ABSOLUTE > > in configure.ac, autoconf && autoheader, ./configure works fine. That test passes for me. I'm slightly curious about what exactly it's doing and why it's there, but have never looked into it. ... checking whether objcopy works for absolute addresses... yes ... objcopy --version says "GNU objcopy 2.15" for me. > But then make fails: > > -- snip -- > > gcc -o grub-emu grub_emu-kern_main.o grub_emu-kern_device.o > grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_file.o > grub_emu-kern_fs.o grub_emu-kern_err.o grub_emu-kern_misc.o > grub_emu-kern_loader.o grub_emu-kern_rescue.o grub_emu-kern_term.o > grub_emu-partmap_amiga.o grub_emu-partmap_pc.o > grub_emu-partmap_apple.o grub_emu-fs_fshelp.o > grub_emu-util_i386_pc_biosdisk.o grub_emu-fs_fat.o grub_emu-fs_ext2.o > grub_emu-fs_ufs.o grub_emu-fs_minix.o grub_emu-fs_hfs.o > grub_emu-fs_jfs.o grub_emu-fs_iso9660.o grub_emu-normal_cmdline.o > grub_emu-normal_command.o grub_emu-normal_main.o > grub_emu-normal_menu.o grub_emu-normal_arg.o grub_emu-kern_partition.o > grub_emu-util_console.o grub_emu-util_grub_emu.o grub_emu-util_misc.o > grub_emu-util_i386_pc_getroot.o grub_emu-kern_env.o > grub_emu-disk_loopback.o grub_emu-commands_ls.o > grub_emu-commands_help.o grub_emu-commands_terminal.o > grub_emu-commands_boot.o grub_emu-commands_cmp.o > grub_emu-commands_cat.o -lncurses > grub_emu-normal_menu.o(.text+0x944): In function `grub_menu_run': > normal/menu.c:296: undefined reference to `grub_menu_entry_run' > grub_emu-util_grub_emu.o(.text+0x414): In function `main': > util/grub-emu.c:191: undefined reference to `grub_halt_init' > grub_emu-util_grub_emu.o(.text+0x418):util/grub-emu.c:192: undefined > reference to `grub_reboot_init' > grub_emu-util_grub_emu.o(.text+0x430):util/grub-emu.c:201: undefined > reference to `grub_reboot_fini' > grub_emu-util_grub_emu.o(.text+0x434):util/grub-emu.c:202: undefined > reference to `grub_halt_fini' > collect2: ld returned 1 exit status > make: *** [grub-emu] Error 1 For a temporary fix, you can apply the patch I sent out 19 Feb 2005, in a mail titled "PPC build fixes." However as you can see from that thread, there is one more addition I need to make before I can commit the patch, and I won't have time for that tonight. So it will be at least another day or two before CVS will build for PPC. -Hollis