From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OpQg6-0001r5-7p for mharc-grub-devel@gnu.org; Sat, 28 Aug 2010 15:02:58 -0400 Received: from [140.186.70.92] (port=42734 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpQg2-0001qD-H4 for grub-devel@gnu.org; Sat, 28 Aug 2010 15:02:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OpQg1-0005vs-AW for grub-devel@gnu.org; Sat, 28 Aug 2010 15:02:54 -0400 Received: from mailout04.t-online.de ([194.25.134.18]:51502) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpQg1-0005vg-47 for grub-devel@gnu.org; Sat, 28 Aug 2010 15:02:53 -0400 Received: from fwd05.aul.t-online.de (fwd05.aul.t-online.de ) by mailout04.t-online.de with smtp id 1OpQg1-0003q5-BY; Sat, 28 Aug 2010 21:02:53 +0200 Received: from [192.168.2.100] (bHPxpZZlZhG46mNZfn5tghwrNcQyGVr3WXOKj-MK6ANo8lu+2lFv4D88hF4j+HjZqm@[79.224.113.220]) by fwd05.aul.t-online.de with esmtp id 1OpQfv-2G8tNI0; Sat, 28 Aug 2010 21:02:47 +0200 Message-ID: <4C795D59.6050402@t-online.de> Date: Sat, 28 Aug 2010 21:02:49 +0200 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100504 SeaMonkey/2.0.5 MIME-Version: 1.0 To: The development of GNU GRUB References: <4C78FFAB.1000906@t-online.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: bHPxpZZlZhG46mNZfn5tghwrNcQyGVr3WXOKj-MK6ANo8lu+2lFv4D88hF4j+HjZqm X-TOI-MSGID: e103e0e8-3ee1-49d0-903f-766bfc0eafa4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Build fails due to wrong placement of -llibrary options X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2010 19:02:55 -0000 BVK Chaitanya wrote: > On Sat, Aug 28, 2010 at 5:53 PM, Christian Franke > <...> wrote: > >> $ grep ^grub_bin2h_LD Makefile >> grub_bin2h_LDADD = libgrub.a >> grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) $(LIBINTL) >> $(LIBDEVMAPPER) >> >> The above should be: >> grub_bin2h_LDADD = libgrub.a $(LIBINTL) $(LIBDEVMAPPER) >> grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) >> >> Same for all other utils. This likely needs to be fixed in gentpl.py. >> >> > It is not necessary to modify gentpl.py, fixing in Makefile.util.def > should be sufficient. Attached patch fixes all these AFAICS. > > With the patch it works, thanks! Please apply. -- Regards, Christian Franke