* RE: And again: RH4.0 compile probs
@ 1996-10-28 14:27 Alan Wood
0 siblings, 0 replies; 5+ messages in thread
From: Alan Wood @ 1996-10-28 14:27 UTC (permalink / raw)
Hi Nils,
> - My favourite editor joe seg-faults, somewhere in bread() says gdb.
I solved this one by grabbing the RH3.0.3 binary of joe. I can
mail this to you if you wish.
> - The new mtools seg-fault somewhere in to_unix() (says gdb :)
> - 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.
I have seen something this weekend (or today) about the
timespecbits.h, but as you say, I have not had this problem,
so I did not really read it. Sorry.
Alan
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 5+ messages in thread
* And again: RH4.0 compile probs
@ 1996-10-28 14:06 Nils Faerber
1996-10-28 18:36 ` Andreas Johansson
0 siblings, 1 reply; 5+ messages in thread
From: Nils Faerber @ 1996-10-28 14:06 UTC (permalink / raw)
Hello!
I think this has been asked before, but who said one would only read
postings/mails that contain solutions to problems one has?
Anyway I must have missed the posting wioth the solution so I have to ask
again. I just upgraded mostly successfully my good'ol Jensen to RedHat 4.0,
stumped through some very nasty difficulties with pam (the root account had
expired, said login :) and have now a complete ELF system. Only three
problems remain:
- My favourite editor joe seg-faults, somewhere in bread() says gdb.
- The new mtools seg-fault somewhere in to_unix() (says gdb :)
- 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?
Are there patches available?
Do I need something I do not have?
I would be very grateful for any hints!
CU
nils
--
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: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: And again: RH4.0 compile probs
1996-10-28 14:06 Nils Faerber
@ 1996-10-28 18:36 ` Andreas Johansson
1996-10-29 13:41 ` Nils Faerber
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Johansson @ 1996-10-28 18:36 UTC (permalink / raw)
> - My favourite editor joe seg-faults, somewhere in bread() says gdb.
I have a bug fix for joe at:
ftp://wopr.campus.luth.se/pub/redhat/RPMS/axp
> - The new mtools seg-fault somewhere in to_unix() (says gdb :)
There is a fix for this in the redhat-4.0/updates/axp directory on
redhat's ftp and mirrors. There are a lot of other upgrades there as
well.
> - 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
Also, check if the links /usr/include/linux and /usr/include/asm are
present. Otherwise, yhey are made like this:
ln -s /usr/src/linux/include/linux/ /usr/include/linux
ln -s /usr/src/linux/include/asm/ /usr/include/asm
Otherwise, the compiler won't find any kernel header files.
> Are there patches available?
> Do I need something I do not have?
> I would be very grateful for any hints!
> CU
> nils
>
> --
> 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: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
>
--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
: 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: And again: RH4.0 compile probs
1996-10-28 18:36 ` Andreas Johansson
@ 1996-10-29 13:41 ` Nils Faerber
1996-10-29 15:55 ` Andreas Johansson
0 siblings, 1 reply; 5+ messages in thread
From: Nils Faerber @ 1996-10-29 13:41 UTC (permalink / raw)
Hello!
> I have a bug fix for joe at:
> ftp://wopr.campus.luth.se/pub/redhat/RPMS/axp
Thanks for this one ... just grabbed it from your server and will test this
tonight.
> > - 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 ;)
But so far, many thanks for this really instructive reply.
CU
nils
--
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: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: And again: RH4.0 compile probs
1996-10-29 13:41 ` Nils Faerber
@ 1996-10-29 15:55 ` Andreas Johansson
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Johansson @ 1996-10-29 15:55 UTC (permalink / raw)
> > > - 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1996-10-29 15:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-28 14:27 And again: RH4.0 compile probs Alan Wood
-- strict thread matches above, loose matches on Subject: below --
1996-10-28 14:06 Nils Faerber
1996-10-28 18:36 ` Andreas Johansson
1996-10-29 13:41 ` Nils Faerber
1996-10-29 15:55 ` Andreas Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox