Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N4eis-0000IZ-Ai for mharc-grub-devel@gnu.org; Sun, 01 Nov 2009 13:00:14 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4eiq-0000IK-48 for grub-devel@gnu.org; Sun, 01 Nov 2009 13:00:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4eij-0000Hb-Ic for grub-devel@gnu.org; Sun, 01 Nov 2009 13:00:11 -0500 Received: from [199.232.76.173] (port=53002 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4eij-0000HX-EQ for grub-devel@gnu.org; Sun, 01 Nov 2009 13:00:05 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:55689) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4eii-0006vs-Kk for grub-devel@gnu.org; Sun, 01 Nov 2009 13:00:05 -0500 Received: from [85.180.12.171] (e180012171.adsl.alicedsl.de [85.180.12.171]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MY4Jc-1Midkp035k-00VO6V; Sun, 01 Nov 2009 19:00:03 +0100 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Sun, 01 Nov 2009 19:00:02 +0100 Message-ID: <1257098402.3407.3.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+HlPZL7XiR6KCq/9OMXOhue8CuTMTEW8ZnTFH vRjL/ATfDS3uVP1fYrf8qf0hWcRYWfpXHxWqcLiKNy+SLGjVXu tfGQSbM8T1Y7kJ76Bmhz63WNmoZpRMe X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: bzr trunk failed to build from separate build directory 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 Nov 2009 18:00:12 -0000 Am Sonntag, den 01.11.2009, 22:58 +0530 schrieb BVK: > hi > > Bazaar branch, http://bzr.savannah.gnu.org/r/grub/trunk/grub doesn't > seem to build from separate build directory? When I tried building it > from trunk, it goes fine. > > gcc -Iboot/i386/pc -I../trunk/boot/i386/pc -isystem=../trunk/include > -I. -I./include -Wall -W -DASM_FILE=1 -nostdinc -fno-builtin -m32 -MD > -c -o boot_img-boot_i386_pc_boot.o ../trunk/boot/i386/pc/boot.S > ../trunk/boot/i386/pc/boot.S:20:25: error: grub/symbol.h: No such file > or directory > ../trunk/boot/i386/pc/boot.S:21:23: error: grub/boot.h: No such file > or directory > make: *** [boot_img-boot_i386_pc_boot.o] Error 1 > > Am I doing it wrong? Can anybody confirm this? You left the IRC channel too soon. Solution is to add `-I$(srcdir)/include' to TARGET_CPPFLAGS in Makefile or Makefile.in and call configure again -- Felix Zielcke Proud Debian Maintainer and GNU GRUB developer