help-grub
[Top][All Lists]
Advanced

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

Trying to compile grub2 from bazaar --> make ascii.bitmaps creates empty


From: tormen
Subject: Trying to compile grub2 from bazaar --> make ascii.bitmaps creates empty ascii.bitmaps file ?!
Date: Mon, 16 Aug 2010 20:30:56 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100805 Thunderbird/3.1.1

Hi,

I am trying to build grub2 from source. But if I  checkout the latest version from Bazaar:
    bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub

Then the make:

    ./configure --disable-efiemu --disable-mmdebug --disable-grub-emu --disable-grub-emu-usb --disable-grub-fstest --disable-werror --sbindir=/sbin bindir=/bin libdir=/lib64  &&  make

    or

    ./configure --disable-efiemu --disable-mmdebug --disable-grub-emu --disable-grub-emu-usb --disable-grub-fstest --disable-werror --sbindir=/sbin bindir=/bin libdir=/lib32  &&  make

Always fails:
./grub-mkfont --ascii-bitmaps -o ascii.bitmaps /usr/share/fonts/unifont/unifont.pcf.gz
./grub-bin2h ascii_bitmaps < ascii.bitmaps > ascii.h
x86_64-pc-linux-gnu-gcc -Ifont -I./font -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include -I./include -I. -I./include -Wall -W  -ffreestanding  -Os -DGRUB_MACHINE_PCBIOS=1 -DMACHINE=I386_PC -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes                -Wundef -Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32 -fno-stack-protector -mno-stack-arg-probe -DUSE_ASCII_FAILBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1 -mrtd -mregparm=3 -DGRUB_FILE=\"font/font.c\" -MD -c -o font_mod-font_font.o font/font.c
font/font.c: In function : "ascii_glyph_lookup":
font/font.c:155: error: "ascii_bitmaps" undeclared (first use in this function)
font/font.c:155: error: (Each undeclared identifier is reported only once
font/font.c:155: error: for each function it appears in.)

And - contrary to grub v1.98 - the ascii.bitmaps file is empty which causes the problem.

Can anybody maybe tell me why or what I could try to further track down the problem?
(I tried adding --verbose or -vv to grub-mkfont, but the command still does not yield /any/ output)
...or should I directly post this as a bug?

Thanks for any hint!!

tormen.


reply via email to

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