[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Upgrade naar 2.4.1



Thanks Tom. The problem was the makefile pointing to gcc (I'm running ver 2.96-69) not kgcc (ver 1.1.2-40 here) and binutil 2.10.0.18-1. Once I changed the 2 lines looking for gcc in the top-level makefile to piont to kgcc, it compiled and installed no problem.

Thanks to all of you and your great ideas :).

Bob


Thomas Dodd wrote:


Tom Yarrish wrote:

I had a similar issue with this when I was compiling 2.4.  If I remember
correctly, I went into the appropriate errno.h file and put the full path
to the file in the include.  The error message is basically saying the
compiler can't find the header file in the path.

Tom

On Tue, 20 Feb 2001, bobjones68 wrote:

I hate to sound like a "Me Too!" newbie, but I have been getting the
exact same error when running "make bzImage" to finish compiling the
2.4.1 kernel.

       #make bzImage
gcc -Wall -Wstrict-prototypes -02 -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:26: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1


I have also made sure that I'm using the latest gcc and cpp packages and made sure that I had the softlink in /usr/src/linux pointing to /usr/src/linux-2.4.1 (where the source is located).


What gcc? What binutils? What make? Is this the kernel tar ball or a RedHat SRPM? use the linux/scripts/ver_linux to compare your versions with thos listed in linux/Documentation/Changes since the 2.4 kernels need some newer tools.

I've had no problems with 2.4.0 - 2.4.1-ac18
without the symlinks in /usr/include, which according
to Linus should not be there. /usr/include/linux should be
the kernel header used to compile glibc, not the the current kernel. The kernel can be built in any
directory, RedHat RPM's use /usr/src/redhat/BUILD/kernel-<version>,
and is self contained.


-Thomas



_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-install-list






_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]