2002-06-04 06:01:17

by Miles Lane

[permalink] [raw]
Subject: 2.5.20 -- /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory

gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o split-include
split-inIn file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from split-include.c:26:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
make[1]: *** [split-include] Error 1

I recall seeing a comment that egcs support was being removed.
I am building on a machine I haven't used in a while and
just noticed it has egcs on it. If this error is egcs-specific,
could we please check the gcc version and emit an error stating
that egcs isn't supported?

Miles


2002-06-04 07:54:51

by Miles Lane

[permalink] [raw]
Subject: Re: 2.5.20 -- /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory

On Mon, 2002-06-03 at 23:21, Miles Lane wrote:
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o split-include
> split-inIn file included from /usr/include/bits/errno.h:25,
> from /usr/include/errno.h:36,
> from split-include.c:26:
> /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
> make[1]: *** [split-include] Error 1
>
> I recall seeing a comment that egcs support was being removed.
> I am building on a machine I haven't used in a while and
> just noticed it has egcs on it. If this error is egcs-specific,
> could we please check the gcc version and emit an error stating
> that egcs isn't supported?

I figured out I needed a copy of the 2.2 kernel headers for egcs
to work. I think I made enough room to build gcc 2.95.3 (which is
listed as the gcc to use in Documentation/Changes).

Miles