Web lists-archives.com

Re: GCC Compiler can't seem to find linker




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/ lib libarchive/archive_acl.lo libarchive/archive_check_magic.lo libarchive/arch ive_cmdline.lo libarchive/archive_cryptor.lo libarchive/archive_digest.lo libar chive/archive_entry.lo libarchive/archive_entry_copy_stat.lo libarchive/archive _entry_link_resolver.lo libarchive/archive_entry_sparse.lo libarchive/archive_e ntry_stat.lo libarchive/archive_entry_strmode.lo libarchive/archive_entry_xattr .lo libarchive/archive_getdate.lo libarchive/archive_hmac.lo libarchive/archive _match.lo libarchive/archive_options.lo libarchive/archive_pack_dev.lo libarchi ve/archive_pathmatch.lo libarchive/archive_ppmd7.lo libarchive/archive_random.l o libarchive/archive_rb.lo libarchive/archive_read.lo libarchive/archive_read_a dd_passphrase.lo libarchive/archive_read_append_filter.lo libarchive/archive_re ad_data_into_fd.lo libarchive/archive_read_disk_entry_from_file.lo libarchive/a rchive_read_disk_posix.lo libarchive/archive_read_disk_set_standard_lookup.lo l ibarchive/archive_read_extract.lo libarchive/archive_read_extract2.lo libarchiv e/archive_read_open_fd.lo libarchive/archive_read_open_file.lo libarchive/archi ve_read_open_filename.lo libarchive/archive_read_open_memory.lo libarchive/arch ive_read_set_format.lo libarchive/archive_read_set_options.lo libarchive/archiv e_read_support_filter_all.lo libarchive/archive_read_support_filter_bzip2.lo li barchive/archive_read_support_filter_compress.lo libarchive/archive_read_suppor t_filter_grzip.lo libarchive/archive_read_support_filter_gzip.lo libarchive/arc hive_read_support_filter_lrzip.lo libarchive/archive_read_support_filter_lz4.lo libarchive/archive_read_support_filter_lzop.lo libarchive/archive_read_support _filter_none.lo libarchive/archive_read_support_filter_program.lo libarchive/ar chive_read_support_filter_rpm.lo libarchive/archive_read_support_filter_uu.lo l ibarchive/archive_read_support_filter_xz.lo libarchive/archive_read_support_for mat_7zip.lo libarchive/archive_read_support_format_all.lo libarchive/archive_re ad_support_format_ar.lo libarchive/archive_read_support_format_by_code.lo libar chive/archive_read_support_format_cab.lo libarchive/archive_read_support_format _cpio.lo libarchive/archive_read_support_format_empty.lo libarchive/archive_rea d_support_format_iso9660.lo libarchive/archive_read_support_format_lha.lo libar chive/archive_read_support_format_mtree.lo libarchive/archive_read_support_form at_rar.lo libarchive/archive_read_support_format_raw.lo libarchive/archive_read _support_format_tar.lo libarchive/archive_read_support_format_warc.lo libarchiv e/archive_read_support_format_xar.lo libarchive/archive_read_support_format_zip .lo libarchive/archive_string.lo libarchive/archive_string_sprintf.lo libarchiv e/archive_util.lo libarchive/archive_virtual.lo libarchive/archive_write.lo lib archive/archive_write_disk_acl.lo libarchive/archive_write_disk_posix.lo libarc hive/archive_write_disk_set_standard_lookup.lo libarchive/archive_write_open_fd .lo libarchive/archive_write_open_file.lo libarchive/archive_write_open_filenam e.lo libarchive/archive_write_open_memory.lo libarchive/archive_write_add_filte r.lo libarchive/archive_write_add_filter_b64encode.lo libarchive/archive_write_ add_filter_by_name.lo libarchive/archive_write_add_filter_bzip2.lo libarchive/a rchive_write_add_filter_compress.lo libarchive/archive_write_add_filter_grzip.l o libarchive/archive_write_add_filter_gzip.lo libarchive/archive_write_add_filt er_lrzip.lo libarchive/archive_write_add_filter_lz4.lo libarchive/archive_write _add_filter_lzop.lo libarchive/archive_write_add_filter_none.lo libarchive/arch ive_write_add_filter_program.lo libarchive/archive_write_add_filter_uuencode.lo libarchive/archive_write_add_filter_xz.lo libarchive/archive_write_set_format. lo libarchive/archive_write_set_format_7zip.lo libarchive/archive_write_set_for mat_ar.lo libarchive/archive_write_set_format_by_name.lo libarchive/archive_wri te_set_format_cpio.lo libarchive/archive_write_set_format_cpio_newc.lo libarchi ve/archive_write_set_format_filter_by_ext.lo libarchive/archive_write_set_forma t_iso9660.lo libarchive/archive_write_set_format_mtree.lo libarchive/archive_wr ite_set_format_pax.lo libarchive/archive_write_set_format_raw.lo libarchive/arc hive_write_set_format_shar.lo libarchive/archive_write_set_format_ustar.lo liba rchive/archive_write_set_format_v7tar.lo libarchive/archive_write_set_format_gn utar.lo libarchive/archive_write_set_format_warc.lo libarchive/archive_write_se t_format_xar.lo libarchive/archive_write_set_format_zip.lo libarchive/archive_w rite_set_options.lo libarchive/archive_write_set_passphrase.lo libarchive/filte
r_fork_posix.lo libarchive/xxhash.lo  -liconv
libtool: link: gcc -o .libs/libarchive.dll.a libarchive/.libs/archive_acl.o li barchive/.libs/archive_check_magic.o libarchive/.libs/archive_cmdline.o libarch ive/.libs/archive_cryptor.o libarchive/.libs/archive_digest.o libarchive/.libs/ archive_entry.o libarchive/.libs/archive_entry_copy_stat.o libarchive/.libs/arc hive_entry_link_resolver.o libarchive/.libs/archive_entry_sparse.o libarchive/. libs/archive_entry_stat.o libarchive/.libs/archive_entry_strmode.o libarchive/. libs/archive_entry_xattr.o libarchive/.libs/archive_getdate.o libarchive/.libs/ archive_hmac.o libarchive/.libs/archive_match.o libarchive/.libs/archive_option s.o libarchive/.libs/archive_pack_dev.o libarchive/.libs/archive_pathmatch.o li barchive/.libs/archive_ppmd7.o libarchive/.libs/archive_random.o libarchive/.li bs/archive_rb.o libarchive/.libs/archive_read.o libarchive/.libs/archive_read_a dd_passphrase.o libarchive/.libs/archive_read_append_filter.o libarchive/.libs/ archive_read_data_into_fd.o libarchive/.libs/archive_read_disk_entry_from_file. o libarchive/.libs/archive_read_disk_posix.o libarchive/.libs/archive_read_disk _set_standard_lookup.o libarchive/.libs/archive_read_extract.o libarchive/.libs /archive_read_extract2.o libarchive/.libs/archive_read_open_fd.o libarchive/.li bs/archive_read_open_file.o libarchive/.libs/archive_read_open_filename.o libar chive/.libs/archive_read_open_memory.o libarchive/.libs/archive_read_set_format .o libarchive/.libs/archive_read_set_options.o libarchive/.libs/archive_read_su pport_filter_all.o libarchive/.libs/archive_read_support_filter_bzip2.o libarch ive/.libs/archive_read_support_filter_compress.o libarchive/.libs/archive_read_ support_filter_grzip.o libarchive/.libs/archive_read_support_filter_gzip.o liba rchive/.libs/archive_read_support_filter_lrzip.o libarchive/.libs/archive_read_ support_filter_lz4.o libarchive/.libs/archive_read_support_filter_lzop.o libarc hive/.libs/archive_read_support_filter_none.o libarchive/.libs/archive_read_sup port_filter_program.o libarchive/.libs/archive_read_support_filter_rpm.o libarc hive/.libs/archive_read_support_filter_uu.o libarchive/.libs/archive_read_suppo rt_filter_xz.o libarchive/.libs/archive_read_support_format_7zip.o libarchive/. libs/archive_read_support_format_all.o libarchive/.libs/archive_read_support_fo rmat_ar.o libarchive/.libs/archive_read_support_format_by_code.o libarchive/.li bs/archive_read_support_format_cab.o libarchive/.libs/archive_read_support_form at_cpio.o libarchive/.libs/archive_read_support_format_empty.o libarchive/.libs /archive_read_support_format_iso9660.o libarchive/.libs/archive_read_support_fo rmat_lha.o libarchive/.libs/archive_read_support_format_mtree.o libarchive/.lib s/archive_read_support_format_rar.o libarchive/.libs/archive_read_support_forma t_raw.o libarchive/.libs/archive_read_support_format_tar.o libarchive/.libs/arc hive_read_support_format_warc.o libarchive/.libs/archive_read_support_format_xa r.o libarchive/.libs/archive_read_support_format_zip.o libarchive/.libs/archive _string.o libarchive/.libs/archive_string_sprintf.o libarchive/.libs/archive_ut il.o libarchive/.libs/archive_virtual.o libarchive/.libs/archive_write.o libarc hive/.libs/archive_write_disk_acl.o libarchive/.libs/archive_write_disk_posix.o libarchive/.libs/archive_write_disk_set_standard_lookup.o libarchive/.libs/arc hive_write_open_fd.o libarchive/.libs/archive_write_open_file.o libarchive/.lib s/archive_write_open_filename.o libarchive/.libs/archive_write_open_memory.o li barchive/.libs/archive_write_add_filter.o libarchive/.libs/archive_write_add_fi lter_b64encode.o libarchive/.libs/archive_write_add_filter_by_name.o libarchive /.libs/archive_write_add_filter_bzip2.o libarchive/.libs/archive_write_add_filt er_compress.o libarchive/.libs/archive_write_add_filter_grzip.o libarchive/.lib s/archive_write_add_filter_gzip.o libarchive/.libs/archive_write_add_filter_lrz ip.o libarchive/.libs/archive_write_add_filter_lz4.o libarchive/.libs/archive_w rite_add_filter_lzop.o libarchive/.libs/archive_write_add_filter_none.o libarch ive/.libs/archive_write_add_filter_program.o libarchive/.libs/archive_write_add _filter_uuencode.o libarchive/.libs/archive_write_add_filter_xz.o libarchive/.l ibs/archive_write_set_format.o libarchive/.libs/archive_write_set_format_7zip.o libarchive/.libs/archive_write_set_format_ar.o libarchive/.libs/archive_write_ set_format_by_name.o libarchive/.libs/archive_write_set_format_cpio.o libarchiv e/.libs/archive_write_set_format_cpio_newc.o libarchive/.libs/archive_write_set _format_filter_by_ext.o libarchive/.libs/archive_write_set_format_iso9660.o lib archive/.libs/archive_write_set_format_mtree.o libarchive/.libs/archive_write_s et_format_pax.o libarchive/.libs/archive_write_set_format_raw.o libarchive/.lib s/archive_write_set_format_shar.o libarchive/.libs/archive_write_set_format_ust ar.o libarchive/.libs/archive_write_set_format_v7tar.o libarchive/.libs/archive _write_set_format_gnutar.o libarchive/.libs/archive_write_set_format_warc.o lib archive/.libs/archive_write_set_format_xar.o libarchive/.libs/archive_write_set _format_zip.o libarchive/.libs/archive_write_set_options.o libarchive/.libs/arc 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

--
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