From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LTkWN-0007DY-Mo for mharc-grub-devel@gnu.org; Sun, 01 Feb 2009 17:10:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTkWL-0007DN-1h for grub-devel@gnu.org; Sun, 01 Feb 2009 17:10:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTkWI-0007Cd-HP for grub-devel@gnu.org; Sun, 01 Feb 2009 17:10:27 -0500 Received: from [199.232.76.173] (port=50760 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTkWI-0007Ca-By for grub-devel@gnu.org; Sun, 01 Feb 2009 17:10:26 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:60024 helo=jenni2.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTkWH-0003Nl-LQ for grub-devel@gnu.org; Sun, 01 Feb 2009 17:10:25 -0500 Received: from [192.168.1.102] (84.248.105.254) by jenni2.inet.fi (8.5.014) id 48FC5A880482601F for grub-devel@gnu.org; Mon, 2 Feb 2009 00:10:20 +0200 Message-ID: <49861DBF.7080507@nic.fi> Date: Mon, 02 Feb 2009 00:10:07 +0200 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: The development of GRUB 2 References: <1233518913.3440.19.camel@fz.local> In-Reply-To: <1233518913.3440.19.camel@fz.local> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: compilation of grub-emu is currently broken 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: Sun, 01 Feb 2009 22:10:29 -0000 Felix Zielcke wrote: > grub_emu-normal_main.o: In function `grub_mod_init': > /home/fz/grub/grub2.svn/normal/main.c:623: undefined reference to `grub_menu_viewer_register' > grub_emu-normal_main.o: In function `grub_normal_execute': > /home/fz/grub/grub2.svn/normal/main.c:580: undefined reference to `grub_menu_viewer_show_menu' > This is actually quite good reminder what is wrong in our current build system. How to specify common files for multiple places... One good example is normal.mod. There is only one non-common file that needs to be there and for that reason it needs to reside on arch specific makefile. So we have same definition on multiple files. In that light I would prefer to have grub-emu architecture that has only specific code there. And then somehow tackle nicely those arch specific stuff to own makefiles... Any ideas are welcome how to achieve that in good way?