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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=tgSPd1SMwvqlBz+A xLVtDmLNdrWUjOVbU4Sl7yJfCdS27jRIyTsISMrWNMj5Iu97EFhNzieohjenk/Za HxCRmiCSb41gu7jINbzDuby5bU+hSFq23wIywRN5LSXg2X1qmxf1BjNg38aclaNq XMr8PGlho860+N5e2dhclD38rQg= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=WYhqFylU4L8B0SchrJ/VoQ SEkuU=; b=wORQ5RA7h6izcQR2ctptvrzRQMgbJmcpWaQ/tSxaG+AEztxKeznYgB HUDWkLaw+iWzNzpvQGGDxj7nAvaGdmu6XnX2c5kYRPG1aKEohJobqtd3TW9VPhvy Rd34KoAmGiYUGMAGv/00S7PUdorYtOtfdLt//FcCaeHt8FV+unXAA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*c:ISO-8859-1, H*F:U*mark X-HELO: m0.truegem.net Subject: Re: GCC Compiler can't seem to find linker To: cygwin AT cygwin DOT com References: From: Mark Geisert Message-ID: <595DCF23.8000007@maxrnd.com> Date: Wed, 5 Jul 2017 22:48:19 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit starz0rdesign wrote: > Which package contains libink.a? > > This is the output for make V=1 > $ make V=1 > make all-am > make[1]: Entering directory '/home/nobodyimportant/libarchive-3.3.1' > /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wformat -Wformat-s > ecurity -no-undefined -version-info 16:1:3 -o libarchive.la -rpath /usr/local/ [...] > hive_write_set_passphrase.o libarchive/.libs/filter_fork_posix.o libarchive/.li > bs/xxhash.o -g -O2 `func_echo_all " -liconv" | /usr/bin/sed 's/ -lc$//'` -l > ink -dll > 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 It appears you're building libarchive from scratch rather than using Cygwin's libarchive package. Since "libink" has no results in the Cygwin package search (at https://cygwin.com/cgi-bin2/package-grep.cgi for your future reference :-)) I would guess libarchive itself needs it and assumes it's already present on your system. You may have to build libink.a yourself. BTW are you following https://github.com/libarchive/libarchive/wiki/BuildInstructions or just winging it? If the latter, try the former ;-) HTH, ..mark -- 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