delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/01/17:10:09

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5AFFD3953C06
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1606860561;
bh=Hgt4zFMPYBmvOacRMpxa3iWxvcnjO2SkMz03nDDutsg=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=WQITGtx32+6X9a91A5uyvk9lYv4LJ17pUNxgsOEZ1x8Zi12eQUGHUiQRh/39K3l2q
e3K+QzSzwuXmby0Ikaq+eg8YdgoC8um5vAl/8ybuhBjHJSAnoJr/hplpD0T3vCBWUe
1BH2MgEaUwFNH1ZUHPQ5xH7tLT7W4IXRCQ+yg5ek=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DDC5F3851C20
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=wkk/oQofzJYxlzfry2zVD+fyQTXuIvnuIz0pM2qUOKM=;
b=dMw5UsVAua2LkzSfdl7jBEtCboaWVxQ9zm5LmC1HYgmk1A5jQgqDm1/KerHu5fXEty
F9L6QDKSA83eu9XV4EaEok26yuo2V7brRkxgEK7Z2WUAS5F6FtWLun844E/3bIJCC+lk
obMqiOtyL/ChisNLR/P9JnIa3Cg54+zrLIhIOTdRM6sEvbfPJRFXKEyRkMw8a2wTcwjV
wpCB9pPKmJZsUbRxzSizWnz+5M3ifwbaQFl4N6MKW+T0nK8HGQUvn93q6V5QQlI1iuTg
coiIp1c0GDuwt+kJkB2/YDUgcYSyHWu1DOrpsXNc8QaY1SQ+OYR7qnsYVMHiPo9f7LET
1inA==
X-Gm-Message-State: AOAM533pPFNwMAaXlV50gX4dQZWFnVFb2vr6uhNUBidd5X3mEoFjtlmL
37Ojy7AOV7vQ7KsRe7F4lTE9EOthHdcMh8GWA3E=
X-Google-Smtp-Source: ABdhPJxNVFF/LpKdWCo0Quiiotxb0vWGR0p5Zq1wUUYAeqUgnd6ESUbKk02tIedQDqhg2rzPWx6yfalBK9u6nBVDkWA=
X-Received: by 2002:ad4:4ea2:: with SMTP id ed2mr5298234qvb.59.1606860557371;
Tue, 01 Dec 2020 14:09:17 -0800 (PST)
MIME-Version: 1.0
References: <CAFWoy7Hr5VXmztz-7pEKCNPLuOZpnW0srZB-FSs_EJDLEXbfEw AT mail DOT gmail DOT com>
<06e96083-6a33-2cbb-a829-455615e91df7 AT secure-endpoints DOT com>
<CAFWoy7EXg_eDieymas3jKrYSxKr+nD9CqP3f6MKPMALc0aAaxw AT mail DOT gmail DOT com>
<c662458a-f989-f1ee-83cc-04f0c9a6548e AT cs DOT umass DOT edu>
<20201201042133 DOT GA3328 AT xps13>
<CAFWoy7FzniOvOoxJ7WM+G2U3EW92kQOU=k2T68hPRsNeTL5Z9A AT mail DOT gmail DOT com>
<20201201173235 DOT GA47925 AT xps13>
In-Reply-To: <20201201173235.GA47925@xps13>
Date: Tue, 1 Dec 2020 15:09:02 -0700
Message-ID: <CAFWoy7Gdz7OYgXYMytaRNLTACT4TO4N9dY5rj9nR64M+Rd1VQA@mail.gmail.com>
Subject: Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin
To: gs-cygwin DOT com AT gluelogic DOT com
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
URI_DOTEDU autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Keith Christian via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Keith Christian <keith1christian AT gmail DOT com>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0B1M9lq0014681

On Tue, Dec 1, 2020, 10:32 <gs-cygwin DOT com AT gluelogic DOT com> wrote:

> On Tue, Dec 01, 2020 at 09:20:51AM -0700, Keith Christian wrote:
> > On Mon, Nov 30, 2020 at 9:23 PM <gs-cygwin DOT com AT gluelogic DOT com> wrote:
> > > For kicks, I got the *basic* C-Kermit to build under Linux and under
> Cygwin.
> > > https://github.com/gstrauss/ckermit
> > > The make command line options are in the commit messages.
> > >
> > > It is based on
> > > http://www.columbia.edu/kermit/archive.html
> > > C-Kermit 9.0.302  2011/07/11  cku302.tar.gz
> > >
> > > I realized afterwards that I should have used C-Kermit 9.0.305
> Alpha.02.
> > >
> > > In any case, compiling is a first step, but does not suggest it is
> fully
> > > functional.  Mostly #include and minor changes were needed, except for
> > > one big mess with the cygwin custom struct hostent being defined with
> > >   const char *h_name
> > >
> > > Cheers, Glenn
> >
> > Glenn,
> >
> > I tried "make linux" this morning on the 9.0.305 version, got this
> > output, (I_am_not_expecting_any_assistance_,) more of a report:
> >
> > -rw-r-----+ 1 keith keith 382913 Sep 19 14:17 makefile
> >
> > CYGWIN_NT-10.0 DESKTOP-OLN71TE 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64
> Cygwin
> >
> >      1  Making C-Kermit for Linux...
> >      2  /bin/sh: line 68: -f: command not found
> >      3  make[1]: Entering directory 'kermit_downloads/kermitsource'
> >      4  Making C-Kermit "9.0.305"  for Linux 1.2 or later...
> >      5  IMPORTANT: Read the comments in the linux section of the
> >      6  makefile if you have trouble.
> >      7  make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \
> >      8  "CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT
> -DCK_POSIX_SIG \
> >      9  -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \
> >     10  -DUSE_STRERROR -DCK_NCURSES  -I/usr/include/ncurses
> > -DHAVE_CRYPT_H  -DHAVE_OPENPTY  " "LNKFLAGS = " \
> >     11  "LIBS = -lutil   -lncurses -lresolv -lcrypt  -lm"
> >     12  make[2]: Entering directory 'kermit_downloads/kermitsource'
> >     13  gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG
> > -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX
> > -DUSE_STRERROR -DCK_NCURSES  -I/usr/include/ncurses   -DHAVE_CRYPT_H
> > -DHAVE_OPENPTY   -DKTARGET=\"linux\" -c ckucmd.c
> >     14  ckucmd.c: In function ‘cmdconchk’:
> >     15  ckucmd.c:7579:22: error: ‘__FILE’ has no member named
> ‘_IO_read_end’
> >     16   7579 |     x = (int) ((stdin->_IO_read_end) -
> (stdin->_IO_read_ptr));
> >     17        |                      ^~
> >     18  ckucmd.c:7579:46: error: ‘__FILE’ has no member named
> ‘_IO_read_ptr’
> >     19   7579 |     x = (int) ((stdin->_IO_read_end) -
> (stdin->_IO_read_ptr));
> >     20        |                                              ^~
> >     21  make[2]: *** [makefile:988: ckucmd.o] Error 1
> >     22  make[2]: Leaving directory 'kermit_downloads/kermitsource'
> >     23  make[1]: *** [makefile:6067: linuxa] Error 2
> >     24  make[1]: Leaving directory 'kermit_downloads/kermitsource'
> >     25  make: *** [makefile:6100: linux] Error 2
> >
> > Only two .o files were created:
> >
> > -rw-r--r--+ 1 keith keith  48034 Dec  1 08:55 ckcmai.o
> > -rw-r--r--+ 1 keith keith  37108 Dec  1 08:55 ckclib.o
> >
> > Keith
>
> Keith, kindly look at the commits in
> https://github.com/gstrauss/ckermit
> https://github.com/gstrauss/ckermit/commits/master
>
> > output, (I_am_not_expecting_any_assistance_,) more of a report:
> Why bother posting before taking half a second to look at the commits?
>

Thanks, I'll look at the commits more closely.
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019