Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Steve Dum <steve_dum@mentorg.com>
To: axp-list@redhat.com
Cc: steve_dum@mentorg.com
Subject: Re: kermit on Redhat 5.0
Date: Sat, 28 Feb 1998 21:04:24 -0800	[thread overview]
Message-ID: <199803010504.VAA16483@drdoom.wv.mentorg.com> (raw)
In-Reply-To: Your message of "Sat, 28 Feb 1998 20:21:39." <199803010321.UAA28515@ellpspace.math.ualberta.ca>


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



  reply	other threads:[~1998-03-01  5:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-01  2:55 kermit on Redhat 5.0 Steve Dum
1998-03-04  3:21 ` Michal Jaegermann
1998-03-01  5:04   ` Steve Dum [this message]
1998-03-04  5:36     ` Michal Jaegermann
1998-03-01  6:09       ` kermit on Redhat 5.0 (well now CBAUDEX) Steve Dum
1998-03-01 16:16         ` Michal Jaegermann
1998-03-02  2:45           ` Steve Dum
  -- strict thread matches above, loose matches on Subject: below --
1998-02-28 20:08 kermit on Redhat 5.0 Steve Dum
1998-02-28 21:37 ` Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox