Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N3dLC-0003p9-3F for mharc-grub-devel@gnu.org; Thu, 29 Oct 2009 18:19:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3dL9-0003oi-2A for grub-devel@gnu.org; Thu, 29 Oct 2009 18:19:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3dL4-0003nR-IJ for grub-devel@gnu.org; Thu, 29 Oct 2009 18:19:30 -0400 Received: from [199.232.76.173] (port=55807 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3dL4-0003nK-Bx for grub-devel@gnu.org; Thu, 29 Oct 2009 18:19:26 -0400 Received: from mail-yw0-f194.google.com ([209.85.211.194]:52338) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3dL3-0006YL-Vp for grub-devel@gnu.org; Thu, 29 Oct 2009 18:19:26 -0400 Received: by ywh32 with SMTP id 32so2171916ywh.14 for ; Thu, 29 Oct 2009 15:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=5Miz4EdAXveB+65iyCzXVJWpSwVKsMrxU2TU3cCW/RA=; b=sV3U/fECM6lKp0erQm79CsCTm6ZkpYIv0rbv+lYl1mBup8iRYdv6NqbpPVXVku8Bxn QFQZXocdobtV8fSFW6ddyuMeI77wsiQQoOCR9XWZR+moE6ZrMhA3JICRM/xS+2hMunLs LIQppEQXqaUYxscFP9dLhR5atRMDwj5WWI54w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=vCT5wc+cEztn5AbrhWHNrqybr9pqsQkanF+sLDDrJ5bnC1cJyv+Vj58xaQkj0vd9ji G7n9RhXChSBSOCSd29W4T2aPFPFOTI4ucjBr924+SvQVI+npneWriDeJPySNUWgyfqni 5KNhaoVALZeIv0HRGC7Bp8cuMqbL9GVRciItE= MIME-Version: 1.0 Received: by 10.90.10.40 with SMTP id 40mr1906207agj.85.1256854765071; Thu, 29 Oct 2009 15:19:25 -0700 (PDT) In-Reply-To: <20091028225610.GA16736@thorin> References: <4AE8C29C.1070409@gmail.com> <20091028225610.GA16736@thorin> From: =?ISO-8859-1?Q?Andr=E9_Lopes?= Date: Thu, 29 Oct 2009 22:19:05 +0000 Message-ID: To: The development of GRUB 2 Content-Type: multipart/alternative; boundary=0016361e88b2ce6cd604771a4dce X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Problem building Grub2 on OSX X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2009 22:19:31 -0000 --0016361e88b2ce6cd604771a4dce Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Continuing this thread, today i was going to make grub.efi file, and then another error om grub-mkimage: Command: ./grub-mkimage -v -d . -o grub.efi part_gpt hfsplus fat ext2 normal sh chai= n boot configfile Output: (...) grub-mkimage: info: locating grub_zalloc at 0x4829 grub-mkimage: info: locating memcpy at 0x3b82 grub-mkimage: info: locating memmove at 0x3bc6 grub-mkimage: info: locating start at 0x400 grub-mkimage: info: locating start at 0x400 grub-mkimage: error: undefined symbol memcmp After this i've tried to "svn update"(r2672) the sources but in the make execution: gcc -Ikern -I./kern -nostdinc -I. -I./include -I./include -Wall -W -Wall -= W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -Os -falign-jumps=3D1 -falign-loops=3D1 -falign-functions=3D1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -DAPPLE_CC=3D1 -fnested-functions -m32 -fno-stack-protector -mno-stack-arg-probe -Werror -fno-builtin -m32 -MD -c -o kernel_mod-kern_main.o kern/main.c In file included from kern/main.c:21: ./include/grub/misc.h:23:20: error: stdarg.h: No such file or directory In file included from kern/main.c:21: ./include/grub/misc.h:178: error: syntax error before =91va_list=92 cc1: warnings being treated as errors ./include/grub/misc.h:178: warning: function declaration isn=92t a prototyp= e ./include/grub/misc.h:180: error: syntax error before =91va_list=92 ./include/grub/misc.h:180: warning: function declaration isn=92t a prototyp= e make: *** [kernel_mod-kern_main.o] Error 1 Any hints, on this problem? The svn tag release_1_97 compiles just fine wit= h the include of stdarg.h. On Wed, Oct 28, 2009 at 10:56 PM, Robert Millan wrote: > On Wed, Oct 28, 2009 at 10:35:23PM +0000, Andr=E9 Lopes wrote: > > Yes it was that. Now it builds almost fine! > > Fixed in SVN, thank you. > > > Now it just gives an ignored error building the docs, i think: > > > > [...] > > make: [docs/grub.info] Error 1 (ignored) > > This is to be expected. Patches welcome. > > -- > Robert Millan > > The DRM opt-in fallacy: "Your data belongs to us. We will decide when (a= nd > how) you may access your data; but nobody's threatening your freedom: we > still allow you to remove your data and not access it at all." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Andr=E9 Lopes Jonathan Swift - "May you live every day of your life." --0016361e88b2ce6cd604771a4dce Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Continuing this thread, today i was going to make grub.efi file, and then a= nother error om grub-mkimage:

Command:
./grub-mkimage -v -d . -o = grub.efi part_gpt hfsplus fat ext2 normal sh chain boot configfile

Output:
(...)
grub-mkimage: info: locating grub_zalloc at 0x4829
g= rub-mkimage: info: locating memcpy at 0x3b82
grub-mkimage: info: locatin= g memmove at 0x3bc6
grub-mkimage: info: locating start at 0x400
grub-mkimage: info: locating start at 0x400
grub-mkimage: error: undefined symbol memcmp


After this i've= tried to "svn update"(r2672) the sources but in the make executi= on:

gcc -Ikern -I./kern -nostdinc -I. -I./include -I./include -Wall = -W=A0 -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -Wundef -Wstrict-prototypes -g -Os -fa= lign-jumps=3D1 -falign-loops=3D1 -falign-functions=3D1 -mno-mmx -mno-sse -m= no-sse2 -mno-3dnow -DAPPLE_CC=3D1 -fnested-functions -m32 -fno-stack-protec= tor -mno-stack-arg-probe -Werror -fno-builtin -m32 -MD -c -o kernel_mod-ker= n_main.o kern/main.c
In file included from kern/main.c:21:
./include/grub/misc.h:23:20: error= : stdarg.h: No such file or directory
In file included from kern/main.c:= 21:
./include/grub/misc.h:178: error: syntax error before =91va_list=92<= br> cc1: warnings being treated as errors
./include/grub/misc.h:178: warning= : function declaration isn=92t a prototype
./include/grub/misc.h:180: er= ror: syntax error before =91va_list=92
./include/grub/misc.h:180: warnin= g: function declaration isn=92t a prototype
make: *** [kernel_mod-kern_main.o] Error 1
=A0
Any hints, on this pro= blem? The svn tag release_1_97 compiles just fine with the include of stdar= g.h.

On Wed, Oct 28, 2009 at 10:56 PM, Ro= bert Millan <rmh@ay= babtu.com> wrote:
On Wed, Oct 28, 2009 at 10:35:23PM +0000, Andr=E9 Lopes wrote:
> Yes it was that. Now it builds almost fine!

Fixed in SVN, thank you.

> Now it just gives an ignored error building the docs, i think:
>
> [...]
> make: [docs/grub.info] Error 1 (ignored)

This is to be expected. =A0Patches welcome.

--
Robert Millan

=A0The DRM opt-in fallacy: "Your data belongs to us. We will decide w= hen (and
=A0how) you may access your data; but nobody's threatening your freedo= m: we
=A0still allow you to remove your data and not access it at all."


_______________________________________________



--
Andr=E9 Lop= es
Jonathan Swift =A0- "May you live every d= ay of your life." --0016361e88b2ce6cd604771a4dce--