delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/03/17:52:39

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:message-id; q=
dns; s=default; b=CuyO2/BUILDotKHPu50MeLueMxByrHBAGOHOxaM8w1b/Xp
vsI7Z8DURDUvJeI6kT08spqd7Jw7nJzTdrTi2IkE2+fxkXyIdYgJd9TsDaizYtps
sdBZJbuULY9MMB/3IM5HttIur1xP7oHa31jiN11SImMAskrc8zShcac8mE3wk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:message-id; s=
default; bh=FqdDh7hmoS0zKPcht7bP2VGPnbI=; b=RwHu0qo2kqyK9HniaCMQ
UhItJtd6ZWDergHi9EPyNoip11e37ZyJ396YVOOlPClWwROCrS3hbdhauub9xqj7
AOcY2Txy1OMnN1HRsTObO15zqLf8plWBICoQg7Vln8EYm0hm6EYM0L8FjGMHiGHn
XnXHDyuVE0Lo+lKmYSQwbpE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Entering, Hx-spam-relays-external:sk:mail.op, H*RU:sk:mail.op, H*r:sk:mail.op
X-HELO: mail.openmailbox.org
MIME-Version: 1.0
Date: Mon, 03 Jul 2017 16:52:10 -0500
From: starz0rdesign AT openmailbox DOT org
To: cygwin AT cygwin DOT com
Subject: GCC Compiler can't seem to find linker
Message-ID: <f6a81778d5f45db0a05f72baea2842a3@openmailbox.org>
X-Sender: starz0rdesign AT openmailbox DOT org
User-Agent: Roundcube Webmail/1.0.6

Hello.

I'm having a bit of an issue trying to compile LibArchive 3.3.1 for 
Windows. I have Mingw64 with GCC7.1 installed to prevent the Cygwin 
installer from linking it's DLL. At the end of the make process I seem 
to get this error:

make  all-am
make[1]: Entering directory '/home/nobodyimportant/libarchive-3.3.1'
   CCLD     libarchive.la
C:/Program 
Files/mingw-w64/x86_64-7.1.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib
/gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: 
cannot
  find -link
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:3334: libarchive.la] Error 1
make[1]: Leaving directory '/home/nobodyimportant/libarchive-3.3.1'
make: *** [Makefile:2929: all] Error 2

I can't tell what it's caused by, or what it wants because the error is 
so vague, is there something I can do to get this to compile?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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