Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BtCOw-00019T-3G for mharc-grub-devel@gnu.org; Fri, 06 Aug 2004 17:37:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BtCOt-000192-2z for grub-devel@gnu.org; Fri, 06 Aug 2004 17:37:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BtCOr-00016b-5z for grub-devel@gnu.org; Fri, 06 Aug 2004 17:37:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BtCOr-00016R-3U for grub-devel@gnu.org; Fri, 06 Aug 2004 17:37:17 -0400 Received: from [213.51.128.197] (helo=smtpq2.home.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BtCKx-0000K3-AV for grub-devel@gnu.org; Fri, 06 Aug 2004 17:33:15 -0400 Received: from [213.51.128.132] (port=39419 helo=smtp1.home.nl) by smtpq2.home.nl with esmtp (Exim 4.30) id 1BtCKt-0007MT-DR for grub-devel@gnu.org; Fri, 06 Aug 2004 23:33:11 +0200 Received: from cc260354-a.hnglo1.ov.home.nl ([213.51.104.118]:64198 helo=[192.168.1.10]) by smtp1.home.nl with esmtp (Exim 4.30) id 1BtCKr-0007mm-MH for grub-devel@gnu.org; Fri, 06 Aug 2004 23:33:09 +0200 From: Kars de Jong To: GRUB 2 development mailing list Content-Type: text/plain Message-Id: <1091828001.2633.15.camel@kars.perseus.home> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 06 Aug 2004 23:33:21 +0200 Content-Transfer-Encoding: 7bit X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: Compiler version requirement wrong 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: Fri, 06 Aug 2004 21:37:19 -0000 Hello everyone, I'm new to this list. I'd like to add support for the Motorola 680x0 series of CPUs and systems to GRUB 2. At first this will probably be for HP9000/300 series workstations, because they don't have a Linux bootloader yet, and I happen to own one :-) When exploring the project I noticed the build requirements appear to be wrong: the current CVS version doesn't build with gcc version 2.95.4 20011002 (Debian prerelease) (which is the compiler delivered with Debian Woody (stable)). When compiling fs/ext2.c I get the following error: gcc -Ifs -I../fs -I. -Iinclude -I../include -Wall -W -DGRUB_DATADIR=\"/usr/local/share/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1 -c -o grub_setup-fs_ext2.o ../fs/ext2.c ../fs/ext2.c:135: warning: unnamed struct/union that defines no instances ../fs/ext2.c: In function `grub_ext2_get_file_block': ../fs/ext2.c:189: structure has no member named `blocks' ../fs/ext2.c:196: structure has no member named `blocks' ../fs/ext2.c:213: structure has no member named `blocks' ../fs/ext2.c:184: warning: `blknr' might be used uninitialized in this function ../fs/ext2.c: In function `grub_ext2_find_file': ../fs/ext2.c:483: structure has no member named `symlink' ../fs/ext2.c: In function `grub_ext2_dir': ../fs/ext2.c:644: parse error before `int' ../fs/ext2.c:655: `ino' undeclared (first use in this function) ../fs/ext2.c:655: (Each undeclared identifier is reported only once ../fs/ext2.c:655: for each function it appears in.) ../fs/ext2.c:671: `fpos' undeclared (first use in this function) make: *** [grub_setup-fs_ext2.o] Error 1 With gcc-3.0 it does build. The problem lies at line 135. No idea how to solve it though, other than naming the union. Kind regards, Kars.