From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199610291555.QAA02637@wopr.campus.luth.se> Date: Tue, 29 Oct 1996 16:55:56 +0100 (MET) From: Andreas Johansson Subject: Re: And again: RH4.0 compile probs In-Reply-To: <199610291341.OAA15050@vespa.unix-ag.uni-siegen.de> > > > - And the biggest problem: Most programs do not compile because of > > > missing or false headerfiles. Most important, /usr/include/time.h seems > > > to include som files called linux/timespecbits.h (or similiar) which does > > > not exist at all! Also ones again FD_* definitions seem to be inconsistent. > > > Have I forgotten to install a rpm? > > Have you installed the kernel-include rpm? > > The linux/timespecbits.h file is included in kernel-include: > > ajo@wopr ~ >rpm -ql kernel-headers | grep timespecbits > > /usr/src/linux-2.0.18/include/linux/timespecbits.h > > /usr/src/linux-2.0.18/include/linux/timespecbits.h.orig > Strange ... why are those vitally needed headers not included in the > standard kernel sources? > And most important, if I install those 2.0.18 kernel headers from RedHat, > will newer kernels, i.e. 2.0.19-23, still compile with those changed > headers? This is really confusing. And above all this, who changed them? Is > this due to the transition from Linux-libc to GNU-Libc? > I will install them tonight and test it with 2.0.23 kernel sources. Hope > this works ;) Well, no, if you are thinking about using 2.0.23 you should not have the 2.0.18 includes from the kernel-headers rpm installed. If you are going to use the kernels from redhat and compile other programs (without compiling your own kernel), then the kernel-headers rpm is needed. The problem with the includes in the 2.0.23 kernel is that they are a little mismatched with the glibc includes. This should be fixed by the axp-diff's at azstarnet. If you apply these to your 2.0.23 kernel source you will get a timespec.h again. There is, however, no axp-diff for 2.0.23 at azstarnet, but you can apply the one for 2.0.21. Mikael Nykvist recently tried to make a 2.0.23 kernel for his machine this way and this kernel failed (just froze) after a while, so I don't know if I can recommend 2.0.23. It might be working differently depending on the config though. > But so far, many thanks for this really instructive reply. It was perhaps instructive, but not correct for your setup. On the other hand, you didn't say that you had any kernel sources/includes installed bit you said you were missing kernel include files ... -- <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> : E-mail: ajo@wopr.campus.luth.se : : S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN : : Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! : <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null