From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LlnS2-0000jM-P3 for mharc-grub-devel@gnu.org; Mon, 23 Mar 2009 12:56:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LlnS0-0000iw-S1 for grub-devel@gnu.org; Mon, 23 Mar 2009 12:56:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LlnRw-0000i2-A2 for grub-devel@gnu.org; Mon, 23 Mar 2009 12:56:36 -0400 Received: from [199.232.76.173] (port=38443 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LlnRw-0000hw-2Q for grub-devel@gnu.org; Mon, 23 Mar 2009 12:56:32 -0400 Received: from c60.cesmail.net ([216.154.195.49]:3262) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1LlnRv-0002PL-Qw for grub-devel@gnu.org; Mon, 23 Mar 2009 12:56:31 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 23 Mar 2009 12:56:30 -0400 Received: from [192.168.0.22] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id BFA2134C6D for ; Mon, 23 Mar 2009 12:56:53 -0400 (EDT) From: Pavel Roskin To: grub-devel@gnu.org Content-Type: text/plain Date: Mon, 23 Mar 2009 12:56:29 -0400 Message-Id: <1237827389.25031.24.camel@mj> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: multiboot2.h includes stdint.h - not good 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: Mon, 23 Mar 2009 16:56:37 -0000 Hello! The current GRUB reports this on stderr during compilation: In file included from loader/i386/multiboot_helper.S:21: ./include/multiboot2.h:37:20: error: stdint.h: No such file or directory In file included from loader/i386/multiboot_helper.S:21: ./include/multiboot2.h:37:20: error: stdint.h: No such file or directory In file included from loader/i386/multiboot_helper.S:21: ./include/multiboot2.h:37:20: error: stdint.h: No such file or directory There are two problems here. One is that stdint.h cannot be found (apparently, the default includes are not used when compiling for the target). Another problem is that the build succeeds despite such errors. I'm compiling in x86_64 environment (Fedora 10). There are no arguments to configure, so it's compiling for i386-pc. glibc-devel-2.9-3.i386 is installed. /usr/include/stdint.h is present (provided by glibc-headers-2.9-3.x86_64). By the way, I already noticed that the inclusion of stdint.h from multiboot2.h is one of the problems preventing cross-compilation of GRUB without the libc for the target. Perhaps GRUB should provide its replacement for stdint.h when compiling for the target. Alternatively, multiboot2.h should use GRUB types. -- Regards, Pavel Roskin