I have a related problem. I have RH6.1, but I recently upgraded to
kernel 2.2.16, using the instructions from the HOWTO (as well as all
other recommended upgrades)

Now, when I try to compile anything complicated (e.g. the kernel itself,
or xemacs), I get error messages like

In file included from /usr/include/errno.h:36,
                 from <whatever>
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory

that is, linux/errno.h doesn't exist (nor does any other linux/*.h that
various *.h files try to include)

I have tried getting the latest glibc libraries and headers, to no avail.

HELP!

Andrew

[EMAIL PROTECTED] (Tony Seward) writes:
> Right.  There's one in the kernel-headers RPM to which I set a symlink.  But
> I thought that I had seen somewhere on the kernel list that users should not
> have to have the kernel headers on their machine in order to compile normal
> programs (i.e. programs that don't interact directly with the kernel).  So,
> I'm wondering if I'm remembering this wrong or if there should be headers
> with glibc or if their should be another RPM.
> 
> Tony
> 
> On Tue, 8 Aug 2000, [iso-8859-1] René Møller Fonseca wrote:
> 
> > I think 'linux/limits.h' is generated when you configure and/or compile
> > the kernel.
> > 
> > René
> > 
> > Tony Seward wrote:
> > > 
> > > When including <limits.h> I get the following traceback:
> <snip>
> > > 
> > > /usr/include/bits/local_lim.h says that it wants the kernel's limits.h.
> > > IIR, this (requiring the kernel headers to compile user programs) is frowned
> > > upon by the kernel people.  Is this a problem with glibc, or the RPMs or me?
> > > 
> > 
> 
> 
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list

-- 
Andrew Jaffe___________________________________________________________ 
Center for Particle Astrophysics                [EMAIL PROTECTED]
University of California, 301 LeConte Hall               (510) 642-7570
Berkeley, CA 94720                                        FAX    2-1756



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to