public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: starz0rdesign@openmailbox.org
To: cygwin@cygwin.com
Subject: GCC Compiler can't seem to find linker
Date: Mon, 03 Jul 2017 21:52:00 -0000	[thread overview]
Message-ID: <f6a81778d5f45db0a05f72baea2842a3@openmailbox.org> (raw)

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

             reply	other threads:[~2017-07-03 21:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-03 21:52 starz0rdesign [this message]
2017-07-04  6:35 ` Csaba Raduly
2017-07-06  4:13 starz0rdesign
2017-07-06  5:50 ` Mark Geisert
2017-07-06  6:50 starz0rdesign

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f6a81778d5f45db0a05f72baea2842a3@openmailbox.org \
    --to=starz0rdesign@openmailbox.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).