From: Keith Owens <kaos@ocs.com.au>
To: Christoph Hellwig <hch@ns.caldera.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: zisofs doesn't compile in 2.4.10-ac7
Date: Mon, 08 Oct 2001 15:53:20 +1000 [thread overview]
Message-ID: <2772.1002520400@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Sun, 07 Oct 2001 16:11:04 +0200." <200110071411.f97EB4o26001@ns.caldera.de>
On Sun, 7 Oct 2001 16:11:04 +0200,
Christoph Hellwig <hch@ns.caldera.de> wrote:
>It should be tested with the following patch instead:
>
>--- linux/Makefile~ Wed Oct 3 15:31:07 2001
>+++ linux/Makefile Sun Oct 7 17:04:39 2001
>@@ -94,7 +94,8 @@
> # standard CFLAGS
> #
>
>-CPPFLAGS := -D__KERNEL__ -I$(HPATH)
>+GCCINC := $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/\1include/gp')
>+CPPFLAGS := -D__KERNEL__ -nostdinc -I$(HPATH) -I$(GCCINC)
>
> CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
> -fomit-frame-pointer -fno-strict-aliasing -fno-common
>
Good idea. kbuild 2.5 starting with 2.4.11-pre5 forces the kernel to
only use its own includes plus gcc install includes. No more scanning
/usr/include for kernel compiles.
next prev parent reply other threads:[~2001-10-08 5:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-07 13:43 zisofs doesn't compile in 2.4.10-ac7 Lehmann
2001-10-07 14:11 ` Christoph Hellwig
2001-10-08 5:53 ` Keith Owens [this message]
2001-10-08 6:22 ` Keith Owens
2001-10-07 14:39 ` Keith Owens
2001-10-08 15:32 ` David Woodhouse
2001-10-08 21:59 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2772.1002520400@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=hch@ns.caldera.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.