Received: by oss.sgi.com id ; Thu, 27 Apr 2000 11:01:03 -0700 Received: from Cantor.suse.de ([194.112.123.193]:42507 "HELO Cantor.suse.de") by oss.sgi.com with SMTP id ; Thu, 27 Apr 2000 11:00:42 -0700 Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136]) by Cantor.suse.de (Postfix) with ESMTP id 1E4841E153; Thu, 27 Apr 2000 20:00:39 +0200 (MEST) Received: from gruyere.muc.suse.de (unknown [10.23.1.2]) by Hermes.suse.de (Postfix) with ESMTP id 8161710A03E; Thu, 27 Apr 2000 20:00:38 +0200 (MEST) Received: by gruyere.muc.suse.de (Postfix, from userid 14446) id 8DB732F36B; Thu, 27 Apr 2000 20:00:37 +0200 (MEST) Date: Thu, 27 Apr 2000 20:00:37 +0200 From: "Andi Kleen" To: Jim Mostek Cc: suzukis@file.phys.tohoku.ac.jp, ealonso@alum.etsii.upm.es, linux-xfs@oss.sgi.com Subject: Re: compile errors Message-ID: <20000427200037.A3662@gruyere.muc.suse.de> References: <20000427165847.13187.qmail@file.phys.tohoku.ac.jp> <200004271731.MAA62387@fsgi344.americas.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200004271731.MAA62387@fsgi344.americas.sgi.com>; from mostek@sgi.com on Thu, Apr 27, 2000 at 12:31:44PM -0500 Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-xfs-outgoing On Thu, Apr 27, 2000 at 12:31:44PM -0500, Jim Mostek wrote: > > You hit the nail on the head. > We are focusing on getting XFS working now and will deal with > compatability issues later. > > It would be great if you could provide some patches with fixes > to work with the the gcc version you have. We would integrate these > after some study. Try this patch (the same technique is used in other places of the 2.3 kernel): --- linux/fs/xfs/Makefile-o Fri Apr 28 03:51:41 2000 +++ linux/fs/xfs/Makefile Fri Apr 28 04:04:33 2000 @@ -44,9 +44,12 @@ EXTRA_FIND_DIRECTORIES = linux pseudo-inc EXTRA_INCLUDE_DIRECTORIES = -I./linux -I./pseudo-inc -I. -EXTRA_CFLAGS += -g3 -Wno-unused -Wno-unknown-pragmas -Wno-parentheses \ +EXTRA_CFLAGS += -g3 -Wno-unused -Wno-parentheses \ -Wno-uninitialized ${EXTRA_INCLUDE_DIRECTORIES} -D_KERNEL \ -funsigned-char + +EXTRA_CFLAGS += $(shell if $(CC) -Wno-unknown-pragmas -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-Wno-unknown-pragmas"; fi) + # EXTRA_CFLAGS += -DDEBUG -DXFSDEBUG -Andi