From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <230836964b522299c959c74897377d90.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199612171019.LAA00504@vespa.unix-ag.uni-siegen.de> Date: Tue, 17 Dec 1996 11:19:18 +0100 (MET) From: Nils Faerber Subject: Re: Kernel Problems In-Reply-To: <201612162004.OAA15363@voyager.netcomi.com> Hello Gerald! > I just got on the list so I'd guess you've heard this before. Errm ... YEP! This ought to be in some FAQ by now ;) > But I'm trying > to come up with an appropriate fix for the following while trying to compile > ANY kernel version except the 2.0.18 that is distributed with RH-4.0. [...] > /usr/include/timespec.h:1: linux/timespecbits.h: No such file or directory > make: *** [scripts/mkdep] Error 1 OK. RedHat 4.0 installs the glibc package which are the new shared libraries for AXPs. Since glibc != Linux-libc it uses different header files. RedHat has merged some patche into the 2.0.18 Kernel sources so 2.0.18 compiles cleanly. For everything else, I use the following: Install only 2.0.18 headers in some directory and make a symbolic link from /usr/include/linux -> and /usr/include/asm -> and you should be fine and able to compile normal user level programs (such as Milo). For the latest kernels to compile you have to change the main kernel Makefile in /usr/src/linux/Makefile and comment out the include directive from the line HOSTCC=gcc # Not very nice, but it works. > Also having similar problems compiling MILO. Any help will be greatly > appreciated. Hope to have helped! > Thanks, > Gerald CU nils PS: Is this already mentioned in some FAQ? -- Nils Faerber (Linux Nils) eMail: nils@vespa.unix-ag.uni-siegen.de Student of computer science http://www.unix-ag.uni-siegen.de/~nils/ Unix user group, University of Siegen, Germany Siegen ... the arctic rain forest! -- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com