[BRLTTY] BRLTTY in GRUB2

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Mon Apr 2 12:01:27 EDT 2012


On 02.04.2012 17:33, Dave Mielke wrote:
> charset, hostcmd, and mount have now been split into platform-dependent 
> packages.
>
> There's now a sys_grub.c, as well as a skeleton grub screen driver.
>
> autogen.sh and configure have now been run. Here are the next set of errors in 
> my simulated grub build environment that I'd appreciate your thoughts on. The 
> first is that stdio.h (in posix_wrap/include) includes misc.h (in 
> include/grub), which includes stdarg.h, which doesn't seem to exist. The second 
> set are a bunch of PACKAGE_xxx redefines.
you need  to add -isystem `$TARGET_CC -print-file-name=include` to gcc.
As to PACKAGE_xxx I haven't found any solution, at least yet.
> configure:17223: gcc -c -g -O2 -std=gnu99 -Wall -ffreestanding -nostdinc -nostdlib  -DGRUB_RUNTIME -I/home/dave/brltty/projects/grub/grub -I/home/dave/brltty/projects/grub/grub/grub-core/lib/posix_wrap/include -I/home/dave/brltty/projects/grub/grub/include conftest.c >&5
> In file included from /home/dave/brltty/projects/grub/grub/grub-core/lib/posix_wrap/include/stdio.h:22,
>                  from conftest.c:79:
> /home/dave/brltty/projects/grub/grub/include/grub/misc.h:23:20: error: stdarg.h: No such file or directory
> In file included from /home/dave/brltty/projects/grub/grub/config.h:9,
>                  from /home/dave/brltty/projects/grub/grub/include/grub/types.h:22,
>                  from /home/dave/brltty/projects/grub/grub/include/grub/misc.h:24,
>                  from /home/dave/brltty/projects/grub/grub/grub-core/lib/posix_wrap/include/stdio.h:22,
>                  from conftest.c:79:
> /home/dave/brltty/projects/grub/grub/config-util.h:1042:1: warning: "PACKAGE_BUGREPORT" redefined
> conftest.c:6:1: warning: this is the location of the previous definition
> /home/dave/brltty/projects/grub/grub/config-util.h:1045:1: warning: "PACKAGE_NAME" redefined
> conftest.c:2:1: warning: this is the location of the previous definition
> /home/dave/brltty/projects/grub/grub/config-util.h:1048:1: warning: "PACKAGE_STRING" redefined
> conftest.c:5:1: warning: this is the location of the previous definition
> /home/dave/brltty/projects/grub/grub/config-util.h:1051:1: warning: "PACKAGE_TARNAME" redefined
> conftest.c:3:1: warning: this is the location of the previous definition
> /home/dave/brltty/projects/grub/grub/config-util.h:1054:1: warning: "PACKAGE_VERSION" redefined
> conftest.c:4:1: warning: this is the location of the previous definition
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://mielke.cc/pipermail/brltty/attachments/20120402/fcbaef1a/attachment.sig>


More information about the BRLTTY mailing list