From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JOdZV-0006dC-08 for mharc-grub-devel@gnu.org; Mon, 11 Feb 2008 13:40:05 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOdZT-0006cw-Ln for grub-devel@gnu.org; Mon, 11 Feb 2008 13:40:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOdZR-0006bI-VV for grub-devel@gnu.org; Mon, 11 Feb 2008 13:40:03 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOdZR-0006bD-Pc for grub-devel@gnu.org; Mon, 11 Feb 2008 13:40:01 -0500 Received: from edu-smtp-02.edutel.nl ([88.159.1.222]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOdZR-0004mM-LT for grub-devel@gnu.org; Mon, 11 Feb 2008 13:40:01 -0500 Received: from peder.flower (100-195-ftth.onsbrabantnet.nl [88.159.195.100]) by edu-smtp-02.edutel.nl (Postfix) with ESMTP id 07B8211E639; Mon, 11 Feb 2008 19:44:53 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by peder.flower (Postfix) with ESMTP id C3DD7AC5DE; Mon, 11 Feb 2008 19:39:57 +0100 (CET) From: Jan Nieuwenhuizen To: The development of GRUB 2 In-Reply-To: <20080211160152.GA7448@thorin> References: <20080211160152.GA7448@thorin> Content-Type: text/plain Organization: lilypond-design.org Date: Mon, 11 Feb 2008 19:39:56 +0100 Message-Id: <1202755197.24963.17.camel@peder.flower> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [PATCH] improve error handling in util/ 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, 11 Feb 2008 18:40:03 -0000 Robert Millan: > This improves error handling notably in util/. For example, from: > > $ ./grub-probe -t fs / > grub-probe: error: cannot find a GRUB drive for /dev/sda1. Sorry, still get the constant error message. $ ./grub-probe -t partmap /boot error: unknown device grub-probe: error: unknown device Also, had to make grub-probe specifically, this patch introduces a problem with grub-mkimage $ make gcc -o grub-mkimage grub_mkimage-util_i386_pc_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o -llzo2 grub_mkimage-util_misc.o: In function `grub_util_error': /home/janneke/vc/grub2/util/misc.c:65: undefined reference to `grub_print_error' collect2: ld returned 1 exit status make: *** [grub-mkimage] Fout 1 Greetings, Jan. -- Jan Nieuwenhuizen | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org