xfs
[Top] [All Lists]

Re: compile errors

To: ak@xxxxxxx
Subject: Re: compile errors
From: cattelan@xxxxxxxxxxx
Date: Thu, 27 Apr 2000 13:12:06 -0500
Cc: mostek@xxxxxxx, suzukis@xxxxxxxxxxxxxxxxxxxxxx, ealonso@xxxxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: In your message of "Thu, 27 Apr 2000 20:00:37 +0200" <20000427200037.A3662@xxxxxxxxxxxxxxxxxxx>
References: <20000427165847.13187.qmail@xxxxxxxxxxxxxxxxxxxxxx> <200004271731.MAA62387@xxxxxxxxxxxxxxxxxxxxxxxx> <20000427200037.A3662@xxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Wanderlust/1.0.3 (Notorious) tm/7.108 XEmacs/21.1 (Bryce Canyon)
Doesn't break anything... I check it in.

reports from 2.7 would be appreciated.

Thanks Andi
At Thu, 27 Apr 2000 20:00:37 +0200,
Andi Kleen <ak@xxxxxxx> wrote:
> 
> 
> 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

<Prev in Thread] Current Thread [Next in Thread>