grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bzr trunk failed to build from separate build directory


From: Felix Zielcke
Subject: Re: bzr trunk failed to build from separate build directory
Date: Sun, 01 Nov 2009 19:00:02 +0100

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]