bzr trunk failed to build from separate build directory
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?
Signature · 1 line
bvk-chaitanya
Am Sonntag, den 01.11.2009, 22:58 +0530 schrieb BVK:
Quoted 15 lines
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
(quoted diff) +0
-2-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
Quoted 1 line
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
Signature · 2 lines
Felix Zielcke Proud Debian Maintainer and GNU GRUB developer
Quoted 2 lines · Felix Zielcke
Solution is to add `-I$(srcdir)/include' to
TARGET_CPPFLAGSinMakefileor Makefile.in and call configure again
Thanks.
Signature · 1 line
bvk-chaitanya