[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-xfs
Subject:    Re: compile errors
From:       cattelan () thebarn ! com
Date:       2000-04-27 18:12:06
[Download RAW message or body]


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@suse.de> 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 list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic