Skip to contentSkip to conversation

compile problems with header includes

DISCUSSION Jon Erick Ween 1 participant 1 message Nov 6, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Iain Sandoe

[root@athena stable-dma-int]# make vmlinux
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36,
from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory

Quoted 8 lines

On 2.4.0-test4 (just to see if the build script makes *any* difference):

[root@athena linux-2.4.0-t4-wrk]# make vmlinux
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36,
from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory

You are lacking the glibc header files. On my Debian potato system I have:

Quoted 1 line

dpkg -S linux/errno.h

libc6-dev: /usr/include/linux/errno.h

I've been having this same problem too, but DO have the header files installed. Any idea of what else might be broken for gcc not to find the header? (I use a linuxppc2K/redhat system).

Jon

Jon Erik Ween, MD
Cognitive and Cerebrovascular Neurology
Loma Linda University

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/