delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/02/13/19:01:54

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE46738708A4
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1613260910;
bh=uQhMaaqe7+PbtO6mIkVnvUPNMBv9Ez3NMHTHtkxLTh0=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=TB0jOqjwrbZKTKXTllgKmGo636tPNk/wNm0GoBSX9gTJE+vUsxIb+eXlC1pbwBiJJ
qgjerZUCuakzNPPExpl9ELmLp2Vpjj25cMaMWLmZsqk8vsh6GKsjffTw/wnyxYyHgO
+Iqu++uiqyGfBQRiW8T1a3vBT15CqxpX+kEb7Ouk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 06DD13857C77
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=Np/ffIunwwbXa0qnNr9BWUFkZSC7XiJoezn96OFoDRU=;
b=VrjK54qjW4mySJmvQ0fPxOF7b1YRJxE04SAXcibekQKyf0bMG/DCQKV9d2VeWcqGWx
HP71D+Mg7IDAfEa230Z1CsddwmiUJaLW9048A2lR28Gigl8ZJ0sVpYjb8zO9BSOIWvlk
9+NEVUxn/uip4MzTrtWgIzvT00zKO4YBFVu2hwxsiJHHZoS17zgEQu+NEQ4iPvI/x7iT
fWZHy+mwyu2xdSpfc42r24f27NtgypIuUi1nKyd0lNZlKe5XRGeB4GV8yQ6vPY2dYboy
DSepWBFJEFsxTvmf2qnaHREeb13RNQj5T+BvAGtEDk+strV7ZDG3OGz/rCCI0dqphUex
cAMQ==
X-Gm-Message-State: AOAM530qXR2Yz2h3FfQybfqFB6Z1lHQlKuOkIYie1Y7jd683mQW9DJ+i
5WeQYlqn++TmRDwrav5rppfC2GeOkTDKZ7RXaBOnOpmCTTA=
X-Google-Smtp-Source: ABdhPJyfeWQzVWA2zoOZ+8XVW7+ceqlvCQ9+gprygHn402hMxP4i58f8jmRp1/EjLjCfT2hjqtxgccl0gKVdftZFimQ=
X-Received: by 2002:ac2:428c:: with SMTP id m12mr5306487lfh.430.1613260905408;
Sat, 13 Feb 2021 16:01:45 -0800 (PST)
MIME-Version: 1.0
Date: Sat, 13 Feb 2021 19:01:31 -0500
Message-ID: <CAGB_HuRrhT1uCH=_MBAhKhEKkdzssDGBC5482vtBGbYUvp_oFw@mail.gmail.com>
Subject: compilation errors trying to build unzip on cygwin
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_40, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Level: *
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: Soren via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Soren <somian08 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 11E01sgh017777

HI. HI!. I've been away from cygwin (and all computer programming
/messing-about) fro several years. Still love Cygwin.

I've gotan archive with the source for `unzip' and I am having trouble
compiling that program. The is the output on the console:

$ make
gcc -c -DASM_CRC -DWIN32 -D__GW32__ -D_LARGEFILE_SOURCE=1
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -O3 -fms-extensions
-mms-bitfi
elds  -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686
-idirafter e:/progra~1/gnuwin32/include -idirafter h:/glibc/include -DUNIXB
ACKUP -DUSE_UNSHRINK -DACORN_FTYPE_NFS -DOS2_EAS -DUSE_CRYPT  -Wall  -o
unzip.o  -O3 -mtune=native -march=native  unzip.c
In file included from win32/w32cfg.h:42,
                 from unzpriv.h:667,
                 from unzip.h:637,
                 from unzip.c:64:
win32/w32cfg.h:91:15: error: expected declaration specifiers or ‘...’
before ‘(’ token
   91 |    extern int setmode(int, int);        /* this is missing in
<fcntl.h> */
      |               ^~~~~~~
win32/w32cfg.h:91:15: error: expected declaration specifiers or ‘...’
before ‘(’ token
   91 |    extern int setmode(int, int);        /* this is missing in
<fcntl.h> */
      |               ^~~~~~~
In file included from unzip.h:637,
                 from unzip.c:64:
unzip.c: In function ‘unzip’:
unzpriv.h:787:22: warning: implicit declaration of function ‘strnicmp’; did
you mean ‘strncmp’? [-Wimplicit-function-declaration]
  787 | #    define STRNICMP strnicmp
      |                      ^~~~~~~~
unzip.c:832:9: note: in expansion of macro ‘STRNICMP’
  832 |     if (STRNICMP(p, LoadFarStringSmall(Zipnfo), 7) == 0 ||
      |         ^~~~~~~~
make: *** [unzip.o] Error 1

The release version of `unzip' is 5.51

Anyone got any ideas? TIA.
-- 
Soren 'tino

He's earthy, he's pithy, he's ...a bit astringent.
Think of him more as a "topical antiseptic" than as a snack
.
    somian08 AT gmail DOT com  https://instagram.com/samhain08/
   https://twitter.com/1oh1soren
--
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