linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* compile problems with header includes
@ 2000-11-06 21:53 Jon Erick Ween
  0 siblings, 0 replies; only message in thread
From: Jon Erick Ween @ 2000-11-06 21:53 UTC (permalink / raw)
  To: daenzerm; +Cc: linuxppc-dev


Iain Sandoe wrote:

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-06 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-06 21:53 compile problems with header includes Jon Erick Ween

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).