Re: Error during make

John J. LeMay Jr. (jlemay@njmc.com)
Wed, 8 Sep 1999 16:24:00 -0400 (EDT)


Worked like a champ. Those were the two - I just had to recreate them (the
ones that existed were wrong) and everything is working fine. I reread the
README , but I didn't see any info on this - perhaps it was elsewhere.

Thanks for the speedy reply!

On Wed, 8 Sep 1999, Rui Sousa wrote:

>
> When you removed all the RedHat rpms some important symlinks were erased,
> namely:
>
> /usr/include/asm -> /usr/src/linux/include/asm
> /usr/include/linux -> /usr/src/linux/include/linux
>
> I my have omitted some or made some mistake but you should
> get the idea. Check the rpms (kernel-source or kernel-headers)
> with "rpm -ql" to see which of the important links are missing.
> I think this are also mentioned in /usr/src/linux/README
>
> Rui Sousa
>
> On Wed, 8 Sep 1999, John J. LeMay Jr. wrote:
>
> >
> > I recently installed RH 6 on an x86 based box. As I need to upgrade my
> > kernel to add some hardware support, I downloaded the 2.2.12 tarball
> > (which I have been running on my main PC for a while now). I first removed
> > all of the RH kernel rpms, created a directory called 2.2.12 in /usr/src
> > and created a symlink /usr/src/linux to /usr/src/linxu-2.2.12. I then
> > untarred the new kernel in /usr/src which put everything is what appears
> > to be the right place.
> >
> > I sucessfully completed make xconfig and make dep, however when I attempt
> > to created the kernel image with "make bzImage", I receive the following
> > error:
> >
> > [root@rh60-01 linux]# make bzImage
> > 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
> > make: *** [scripts/split-include] Error 1
> >
> >
> > If anyone has any tips I would greatly appreciate them! After compiling a
> > few dozen kernels over the past year or two, this kind of has me stumped.
> >
> >
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/