GCC Compiler can't seem to find linker

starz0rdesign@openmailbox.org starz0rdesign@openmailbox.org
Mon Jul 3 21:52:00 GMT 2017


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



More information about the Cygwin mailing list