Mailinglist Archive: opensuse (3442 mails)

< Previous Next >
Re: [SLE] pt_drv on 2.2.18
  • From: zentara <zentara@xxxxxxxxxxxxxx>
  • Date: Fri, 14 Dec 2001 09:48:43 -0500
  • Message-id: <3C1A114B.C81BE64@xxxxxxxxxxxxxx>
zentara wrote:
> David McGlone wrote:
> > Im in a little bit of trouble, it seems "rm /usr/src/linux" removed the top
> > level folder "linux" in /usr/src.
> > /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory

> The default kernel rpm dosn't include all the kernel files. It just
> installs the kernel in /boot and puts a minimal set of header files
> in /usr/src/linux. The errno.h file is one of those it is supposed to
> install. Maybe your kernel rpm isn't setup right.

I forgot to mention this, but it may be part of your problem.
In /usr/src/linux/include there should be a symlink @asm pointing
to your architecture, probably /asm-i386. This can also cause
a similar error if the link isn't there.
When you compile your own kernel from scratch, the ~asm link
gets created when you do a make dep. It may not be there in whatever
kernel package you installed.

< Previous Next >