[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Report] Can't compile grub on OSX
From: |
Felix Zielcke |
Subject: |
Re: [Report] Can't compile grub on OSX |
Date: |
Sun, 20 Sep 2009 12:47:55 +0200 |
Am Sonntag, den 20.09.2009, 12:44 +0200 schrieb Yves Blusseau:
> Hi,
>
> the mainstream didn't compile on OSX:
>
> gcc-4.2 -Iloader/i386 -I./loader/i386 -I. -I./include -I./include -
> Wall -W -Wall -W -Wshadow -Wpointer-arith -Wmissing-
> prototypes -Wundef -Wstrict-prototypes -g -Os -falign-
> jumps=1 -falign-loops=1 -falign-functions=1 -DAPPLE_CC=1 -fnested-
> functions -m32 -fno-stack-protector -mno-stack-arg-probe -Werror -fno-
> builtin -mrtd -mregparm=3 -m32 -MD -c -o bsd_mod-loader_i386_bsd32.o
> loader/i386/bsd32.c
> cc1: warnings being treated as errors
> loader/i386/bsdXX.c: In function ‘grub_freebsd_load_elf_meta32’:
> loader/i386/bsdXX.c:226: warning: ‘shdr’ may be used uninitialized in
> this function
> make: *** [bsd_mod-loader_i386_bsd32.o] Error 1
>
>
Then just use ./configure --disable-werror
--
Felix Zielcke
Proud Debian Maintainer