This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95.3 destruction in Linux header
- To: moshier at moshier dot ne dot mediaone dot net
- Subject: Re: 2.95.3 destruction in Linux header
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Sat, 24 Mar 2001 15:13:36 -0800
- CC: gcc-bugs at gcc dot gnu dot org
- References: <Pine.LNX.4.20.0103240909110.13038-100000@moshier.ne.mediaone.net>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> Date: Sat, 24 Mar 2001 09:25:33 -0500 (EST)
> From: Stephen L Moshier <moshier@mediaone.net>
> > #include <linux/fs.h>
>
> I'm not satisfied that this error is explained.
> Upon copying a line found in the linux makefile, I see that
> gcc -D__KERNEL__ -I/usr/src/linux/include -c tst.c
> works, but
> gcc -D__KERNEL__ -c tst.c
> fails with gcc-2.95.3.
>
> Why would it be necessary or desirable to say
> -I/usr/src/linux/include
> when <linux/fs.h> already seems to resolve properly?
>
> Is this just papering over a gcc bug?
Do you have /usr/include/linux as a symlink into /usr/src/linux?
--
- Geoffrey Keating <geoffk@geoffk.org>