From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by sourceware.org (Postfix) with ESMTPS id 95DF3384241D for ; Tue, 1 Dec 2020 16:21:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 95DF3384241D Received: by mail-qk1-x72a.google.com with SMTP id b144so1764900qkc.13 for ; Tue, 01 Dec 2020 08:21:02 -0800 (PST) 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:content-transfer-encoding; bh=0dtsz6S8r1lvBj6nS2t/SCt6QcAxCDsWn4O+aJIXEi0=; b=SCo391C5aNz2MUyi1prVh3M5G0ACynOBUvWZvuO3JMEWYCeIoEDi7cBqOq/1JScHWd lPVgA4qzZBHUhMIfGItYomabVgc/YD2Vwpif8fOOM5i/8n6k5kVHxAcggeO3nPtqd2dQ 9Zm+2+8qPtEmfuHCDDT9O0z3Mz61qlEo8dUo7RwsZjtAi0rJMb57xG7l1Xfj201Mjy8y tV3IHjFph4vj8vtxYcCaZhl2jNnNWnPngHT9O8BrLXKqD2LknqlS/FGHWKmhZEkHULYO MGp3sZ+zRrAiUQoQOLrjCw7g/Pab938zonJBMtTB+pxyz1PPTTab5zDXx8vEY5K+m8Ul Jd0g== X-Gm-Message-State: AOAM5327vUK4CqkeYxdXYKlttkYEGLpP9nXatjNSc5fWcqrOy8t7xxOI CVwr3YUoP1aBIZx+9HXBlElSu+YIfO5v0UJainI= X-Google-Smtp-Source: ABdhPJySJ9CmZPI08RRO+VkmjsJNxyKsRE/KvhlTcKZztpQD26E/vWJ3Qygekdg2D2vEzpNcNorSaqAzu7StSFkM9/U= X-Received: by 2002:a37:7902:: with SMTP id u2mr3744692qkc.205.1606839662058; Tue, 01 Dec 2020 08:21:02 -0800 (PST) MIME-Version: 1.0 References: <06e96083-6a33-2cbb-a829-455615e91df7@secure-endpoints.com> <20201201042133.GA3328@xps13> In-Reply-To: <20201201042133.GA3328@xps13> From: Keith Christian Date: Tue, 1 Dec 2020 09:20:51 -0700 Message-ID: Subject: Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin To: gs-cygwin.com@gluelogic.com Cc: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2020 16:21:07 -0000 On Mon, Nov 30, 2020 at 9:23 PM wrote: > For kicks, I got the *basic* C-Kermit to build under Linux and under Cygw= in. > 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 Cyg= win 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=3D${KTARGET:-linuxa} "CC =3D gcc" "CC2 =3D gcc"= \ 8 "CFLAGS =3D -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_S= IG \ 9 -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \ 10 -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY " "LNKFLAGS =3D " \ 11 "LIBS =3D -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=3D\"linux\" -c ckucmd.c 14 ckucmd.c: In function =E2=80=98cmdconchk=E2=80=99: 15 ckucmd.c:7579:22: error: =E2=80=98__FILE=E2=80=99 has no member nam= ed =E2=80=98_IO_read_end=E2=80=99 16 7579 | x =3D (int) ((stdin->_IO_read_end) - (stdin->_IO_read_p= tr)); 17 | ^~ 18 ckucmd.c:7579:46: error: =E2=80=98__FILE=E2=80=99 has no member nam= ed =E2=80=98_IO_read_ptr=E2=80=99 19 7579 | x =3D (int) ((stdin->_IO_read_end) - (stdin->_IO_read_p= tr)); 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