Skip to contentSkip to conversation

2.5.20 -- /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory

DISCUSSION Miles Lane 1 participant 2 messages Jun 4, 2002

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

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

author
#1 lore raw
Quoted 4 lines · Miles Lane

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:
Quoted 8 lines

/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