This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 2.95.3 destruction in Linux header


> 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]