* kermit on Redhat 5.0
@ 1998-02-28 20:08 Steve Dum
1998-02-28 21:37 ` Michal Jaegermann
0 siblings, 1 reply; 6+ messages in thread
From: Steve Dum @ 1998-02-28 20:08 UTC (permalink / raw)
Anyone have kermit running on redhat 5.0. I downloaded the redhat rpm
from columbia but had no end of problems, but it seg faults on connect.
First it wouldn't install because it required ld.so.1 and libc.so.6.
So I forced the install. Then since I had libc.so.6.1 I thought it was
worth a try so I linked libc.so.6 to libc.so.6.1, well to libc-2.0.6.so.
Next I tried linking ld.so.1 to ld.2.0.6.so. With this it almost worked.
kermit would come up, and I can set the line and baudrate, but as soon as I
say connect it segmentation faults. Looking at i386 redhat, it seems that
libc.6 was libc-2.0.5.so (maybe close enough) but ld.so is linked to an older
ld.so.1.9.5 which I don't have on the alpha.
I even tried rebuilding kermit, but the source rpm chokes badly with the new
headers.
steve
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kermit on Redhat 5.0
1998-02-28 20:08 kermit on Redhat 5.0 Steve Dum
@ 1998-02-28 21:37 ` Michal Jaegermann
0 siblings, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 1998-02-28 21:37 UTC (permalink / raw)
>
> Anyone have kermit running on redhat 5.0. I downloaded the redhat rpm
> from columbia but had no end of problems, but it seg faults on connect.
Recompile instead of using binaries. They are likely for 4.2 and
libraries changed in 5.0 to a great degree.
Compiling kermit is no-brainer at all. Did that many times on
various platforms.
Michal
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kermit on Redhat 5.0
@ 1998-03-01 2:55 Steve Dum
1998-03-04 3:21 ` Michal Jaegermann
0 siblings, 1 reply; 6+ messages in thread
From: Steve Dum @ 1998-03-01 2:55 UTC (permalink / raw)
In message <199802282137.OAA28256@ellpspace.math.ualberta.ca>you write:
>>
>> Anyone have kermit running on redhat 5.0. I downloaded the redhat rpm
>> from columbia but had no end of problems, but it seg faults on connect.
>
>Recompile instead of using binaries. They are likely for 4.2 and
>libraries changed in 5.0 to a great degree.
>
>Compiling kermit is no-brainer at all. Did that many times on
>various platforms.
Agreed - usually. But the new libc with redhat 5.0 changed all the header
files and the versions in /usr/include/linux and /usr/include have a large
number of disagreements so things no longer compile on the alpha.
steve
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kermit on Redhat 5.0
1998-03-01 2:55 Steve Dum
@ 1998-03-04 3:21 ` Michal Jaegermann
1998-03-01 5:04 ` Steve Dum
0 siblings, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 1998-03-04 3:21 UTC (permalink / raw)
>
> Agreed - usually. But the new libc with redhat 5.0 changed all the header
> files and the versions in /usr/include/linux and /usr/include have a large
> number of disagreements so things no longer compile on the alpha.
Hm, I wonder why I was so lucky that I managed to compile the whole
pile of various stuff. Some of it quite sizeable.
Somebody also compiled all these things which went into 5.0
distribution. Granted, some of these are broken but most is not.
And broken things can be fixed.
I should have once again an access to Alpha with 5.0 in a day or two.
I am willing to bet that kermit will compile with possibly a small number
of minor tweaks (if any). It runs on too many platforms to be dependent
on dark corners of Linux internal structures.
Michal
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kermit on Redhat 5.0
1998-03-04 3:21 ` Michal Jaegermann
@ 1998-03-01 5:04 ` Steve Dum
1998-03-04 5:36 ` Michal Jaegermann
0 siblings, 1 reply; 6+ messages in thread
From: Steve Dum @ 1998-03-01 5:04 UTC (permalink / raw)
To: axp-list; +Cc: steve_dum
In message <199803010321.UAA28515@ellpspace.math.ualberta.ca>you write:
>>
>I should have once again an access to Alpha with 5.0 in a day or two.
>I am willing to bet that kermit will compile with possibly a small number
>of minor tweaks (if any). It runs on too many platforms to be dependent
>on dark corners of Linux internal structures.
>
I think that new new libc has introduced a number of new dark corners.
For example compiling ckermit's ckutio.c gives about 80+ lines of errors.
One bunch come from the socket stuff - i.e.
/usr/include/linux/socket.h has
#define SOCK_STREAM 1
but /usr/include/socketbits.h has SOCK_STREAM as part of an enum
enum __socket_type
{
SOCK_STREAM = 1,
...
}
These are functionally the same but different as far as gcc is concerned.
Likewise the Address families like AF_UNIX in these files are defined just
differently enough to cause gcc to complain.
The other difference that is 'really neat' is that in
/usr/include/asm/termbits.h CBAUDEX is defined as
#define CBAUDEX 0000020
But in /usr/include/termbits.h we have
#define CBAUDEX 0000000
Kermit (at least 2 or 3 modules of it) wants to know too much about linux
internals so it ends up including some of the /usr/include/linux headers and
the mixing creates a real mess.
steve
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: kermit on Redhat 5.0
1998-03-01 5:04 ` Steve Dum
@ 1998-03-04 5:36 ` Michal Jaegermann
0 siblings, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 1998-03-04 5:36 UTC (permalink / raw)
To: axp-list
>
> For example compiling ckermit's ckutio.c gives about 80+ lines of errors.
> One bunch come from the socket stuff - i.e.
> /usr/include/linux/socket.h has
^^^^^^^
In general you should not be using this file. This is for kernel
and not user space programs. There are things which have to know
kernel structures but not all of them.
> #define SOCK_STREAM 1
> but /usr/include/socketbits.h has SOCK_STREAM as part of an enum
> enum __socket_type
> {
> SOCK_STREAM = 1,
> ...
> }
>
> These are functionally the same but different as far as gcc is concerned.
Right. So why do you want them both?
> Kermit (at least 2 or 3 modules of it) wants to know too much about linux
> internals
Well, these are those tweaks. :-) Kermit assumed libc5 for Linux. Looks
like some adjustments will be needed.
Different values for CBAUDEX sound suspiciously like a headers bug.
Comments from somebody in the know?
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-03-04 3:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-28 20:08 kermit on Redhat 5.0 Steve Dum
1998-02-28 21:37 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1998-03-01 2:55 Steve Dum
1998-03-04 3:21 ` Michal Jaegermann
1998-03-01 5:04 ` Steve Dum
1998-03-04 5:36 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox