delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org 44EF6385DC2D |
Authentication-Results: | sourceware.org; |
dmarc=pass (p=none dis=none) header.from=gmail.com | |
Authentication-Results: | sourceware.org; spf=pass smtp.mailfrom=gmail.com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; |
h=mime-version:from:date:message-id:subject:to; | |
bh=kRa/6a4CQSWruHQfGasOa7rC5cu9Kbm9cwHmBwiwWgI=; | |
b=mOuIwhZJYUXQtTpO0XAjPlt1URjyJHSGXfNyzDMOx5afRdzD1127k1/V7u4gcx2O4g | |
+VcTYe39/9bBejLwgZpjxD8r9zSO7ztcZ4YLNGXvEJdNHmKhgWkijVFDqMPkaJ9pzkGE | |
QEyCiUbbjiOCgJ8D8X64ANo23gX90BXGxoMyEn7MH7lHot6aJmiLJXEI593gMQvfjl/J | |
8SCvJJg60Ajs21dFbAcKouXAZJsXVBHZNBkdD775OaLoM2tUf0drvMzUekt0zvVJuOnW | |
T6gkovsardWxOwwCRFsLFPsrPMAaWPwtx8X+hFFHUpB9oos5Bx3dwWyBIGwNFUDy/9Aj | |
Cx+Q== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20210112; | |
h=x-gm-message-state:mime-version:from:date:message-id:subject:to; | |
bh=kRa/6a4CQSWruHQfGasOa7rC5cu9Kbm9cwHmBwiwWgI=; | |
b=Elon2/YS4vxfVuYy+1xFGpadFhOMYOY6Y4+L/lARgPLOH1FnhC/MDAxYHENfQpUsuh | |
JeyYJ6vRjnN1R0FWZugi+DCSwPfYKh1PYSTb9sho5MBTnfj1TpdlMB52U6ewIXhtCqaR | |
LJhiEci74dCoAr0Z8QpLvAWZNyJCjE4MSBe62P3FdBS97FOI7vxPGbkPKn39z7Z0v9zF | |
NQWBr3rbh3CeVyY/tC+qhaEj2vHFcRL8Ss4f0QHVZT56J/GccF6zGWQ/R5arxlxGxF2Z | |
EcZOV1q8REngEUKapCGHABEg/dRFgDJENvCIaceT+Z6TPu6ii81eCf3/9QV3OoDeXk3b | |
+20g== | |
X-Gm-Message-State: | AOAM533t8+cCIRwUKp8WXf3R/Xh2m9AQdgnK0MkZZGh1ZAIvxlNZp8JH |
fWVfLPJhDtGcNxX0fsHq/Ul9vWOOX1Vno2K+xuqaDgLGLGU= | |
X-Google-Smtp-Source: | ABdhPJy8NN1Qv2AXVW4Qy1hTVMo9hHoODs+aEt1HmUOqwP5UEcxjtxT4B8WKQIQvO/a10YS0LE50LfzuvIXOBG8WKFc= |
X-Received: | by 2002:a05:620a:1903:b0:67d:243b:a8ae with SMTP id |
bj3-20020a05620a190300b0067d243ba8aemr2156079qkb.142.1649165233197; Tue, 05 | |
Apr 2022 06:27:13 -0700 (PDT) | |
MIME-Version: | 1.0 |
From: | Keith Christian <keith1christian AT gmail DOT com> |
Date: | Tue, 5 Apr 2022 07:27:03 -0600 |
Message-ID: | <CAFWoy7ESdsGMzn7cxcnG1TCy1tJq1CQ7v6hfcmt80-1RdkUMLQ@mail.gmail.com> |
Subject: | Compiling gnu diction on Cygwin |
To: | cygwin AT cygwin DOT com |
X-Spam-Status: | No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, | |
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, | |
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.4 (2020-01-24) on |
server2.sourceware.org | |
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> | |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
Hi Cygwin fans, Version info: Windows 10:10.0.19043 N/A Build 19043 Cygwin: CYGWIN_NT-10.0 3.3.4(0.341/5/3) 2022-01-31 19:35 x86_64 Cygwin I successfully compiled diction and style from this tar file, but with errors: https://ftp.gnu.org/gnu/diction/diction-1.11.tar.gz Diction and style both work, but I am looking for suggestions for how to clean up the compile errors in lines 48 - 60 below: 1 ./configure; make; make install 2 Tue, Apr 5, 2022 7:09:05 AM 3 checking build system type... x86_64-unknown-cygwin 4 checking host system type... x86_64-unknown-cygwin 5 checking for gcc... gcc 6 checking for C compiler default output file name... a.exe 7 checking whether the C compiler works... yes 8 checking whether we are cross compiling... no 9 checking for suffix of executables... .exe 10 checking for suffix of object files... o 11 checking whether we are using the GNU C compiler... yes 12 checking whether gcc accepts -g... yes 13 checking for gcc option to accept ISO C89... none needed 14 checking for a BSD-compatible install... /usr/bin/install -c 15 checking for strerror... yes 16 checking for library containing regcomp... none required 17 checking for broken realloc... no 18 checking for msgfmt... yes 19 checking how to run the C preprocessor... gcc -E 20 checking for grep that handles long lines and -e... /usr/bin/grep 21 checking for egrep... /usr/bin/grep -E 22 checking for ANSI C header files... yes 23 checking for sys/types.h... yes 24 checking for sys/stat.h... yes 25 checking for stdlib.h... yes 26 checking for string.h... yes 27 checking for memory.h... yes 28 checking for strings.h... yes 29 checking for inttypes.h... yes 30 checking for stdint.h... yes 31 checking for unistd.h... yes 32 checking libintl.h usability... yes 33 checking libintl.h presence... yes 34 checking for libintl.h... yes 35 checking for library containing gettext... -lintl 36 configure: creating ./config.status 37 config.status: creating Makefile 38 config.status: creating diction.1 39 config.status: creating diction.texi 40 config.status: creating diction.spec 41 config.status: creating style.1 42 config.status: creating test/rundiction 43 config.status: creating config.h 44 gcc -c -I. -DSHAREDIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -pipe -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common diction.c 45 gcc -c -I. -DSHAREDIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -pipe -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common sentence.c 46 gcc -c -I. -DSHAREDIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -pipe -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common misc.c 47 gcc -c -I. -DSHAREDIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -pipe -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common getopt.c 48 getopt.c:147:1: warning: function declaration isnt a prototype [-Wstrict-prototypes] 49 147 | extern char *getenv (); 50 | ^~~~~~ 51 getopt.c: In function _getopt_internal_r: 52 getopt.c:444:23: warning: cast discards const qualifier from pointer target type [-Wcast-qual] 53 444 | exchange ((char **) argv, d); 54 | ^ 55 getopt.c:467:23: warning: cast discards const qualifier from pointer target type [-Wcast-qual] 56 467 | exchange ((char **) argv, d); 57 | ^ 58 getopt.c:774:27: warning: cast discards const qualifier from pointer target type [-Wcast-qual] 59 774 | d->__nextchar = (char *) ""; 60 | ^ 61 gcc -c -I. -DSHAREDIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -pipe -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common getopt1.c 62 gcc -o diction -g diction.o sentence.o misc.o \ 63 getopt.o getopt1.o -lintl 64 gcc -c -I. -DSHAREDIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -pipe -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common style.c 65 gcc -o style -g style.o sentence.o misc.o \ 66 getopt.o getopt1.o -lm -lintl 67 msgfmt -o de.mo de.po 68 msgfmt -o en_GB.mo en_GB.po 69 msgfmt -o nl.mo nl.po Have a great day and thanks! -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |