Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to build with Visual Studio 2008 #520

Closed
kwrobot opened this issue Apr 11, 2015 · 11 comments
Closed

Failure to build with Visual Studio 2008 #520

kwrobot opened this issue Apr 11, 2015 · 11 comments

Comments

@kwrobot
Copy link

kwrobot commented Apr 11, 2015

Original issue 412 created by Google Code user pugach.yaroslav2 on 2015-02-17T14:34:51.000Z:

<b>What steps will reproduce the problem?</b>
1. Run cmake-gui, open libarchive source, configure to use Visual Studio 9 generator.
2. Leave all options by default and generate Visual Studio 2008 project.
3. Open the generated solution file with Visual Studio 2008 and rebuild it.
4. See a lot of compilation errors.


<b>What version are you using?</b>
libarchive-3.1.2, cmake-3.1.3, visual studio 2008 SP1

<b>On what operating system?</b>
Windows 8.1 x64


<b>What compiler or development environment (please include version)?</b>
Those installed with Visual Studio 2008 SP1.

The build log file is attached.

See attachment: BuildLog.htm

@kwrobot
Copy link
Author

kwrobot commented Apr 11, 2015

Comment #1 originally posted by kientzle on 2015-02-21T05:45:28.000Z:

I just pushed fixes for most of these warnings.

I still need to research the issue with the bcrypt macros, though.

@puhach
Copy link

puhach commented Jun 15, 2015

Still can't build it :( Only bsdcat_test.exe, bsdcpio_test.exe and bsdtar_test.exe were built.

cmake-gui-screenshot

visual-studio-2008-compilation-failure

@puhach
Copy link

puhach commented Jun 15, 2015

1>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug Win32 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: archive_static, Configuration: Debug Win32 ------
3>------ Build started: Project: bsdcat_test, Configuration: Debug Win32 ------
4>------ Build started: Project: bsdtar_test, Configuration: Debug Win32 ------
3>Compiling...
2>Compiling...
5>------ Build started: Project: bsdcpio_test, Configuration: Debug Win32 ------
6>------ Skipped Build: Project: NightlyMemoryCheck, Configuration: Debug Win32 ------
6>Project not selected to build for this solution configuration
7>------ Skipped Build: Project: Nightly, Configuration: Debug Win32 ------
7>Project not selected to build for this solution configuration
8>------ Skipped Build: Project: Experimental, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
9>------ Skipped Build: Project: Continuous, Configuration: Debug Win32 ------
9>Project not selected to build for this solution configuration
10>------ Build started: Project: archive, Configuration: Debug Win32 ------
5>Compiling...
4>Compiling...
10>Compiling...
3>test_version.c
2>archive_acl.c
5>test_passthrough_reverse.c
4>test_windows.c
10>filter_fork_windows.c
2>filter_fork_windows.c
5>test_passthrough_dotdot.c
10>archive_write_disk_windows.c
3>test_help.c
4>test_version.c
2>archive_write_disk_windows.c
5>test_owner_parse.c
3>test_expand_xz.c
10>archive_windows.c
4>test_symlink_dir.c
2>archive_windows.c
3>test_expand_plain.c
5>test_option_z.c
10>archive_read_disk_windows.c
4>test_strip_components.c
2>archive_read_disk_windows.c
3>test_expand_mixed.c
5>test_option_y.c
10>archive_entry_copy_bhfi.c
4>test_stdio.c
2>archive_entry_copy_bhfi.c
3>test_expand_lz4.c
10>xxhash.c
5>test_option_xz.c
4>test_print_longpath.c
2>xxhash.c
10>filter_fork_posix.c
3>test_expand_gz.c
5>test_option_version.c
4>test_patterns.c
2>filter_fork_posix.c
10>archive_write_set_passphrase.c
5>test_option_uuencode.c
3>test_expand_bz2.c
4>test_option_z.c
2>archive_write_set_passphrase.c
10>archive_write_set_options.c
3>test_expand_Z.c
5>test_option_u.c
4>test_option_xz.c
2>archive_write_set_options.c
10>archive_write_set_format_zip.c
3>test_error_mixed.c
5>test_option_t.c
4>test_option_uuencode.c
2>archive_write_set_format_zip.c
10>archive_write_set_format_xar.c
3>test_error.c
5>test_option_passphrase.c
4>test_option_uid_uname.c
2>archive_write_set_format_xar.c
10>archive_write_set_format_warc.c
3>test_empty_xz.c
4>test_option_s.c
5>test_option_m.c
2>archive_write_set_format_warc.c
10>archive_write_set_format_v7tar.c
3>test_empty_lz4.c
4>test_option_r.c
2>archive_write_set_format_v7tar.c
5>test_option_lzop.c
10>archive_write_set_format_ustar.c
3>test_empty_gz.c
2>archive_write_set_format_ustar.c
4>test_option_q.c
5>test_option_lzma.c
10>archive_write_set_format_shar.c
2>archive_write_set_format_shar.c
3>test_0.c
4>test_option_passphrase.c
5>test_option_lz4.c
10>archive_write_set_format_raw.c
2>archive_write_set_format_raw.c
3>main.c
4>test_option_older_than.c
10>archive_write_set_format_pax.c
5>test_option_lrzip.c
2>archive_write_set_format_pax.c
10>archive_write_set_format_mtree.c
5>test_option_l.c
3>test_utils.c
4>test_option_nodump.c
3>Generating Code...
2>archive_write_set_format_mtree.c
10>archive_write_set_format_iso9660.c
5>test_option_help.c
4>test_option_newer_than.c
2>archive_write_set_format_iso9660.c
5>test_option_grzip.c
10>archive_write_set_format_gnutar.c
4>test_option_n.c
2>Generating Code...
10>Generating Code...
5>test_option_f.c
4>test_option_lzop.c
2>Compiling...
2>archive_write_set_format_gnutar.c
10>Compiling...
10>archive_write_set_format_filter_by_ext.c
5>Generating Code...
4>Generating Code...
5>Compiling...
5>test_option_d.c
2>archive_write_set_format_filter_by_ext.c
4>Compiling...
4>test_option_lzma.c
10>.\archive_write_set_format_filter_by_ext.c(74) : error C2275: 'size_t' : illegal use of this type as an expression
10> c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : see declaration of 'size_t'
10>.\archive_write_set_format_filter_by_ext.c(74) : error C2146: syntax error : missing ';' before identifier 'length_str'
10>.\archive_write_set_format_filter_by_ext.c(74) : error C2065: 'length_str' : undeclared identifier
10>.\archive_write_set_format_filter_by_ext.c(75) : error C2275: 'size_t' : illegal use of this type as an expression
10> c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : see declaration of 'size_t'
10>.\archive_write_set_format_filter_by_ext.c(75) : error C2146: syntax error : missing ';' before identifier 'length_suffix'
10>.\archive_write_set_format_filter_by_ext.c(75) : error C2065: 'length_suffix' : undeclared identifier
10>.\archive_write_set_format_filter_by_ext.c(77) : error C2065: 'length_str' : undeclared identifier
10>.\archive_write_set_format_filter_by_ext.c(77) : error C2065: 'length_suffix' : undeclared identifier
10>.\archive_write_set_format_filter_by_ext.c(77) : error C2065: 'length_str' : undeclared identifier
10>.\archive_write_set_format_filter_by_ext.c(77) : error C2065: 'length_suffix' : undeclared identifier
10>archive_write_set_format_cpio_newc.c
2>.\archive_write_set_format_filter_by_ext.c(74) : error C2275: 'size_t' : illegal use of this type as an expression
2> c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : see declaration of 'size_t'
2>.\archive_write_set_format_filter_by_ext.c(74) : error C2146: syntax error : missing ';' before identifier 'length_str'
2>.\archive_write_set_format_filter_by_ext.c(74) : error C2065: 'length_str' : undeclared identifier
2>.\archive_write_set_format_filter_by_ext.c(75) : error C2275: 'size_t' : illegal use of this type as an expression
2> c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : see declaration of 'size_t'
5>test_option_c.c
2>.\archive_write_set_format_filter_by_ext.c(75) : error C2146: syntax error : missing ';' before identifier 'length_suffix'
2>.\archive_write_set_format_filter_by_ext.c(75) : error C2065: 'length_suffix' : undeclared identifier
2>.\archive_write_set_format_filter_by_ext.c(77) : error C2065: 'length_str' : undeclared identifier
2>.\archive_write_set_format_filter_by_ext.c(77) : error C2065: 'length_suffix' : undeclared identifier
2>.\archive_write_set_format_filter_by_ext.c(77) : error C2065: 'length_str' : undeclared identifier
2>.\archive_write_set_format_filter_by_ext.c(77) : error C2065: 'length_suffix' : undeclared identifier
4>test_option_lz4.c
2>archive_write_set_format_cpio_newc.c
10>archive_write_set_format_cpio.c
2>archive_write_set_format_cpio.c
5>test_option_b64encode.c
10>archive_write_set_format_by_name.c
4>test_option_lrzip.c
2>archive_write_set_format_by_name.c
10>archive_write_set_format_ar.c
5>test_option_a.c
4>test_option_keep_newer_files.c
2>archive_write_set_format_ar.c
10>archive_write_set_format_7zip.c
5>test_option_Z_upper.c
4>test_option_k.c
2>archive_write_set_format_7zip.c
10>archive_write_set_format.c
5>test_option_L_upper.c
4>test_option_j.c
10>archive_write_add_filter_xz.c
2>archive_write_set_format.c
5>test_option_J_upper.c
4>test_option_grzip.c
2>archive_write_add_filter_xz.c
10>archive_write_add_filter_uuencode.c
5>test_option_C_upper.c
4>test_option_gid_gname.c
2>archive_write_add_filter_uuencode.c
10>archive_write_add_filter_program.c
5>test_option_B_upper.c
4>test_option_exclude.c
2>archive_write_add_filter_program.c
10>archive_write_add_filter_none.c
5>test_option_0.c
4>test_option_b64encode.c
2>archive_write_add_filter_none.c
10>archive_write_add_filter_lzop.c
5>test_gcpio_compat.c
2>archive_write_add_filter_lzop.c
10>archive_write_add_filter_lz4.c
4>test_option_b.c
2>archive_write_add_filter_lz4.c
5>test_format_newc.c
10>archive_write_add_filter_lrzip.c
4>test_option_a.c
2>archive_write_add_filter_lrzip.c
10>archive_write_add_filter_gzip.c
5>test_extract_cpio_xz.c
4>test_option_X_upper.c
2>archive_write_add_filter_gzip.c
10>archive_write_add_filter_grzip.c
5>test_extract_cpio_lzo.c
4>test_option_U_upper.c
10>archive_write_add_filter_compress.c
2>archive_write_add_filter_grzip.c
5>test_extract_cpio_lzma.c
4>test_option_T_upper.c
2>archive_write_add_filter_compress.c
10>archive_write_add_filter_bzip2.c
5>test_extract_cpio_lz4.c
4>test_option_O_upper.c
10>archive_write_add_filter_by_name.c
2>archive_write_add_filter_bzip2.c
5>test_extract_cpio_lz.c
4>test_option_L_upper.c
2>archive_write_add_filter_by_name.c
10>archive_write_add_filter_b64encode.c
5>test_extract_cpio_lrz.c
4>test_option_H_upper.c
2>Generating Code...
10>Generating Code...
10>Compiling...
10>archive_write_add_filter.c
2>Compiling...
2>archive_write_add_filter_b64encode.c
5>test_extract_cpio_gz.c
4>test_option_C_upper.c
10>archive_write_open_memory.c
2>archive_write_add_filter.c
5>test_extract_cpio_grz.c
4>test_leading_slash.c
10>archive_write_open_filename.c
2>archive_write_open_memory.c
5>Generating Code...
4>Generating Code...
10>archive_write_open_file.c
5>Compiling...
5>test_extract_cpio_bz2.c
2>archive_write_open_filename.c
4>Compiling...
4>test_help.c
10>archive_write_open_fd.c
2>archive_write_open_file.c
5>test_extract_cpio_Z.c
4>test_format_newc.c
10>archive_write_disk_set_standard_lookup.c
2>archive_write_open_fd.c
5>test_cmdline.c
4>test_extract_tar_xz.c
10>archive_write_disk_posix.c
2>archive_write_disk_set_standard_lookup.c
5>test_basic.c
4>test_extract_tar_lzo.c
10>archive_write_disk_acl.c
2>archive_write_disk_posix.c
5>test_0.c
4>test_extract_tar_lzma.c
10>archive_write.c
2>archive_write_disk_acl.c
5>main.c
4>test_extract_tar_lz4.c
10>archive_virtual.c
2>archive_write.c
5>test_utils.c
5>err.c
4>test_extract_tar_lz.c
5>cmdline.c
2>archive_virtual.c
10>archive_util.c
4>test_extract_tar_lrz.c
5>Generating Code...
2>archive_util.c
10>archive_string_sprintf.c
4>test_extract_tar_gz.c
2>archive_string_sprintf.c
10>archive_string.c
4>test_extract_tar_grz.c
2>archive_string.c
10>archive_read_support_format_zip.c
4>test_extract_tar_bz2.c
2>archive_read_support_format_zip.c
10>archive_read_support_format_xar.c
4>test_extract_tar_Z.c
2>archive_read_support_format_xar.c
10>archive_read_support_format_warc.c
4>test_empty_mtree.c
2>archive_read_support_format_warc.c
10>archive_read_support_format_tar.c
4>test_copy.c
2>archive_read_support_format_tar.c
10>archive_read_support_format_raw.c
2>archive_read_support_format_raw.c
4>test_basic.c
10>archive_read_support_format_rar.c
2>archive_read_support_format_rar.c
4>test_0.c
10>archive_read_support_format_mtree.c
2>Generating Code...
4>main.c
10>Generating Code...
2>Compiling...
2>archive_read_support_format_mtree.c
10>Compiling...
10>archive_read_support_format_lha.c
4>test_utils.c
4>Generating Code...
2>archive_read_support_format_lha.c
4>Performing Pre-Link Event...
5>Performing Pre-Link Event...
10>archive_read_support_format_iso9660.c
5>Compiling manifest to resources...
4>Compiling manifest to resources...
4>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
4>Copyright (C) Microsoft Corporation. All rights reserved.
5>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
5>Copyright (C) Microsoft Corporation. All rights reserved.
4>Linking...
5>Linking...
2>archive_read_support_format_iso9660.c
10>archive_read_support_format_empty.c
4>Embedding manifest...
5>Embedding manifest...
2>archive_read_support_format_empty.c
10>archive_read_support_format_cpio.c
5>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
5>Copyright (C) Microsoft Corporation. All rights reserved.
4>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
4>Copyright (C) Microsoft Corporation. All rights reserved.
2>archive_read_support_format_cpio.c
10>archive_read_support_format_cab.c
5>Build log was saved at "file://z:\libarchive-libarchive-93b6763\cpio\test\bsdcpio_test.dir\Debug\BuildLog.htm"
5>bsdcpio_test - 0 error(s), 0 warning(s)
4>Build log was saved at "file://z:\libarchive-libarchive-93b6763\tar\test\bsdtar_test.dir\Debug\BuildLog.htm"
4>bsdtar_test - 0 error(s), 0 warning(s)
2>archive_read_support_format_cab.c
10>archive_read_support_format_by_code.c
2>archive_read_support_format_by_code.c
10>archive_read_support_format_ar.c
2>archive_read_support_format_ar.c
10>archive_read_support_format_all.c
2>archive_read_support_format_all.c
10>archive_read_support_format_7zip.c
2>archive_read_support_format_7zip.c
10>archive_read_support_filter_xz.c
2>archive_read_support_filter_xz.c
10>archive_read_support_filter_uu.c
2>archive_read_support_filter_uu.c
10>archive_read_support_filter_rpm.c
2>archive_read_support_filter_rpm.c
10>archive_read_support_filter_program.c
2>archive_read_support_filter_program.c
10>archive_read_support_filter_none.c
2>archive_read_support_filter_none.c
10>archive_read_support_filter_lzop.c
2>archive_read_support_filter_lzop.c
10>archive_read_support_filter_lz4.c
2>archive_read_support_filter_lz4.c
10>archive_read_support_filter_lrzip.c
2>archive_read_support_filter_lrzip.c
10>archive_read_support_filter_grzip.c
2>archive_read_support_filter_grzip.c
10>archive_read_support_filter_gzip.c
2>archive_read_support_filter_gzip.c
10>archive_read_support_filter_compress.c
2>Generating Code...
10>Generating Code...
2>Compiling...
2>archive_read_support_filter_compress.c
10>Compiling...
10>archive_read_support_filter_bzip2.c
2>archive_read_support_filter_bzip2.c
10>archive_read_support_filter_all.c
2>archive_read_support_filter_all.c
10>archive_read_set_options.c
2>archive_read_set_options.c
10>archive_read_set_format.c
2>archive_read_set_format.c
10>archive_read_open_memory.c
2>archive_read_open_memory.c
10>archive_read_open_filename.c
2>archive_read_open_filename.c
10>archive_read_open_file.c
2>archive_read_open_file.c
10>archive_read_open_fd.c
2>archive_read_open_fd.c
10>archive_read_extract2.c
2>archive_read_extract2.c
10>archive_read_extract.c
2>archive_read_extract.c
10>archive_read_disk_set_standard_lookup.c
2>archive_read_disk_set_standard_lookup.c
10>archive_read_disk_posix.c
10>archive_read_disk_entry_from_file.c
2>archive_read_disk_posix.c
2>archive_read_disk_entry_from_file.c
10>archive_read_data_into_fd.c
2>archive_read_data_into_fd.c
10>archive_read_append_filter.c
2>archive_read_append_filter.c
10>archive_read_add_passphrase.c
2>archive_read_add_passphrase.c
10>archive_read.c
2>archive_read.c
10>archive_rb.c
2>archive_rb.c
10>archive_random.c
2>archive_random.c
10>archive_ppmd7.c
2>Generating Code...
10>Generating Code...
2>Compiling...
2>archive_ppmd7.c
10>Compiling...
10>archive_pathmatch.c
2>archive_pathmatch.c
10>archive_pack_dev.c
2>archive_pack_dev.c
10>archive_options.c
2>archive_options.c
10>archive_match.c
2>archive_match.c
10>archive_hmac.c
2>archive_hmac.c
10>.\archive_hmac.c(78) : error C2220: warning treated as error - no 'object' file generated
10>.\archive_hmac.c(78) : warning C4013: 'BCRYPT_SUCCESS' undefined; assuming extern returning int
10>.\archive_hmac.c(92) : error C2065: 'BCRYPT_HASH_REUSABLE_FLAG' : undeclared identifier
10>archive_getdate.c
10>archive_entry_xattr.c
2>.\archive_hmac.c(78) : error C2220: warning treated as error - no 'object' file generated
2>.\archive_hmac.c(78) : warning C4013: 'BCRYPT_SUCCESS' undefined; assuming extern returning int
2>.\archive_hmac.c(92) : error C2065: 'BCRYPT_HASH_REUSABLE_FLAG' : undeclared identifier
2>archive_getdate.c
2>archive_entry_xattr.c
10>archive_entry_strmode.c
2>archive_entry_strmode.c
10>archive_entry_stat.c
2>archive_entry_stat.c
10>archive_entry_sparse.c
2>archive_entry_sparse.c
10>archive_entry_link_resolver.c
2>archive_entry_link_resolver.c
10>archive_entry_copy_stat.c
2>archive_entry_copy_stat.c
10>archive_entry.c
2>archive_entry.c
10>archive_digest.c
2>archive_digest.c
10>archive_cryptor.c
2>archive_cryptor.c
10>.\archive_cryptor.c(62) : error C2220: warning treated as error - no 'object' file generated
10>.\archive_cryptor.c(62) : warning C4013: 'BCRYPT_SUCCESS' undefined; assuming extern returning int
10>.\archive_cryptor.c(65) : warning C4013: 'BCryptDeriveKeyPBKDF2' undefined; assuming extern returning int
10>archive_cmdline.c
2>.\archive_cryptor.c(62) : error C2220: warning treated as error - no 'object' file generated
2>.\archive_cryptor.c(62) : warning C4013: 'BCRYPT_SUCCESS' undefined; assuming extern returning int
2>.\archive_cryptor.c(65) : warning C4013: 'BCryptDeriveKeyPBKDF2' undefined; assuming extern returning int
2>archive_cmdline.c
10>archive_check_magic.c
2>archive_check_magic.c
10>archive_acl.c
2>Generating Code...
10>Generating Code...
3>Performing Pre-Link Event...
3>Compiling manifest to resources...
3>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
3>Copyright (C) Microsoft Corporation. All rights reserved.
3>Linking...
2>Build log was saved at "file://z:\libarchive-libarchive-93b6763\libarchive\archive_static.dir\Debug\BuildLog.htm"
2>archive_static - 13 error(s), 3 warning(s)
11>------ Build started: Project: bsdcpio, Configuration: Debug Win32 ------
10>Build log was saved at "file://z:\libarchive-libarchive-93b6763\libarchive\archive.dir\Debug\BuildLog.htm"
10>archive - 13 error(s), 3 warning(s)
12>------ Build started: Project: bsdcat, Configuration: Debug Win32 ------
3>Embedding manifest...
13>------ Build started: Project: libarchive_test, Configuration: Debug Win32 ------
11>Compiling...
14>------ Build started: Project: bsdtar, Configuration: Debug Win32 ------
12>Compiling...
14>Compiling...
11>cpio_windows.c
12>err.c
14>bsdtar_windows.c
13>Compiling...
12>cmdline.c
13>test_zip_filename_encoding.c
3>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
3>Copyright (C) Microsoft Corporation. All rights reserved.
3>Build log was saved at "file://z:\libarchive-libarchive-93b6763\cat\test\bsdcat_test.dir\Debug\BuildLog.htm"
3>bsdcat_test - 0 error(s), 0 warning(s)
11>passphrase.c
14>passphrase.c
12>bsdcat.c
13>test_write_read_format_zip.c
14>line_reader.c
11>line_reader.c
12>Generating Code...
14>err.c
11>err.c
12>Performing Pre-Link Event...
14>write.c
11>cpio.c
13>test_write_open_memory.c
12>Compiling manifest to resources...
12>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
12>Copyright (C) Microsoft Corporation. All rights reserved.
12>Linking...
12>LINK : fatal error LNK1104: cannot open file '..\libarchive\Debug\archive_static.lib'
12>Build log was saved at "file://z:\libarchive-libarchive-93b6763\cat\bsdcat.dir\Debug\BuildLog.htm"
12>bsdcat - 1 error(s), 0 warning(s)
14>util.c
11>cmdline.c
13>test_write_format_zip_zip64.c
14>subst.c
11>Generating Code...
13>test_write_format_zip_large.c
11>Performing Pre-Link Event...
15>------ Build started: Project: run_bsdcat_test, Configuration: Debug Win32 ------
11>Compiling manifest to resources...
11>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
11>Copyright (C) Microsoft Corporation. All rights reserved.
11>Linking...
15>If tests fail or crash, details will be in:
15> C:\Users\yarko\AppData\Local\Temp/bsdcat_test.exe.2015-06-15T20.08.01-000
15>Reference files will be read from: Z:/libarchive-libarchive-93b6763/cat/test
15>Running tests on: "Z:\libarchive-libarchive-93b6763\bin\Debug\bsdcat.exe"
15>Exercising: "Z:\libarchive-libarchive-93b6763\bin\Debug\bsdcat.exe" не является внутренней или внешней
15>командой, исполняемой программой или пакетным файлом.
15> 0: test_0
15>File "Z:\libarchive-libarchive-93b6763\bin\Debug\bsdcat.exe" does not exist; aborting test.
14>read.c
15>Project : error PRJ0019: A tool returned an error code from
15>Build log was saved at "file://z:\libarchive-libarchive-93b6763\cat\test\run_bsdcat_test.dir\Debug\BuildLog.htm"
15>run_bsdcat_test - 1 error(s), 0 warning(s)
11>LINK : fatal error LNK1104: cannot open file '..\libarchive\Debug\archive_static.lib'
11>Build log was saved at "file://z:\libarchive-libarchive-93b6763\cpio\bsdcpio.dir\Debug\BuildLog.htm"
11>bsdcpio - 1 error(s), 0 warning(s)
13>test_write_format_zip_file_zip64.c
14>creation_set.c
16>------ Build started: Project: run_bsdcpio_test, Configuration: Debug Win32 ------
13>test_write_format_zip_file.c
16>If tests fail or crash, details will be in:
16> C:\Users\yarko\AppData\Local\Temp/bsdcpio_test.exe.2015-06-15T20.08.01-000
16>Reference files will be read from: Z:/libarchive-libarchive-93b6763/cpio/test
16>Running tests on: "Z:\libarchive-libarchive-93b6763\bin\Debug\bsdcpio.exe"
16>Exercising: "Z:\libarchive-libarchive-93b6763\bin\Debug\bsdcpio.exe" не является внутренней или внешней
16>командой, исполняемой программой или пакетным файлом.
16> 0: test_0
16>File "Z:\libarchive-libarchive-93b6763\bin\Debug\bsdcpio.exe" does not exist; aborting test.
16>Project : error PRJ0019: A tool returned an error code from
16>Build log was saved at "file://z:\libarchive-libarchive-93b6763\cpio\test\run_bsdcpio_test.dir\Debug\BuildLog.htm"
16>run_bsdcpio_test - 1 error(s), 0 warning(s)
14>cmdline.c
13>test_write_format_zip_empty_zip64.c
14>bsdtar.c
13>test_write_format_zip_empty.c
14>Generating Code...
13>test_write_format_zip_compression_store.c
14>Performing Pre-Link Event...
14>Compiling manifest to resources...
14>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
14>Copyright (C) Microsoft Corporation. All rights reserved.
14>Linking...
14>LINK : fatal error LNK1104: cannot open file '..\libarchive\Debug\archive_static.lib'
13>test_write_format_zip.c
14>Build log was saved at "file://z:\libarchive-libarchive-93b6763\tar\bsdtar.dir\Debug\BuildLog.htm"
14>bsdtar - 1 error(s), 0 warning(s)
13>test_write_format_xar_empty.c
17>------ Build started: Project: run_bsdtar_test, Configuration: Debug Win32 ------
13>test_write_format_xar.c
17>If tests fail or crash, details will be in:
17> C:\Users\yarko\AppData\Local\Temp/bsdtar_test.exe.2015-06-15T20.08.03-000
17>Reference files will be read from: Z:/libarchive-libarchive-93b6763/tar/test
17>Running tests on: "Z:\libarchive-libarchive-93b6763\bin\Debug\bsdtar.exe"
17>Exercising: "Z:\libarchive-libarchive-93b6763\bin\Debug\bsdtar.exe" не является внутренней или внешней
17>командой, исполняемой программой или пакетным файлом.
17> 0: test_0
17>File "Z:\libarchive-libarchive-93b6763\bin\Debug\bsdtar.exe" does not exist; aborting test.
17>Project : error PRJ0019: A tool returned an error code from
17>Build log was saved at "file://z:\libarchive-libarchive-93b6763\tar\test\run_bsdtar_test.dir\Debug\BuildLog.htm"
17>run_bsdtar_test - 1 error(s), 0 warning(s)
13>test_write_format_warc_empty.c
13>test_write_format_warc.c
13>test_write_format_tar_v7tar.c
13>test_write_format_tar_ustar.c
13>test_write_format_tar_sparse.c
13>test_write_format_tar_empty.c
13>test_write_format_tar.c
13>Generating Code...
13>Compiling...
13>test_write_format_shar_empty.c
13>test_write_format_raw_b64.c
13>test_write_format_raw.c
13>test_write_format_pax.c
13>test_write_format_mtree_quoted_filename.c
13>test_write_format_mtree_no_separator.c
13>test_write_format_mtree_fflags.c
13>test_write_format_mtree_classic_indent.c
13>test_write_format_mtree_classic.c
13>test_write_format_mtree_absolute_path.c
13>test_write_format_mtree.c
13>test_write_format_iso9660_zisofs.c
13>test_write_format_iso9660_filename.c
13>test_write_format_iso9660_empty.c
13>test_write_format_iso9660_boot.c
13>test_write_format_iso9660.c
13>test_write_format_gnutar.c
13>test_write_format_cpio_odc.c
13>test_write_format_cpio_newc.c
13>test_write_format_cpio_empty.c
13>Generating Code...
13>Compiling...
13>test_write_format_cpio.c
13>test_write_format_ar.c
13>test_write_format_7zip_large.c
13>test_write_format_7zip_empty.c
13>test_write_format_7zip.c
13>test_write_filter_xz.c
13>test_write_filter_uuencode.c
13>test_write_filter_program.c
13>test_write_filter_lzop.c
13>test_write_filter_lzma.c
13>test_write_filter_lzip.c
13>test_write_filter_lz4.c
13>test_write_filter_lrzip.c
13>test_write_filter_gzip_timestamp.c
13>test_write_filter_gzip.c
13>test_write_filter_compress.c
13>test_write_filter_bzip2.c
13>test_write_filter_b64encode.c
13>test_write_disk_times.c
13>test_write_disk_symlink.c
13>Generating Code...
13>Compiling...
13>test_write_disk_sparse.c
13>test_write_disk_secure.c
13>test_write_disk_perms.c
13>test_write_disk_no_hfs_compression.c
13>test_write_disk_mac_metadata.c
13>test_write_disk_lookup.c
13>test_write_disk_hfs_compression.c
13>test_write_disk_hardlink.c
13>test_write_disk_failures.c
13>test_write_disk_appledouble.c
13>test_write_disk.c
13>test_ustar_filenames.c
13>test_ustar_filename_encoding.c
13>test_tar_large.c
13>test_tar_filenames.c
13>test_sparse_basic.c
13>test_read_truncated_filter.c
13>test_read_truncated.c
13>test_read_too_many_filters.c
13>test_read_set_format.c
13>Generating Code...
13>Compiling...
13>test_read_position.c
13>test_read_pax_truncated.c
13>test_read_large.c
13>test_read_format_zip_zip64.c
13>test_read_format_zip_winzip_aes_large.c
13>test_read_format_zip_winzip_aes.c
13>test_read_format_zip_utf8_paths.c
13>test_read_format_zip_traditional_encryption_data.c
13>test_read_format_zip_sfx.c
13>test_read_format_zip_padded.c
13>test_read_format_zip_nofiletype.c
13>test_read_format_zip_nested.c
13>test_read_format_zip_msdos.c
13>test_read_format_zip_malformed.c
13>test_read_format_zip_mac_metadata.c
13>test_read_format_zip_filename.c
13>test_read_format_zip_encryption_partially.c
13>test_read_format_zip_encryption_header.c
13>test_read_format_zip_encryption_data.c
13>test_read_format_zip_comment_stored.c
13>Generating Code...
13>Compiling...
13>test_read_format_zip.c
13>test_read_format_xar.c
13>test_read_format_warc.c
13>test_read_format_ustar_filename.c
13>test_read_format_tz.c
13>test_read_format_txz.c
13>test_read_format_tlz.c
13>test_read_format_tgz.c
13>test_read_format_tbz.c
13>test_read_format_tar_filename.c
13>test_read_format_tar_empty_pax.c
13>test_read_format_tar_empty_filename.c
13>test_read_format_tar_concatenated.c
13>test_read_format_tar.c
13>test_read_format_raw.c
13>test_read_format_rar_encryption_partially.c
13>test_read_format_rar_encryption_header.c
13>test_read_format_rar_encryption_data.c
13>test_read_format_rar.c
13>test_read_format_pax_bz2.c
13>Generating Code...
13>Compiling...
13>test_read_format_mtree.c
13>test_read_format_lha_filename.c
13>test_read_format_lha_bugfix_0.c
13>test_read_format_lha.c
13>test_read_format_isozisofs_bz2.c
13>test_read_format_isorr_rr_moved.c
13>test_read_format_isorr_new_bz2.c
13>test_read_format_isorr_ce.c
13>test_read_format_isorr_bz2.c
13>test_read_format_isojoliet_versioned.c
13>test_read_format_isojoliet_rr.c
13>test_read_format_isojoliet_long.c
13>test_read_format_isojoliet_bz2.c
13>test_read_format_iso_xorriso.c
13>test_read_format_iso_multi_extent.c
13>test_read_format_iso_Z.c
13>test_read_format_gtar_sparse_skip_entry.c
13>test_read_format_gtar_sparse.c
13>test_read_format_gtar_lzma.c
13>test_read_format_gtar_gz.c
13>Generating Code...
13>Compiling...
13>test_read_format_gtar_filename.c
13>test_read_format_empty.c
13>test_read_format_cpio_svr4c_Z.c
13>test_read_format_cpio_svr4_gzip_rpm.c
13>test_read_format_cpio_svr4_gzip.c
13>test_read_format_cpio_svr4_bzip2_rpm.c
13>test_read_format_cpio_odc.c
13>test_read_format_cpio_filename.c
13>test_read_format_cpio_bin_xz.c
13>test_read_format_cpio_bin_lzma.c
13>test_read_format_cpio_bin_lzip.c
13>test_read_format_cpio_bin_le.c
13>test_read_format_cpio_bin_gz.c
13>test_read_format_cpio_bin_bz2.c
13>test_read_format_cpio_bin_be.c
13>test_read_format_cpio_bin_Z.c
13>test_read_format_cpio_bin.c
13>test_read_format_cpio_afio.c
13>test_read_format_cab_filename.c
13>test_read_format_cab.c
13>Generating Code...
13>Compiling...
13>test_read_format_ar.c
13>test_read_format_7zip_malformed.c
13>test_read_format_7zip_encryption_partially.c
13>test_read_format_7zip_encryption_header.c
13>test_read_format_7zip_encryption_data.c
13>test_read_format_7zip.c
13>test_read_filter_uudecode.c
13>test_read_filter_program_signature.c
13>test_read_filter_program.c
13>test_read_filter_lzop_multiple_parts.c
13>test_read_filter_lzop.c
13>test_read_filter_lrzip.c
13>test_read_filter_grzip.c
13>test_read_file_nonexistent.c
13>test_read_extract.c
13>test_read_disk_entry_from_file.c
13>test_read_disk_directory_traversals.c
13>test_read_disk.c
13>test_read_data_large.c
13>test_pax_filename_encoding.c
13>Generating Code...
13>Compiling...
13>test_open_filename.c
13>test_open_file.c
13>test_open_fd.c
13>test_open_failure.c
13>test_link_resolver.c
13>test_gnutar_filename_encoding.c
13>test_fuzz.c
13>test_filter_count.c
13>test_extattr_freebsd.c
13>test_entry_strmode.c
13>test_entry.c
13>test_empty_write.c
13>test_compat_zip.c
13>test_compat_xz.c
13>test_compat_uudecode_large.c
13>test_compat_uudecode.c
13>test_compat_tar_hardlink.c
13>test_compat_solaris_tar_acl.c
13>test_compat_solaris_pax_sparse.c
13>test_compat_pax_libarchive_2x.c
13>Generating Code...
13>Compiling...
13>test_compat_mac.c
13>test_compat_lzop.c
13>test_compat_lzma.c
13>test_compat_lzip.c
13>test_compat_lz4.c
13>test_compat_gzip.c
13>test_compat_gtar.c
13>test_compat_cpio.c
13>test_compat_bzip2.c
13>test_bad_fd.c
13>test_archive_write_set_passphrase.c
13>test_archive_write_set_options.c
13>test_archive_write_set_option.c
13>test_archive_write_set_format_option.c
13>test_archive_write_set_format_filter_by_ext.c
13>test_archive_write_set_format_by_name.c
13>test_archive_write_set_filter_option.c
13>test_archive_write_add_filter_by_name.c
13>test_archive_string_conversion.c
13>test_archive_string.c
13>Generating Code...
13>Compiling...
13>test_archive_set_error.c
13>test_archive_read_support.c
13>test_archive_read_set_options.c
13>test_archive_read_set_option.c
13>test_archive_read_set_format_option.c
13>test_archive_read_set_filter_option.c
13>test_archive_read_open2.c
13>test_archive_read_next_header_raw.c
13>test_archive_read_next_header_empty.c
13>test_archive_read_multiple_data_objects.c
13>test_archive_read_close_twice_open_filename.c
13>test_archive_read_close_twice_open_fd.c
13>test_archive_read_close_twice.c
13>test_archive_read_add_passphrase.c
13>test_archive_pathmatch.c
13>test_archive_match_time.c
13>test_archive_match_path.c
13>test_archive_match_owner.c
13>test_archive_getdate.c
13>test_archive_digest.c
13>Generating Code...
13>Compiling...
13>test_archive_cmdline.c
13>test_archive_clear_error.c
13>test_archive_api_feature.c
13>test_acl_posix1e.c
13>test_acl_pax.c
13>test_acl_nfs4.c
13>test_acl_freebsd_posix1e.c
13>test_acl_freebsd_nfs4.c
13>read_open_memory.c
13>main.c
13>test_utils.c
13>Generating Code...
13>Performing Pre-Link Event...
13>Compiling manifest to resources...
13>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
13>Copyright (C) Microsoft Corporation. All rights reserved.
13>Linking...
13>LINK : fatal error LNK1104: cannot open file '..\Debug\archive_static.lib'
13>Build log was saved at "file://z:\libarchive-libarchive-93b6763\libarchive\test\libarchive_test.dir\Debug\BuildLog.htm"
13>libarchive_test - 1 error(s), 0 warning(s)
18>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
18>Project not selected to build for this solution configuration
19>------ Build started: Project: run_libarchive_test, Configuration: Debug Win32 ------
19>"....\bin\Debug\libarchive_test.exe" не является внутренней или внешней
19>командой, исполняемой программой или пакетным файлом.
19>Project : error PRJ0019: A tool returned an error code from
19>Build log was saved at "file://z:\libarchive-libarchive-93b6763\libarchive\test\run_libarchive_test.dir\Debug\BuildLog.htm"
19>run_libarchive_test - 1 error(s), 0 warning(s)
20>------ Skipped Build: Project: run_all_tests, Configuration: Debug Win32 ------
20>Project not selected to build for this solution configuration
========== Build: 3 succeeded, 10 failed, 2 up-to-date, 7 skipped ==========

@puhach
Copy link

puhach commented Jun 15, 2015

CMake configure log:

The C compiler identification is MSVC 15.0.30729.1
Check for working C compiler using: Visual Studio 9 2008
Check for working C compiler using: Visual Studio 9 2008 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Could NOT find LZMA (missing: LZMA_LIBRARY LZMA_INCLUDE_DIR)
Could NOT find LZMADEC (missing: LZMADEC_LIBRARY LZMADEC_INCLUDE_DIR)
Could NOT find LZO2 (missing: LZO2_LIBRARY LZO2_INCLUDE_DIR)
Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
Performing Test HAVE_DIRENT_H
Performing Test HAVE_DIRENT_H - Failed
Performing Test HAVE_SYS_NDIR_H
Performing Test HAVE_SYS_NDIR_H - Failed
Performing Test HAVE_NDIR_H
Performing Test HAVE_NDIR_H - Failed
Performing Test HAVE_SYS_DIR_H
Performing Test HAVE_SYS_DIR_H - Failed
Looking for include file sys/types.h
Looking for include file sys/types.h - found
Looking for include files sys/types.h, acl/libacl.h
Looking for include files sys/types.h, acl/libacl.h - not found
Looking for include files sys/types.h, ctype.h
Looking for include files sys/types.h, ctype.h - found
Looking for 3 include files sys/types.h, ..., copyfile.h
Looking for 3 include files sys/types.h, ..., copyfile.h - not found
Looking for 3 include files sys/types.h, ..., direct.h
Looking for 3 include files sys/types.h, ..., direct.h - found
Looking for 4 include files sys/types.h, ..., dlfcn.h
Looking for 4 include files sys/types.h, ..., dlfcn.h - not found
Looking for 4 include files sys/types.h, ..., errno.h
Looking for 4 include files sys/types.h, ..., errno.h - found
Looking for 5 include files sys/types.h, ..., ext2fs/ext2_fs.h
Looking for 5 include files sys/types.h, ..., ext2fs/ext2_fs.h - not found
Performing Test HAVE_WORKING_EXT2_IOC_GETFLAGS
Performing Test HAVE_WORKING_EXT2_IOC_GETFLAGS - Failed
Looking for 5 include files sys/types.h, ..., fcntl.h
Looking for 5 include files sys/types.h, ..., fcntl.h - found
Looking for 6 include files sys/types.h, ..., grp.h
Looking for 6 include files sys/types.h, ..., grp.h - not found
Looking for 6 include files sys/types.h, ..., inttypes.h
Looking for 6 include files sys/types.h, ..., inttypes.h - not found
Looking for 6 include files sys/types.h, ..., io.h
Looking for 6 include files sys/types.h, ..., io.h - found
Looking for 7 include files sys/types.h, ..., langinfo.h
Looking for 7 include files sys/types.h, ..., langinfo.h - not found
Looking for 7 include files sys/types.h, ..., limits.h
Looking for 7 include files sys/types.h, ..., limits.h - found
Looking for 8 include files sys/types.h, ..., linux/types.h
Looking for 8 include files sys/types.h, ..., linux/types.h - not found
Looking for 8 include files sys/types.h, ..., linux/fiemap.h
Looking for 8 include files sys/types.h, ..., linux/fiemap.h - not found
Looking for 8 include files sys/types.h, ..., linux/fs.h
Looking for 8 include files sys/types.h, ..., linux/fs.h - not found
Looking for 8 include files sys/types.h, ..., linux/magic.h
Looking for 8 include files sys/types.h, ..., linux/magic.h - not found
Looking for 8 include files sys/types.h, ..., locale.h
Looking for 8 include files sys/types.h, ..., locale.h - found
Looking for 9 include files sys/types.h, ..., memory.h
Looking for 9 include files sys/types.h, ..., memory.h - found
Looking for 10 include files sys/types.h, ..., paths.h
Looking for 10 include files sys/types.h, ..., paths.h - not found
Looking for 10 include files sys/types.h, ..., poll.h
Looking for 10 include files sys/types.h, ..., poll.h - not found
Looking for 10 include files sys/types.h, ..., process.h
Looking for 10 include files sys/types.h, ..., process.h - found
Looking for 11 include files sys/types.h, ..., pthread.h
Looking for 11 include files sys/types.h, ..., pthread.h - not found
Looking for 11 include files sys/types.h, ..., pwd.h
Looking for 11 include files sys/types.h, ..., pwd.h - not found
Looking for 11 include files sys/types.h, ..., readpassphrase.h
Looking for 11 include files sys/types.h, ..., readpassphrase.h - not found
Looking for 11 include files sys/types.h, ..., regex.h
Looking for 11 include files sys/types.h, ..., regex.h - not found
Looking for 11 include files sys/types.h, ..., signal.h
Looking for 11 include files sys/types.h, ..., signal.h - found
Looking for 12 include files sys/types.h, ..., spawn.h
Looking for 12 include files sys/types.h, ..., spawn.h - not found
Looking for 12 include files sys/types.h, ..., stdarg.h
Looking for 12 include files sys/types.h, ..., stdarg.h - found
Looking for 13 include files sys/types.h, ..., stdint.h
Looking for 13 include files sys/types.h, ..., stdint.h - not found
Looking for 13 include files sys/types.h, ..., stdlib.h
Looking for 13 include files sys/types.h, ..., stdlib.h - found
Looking for 14 include files sys/types.h, ..., string.h
Looking for 14 include files sys/types.h, ..., string.h - found
Looking for 15 include files sys/types.h, ..., strings.h
Looking for 15 include files sys/types.h, ..., strings.h - not found
Looking for 15 include files sys/types.h, ..., sys/acl.h
Looking for 15 include files sys/types.h, ..., sys/acl.h - not found
Looking for 15 include files sys/types.h, ..., sys/cdefs.h
Looking for 15 include files sys/types.h, ..., sys/cdefs.h - not found
Looking for 15 include files sys/types.h, ..., sys/ioctl.h
Looking for 15 include files sys/types.h, ..., sys/ioctl.h - not found
Looking for 15 include files sys/types.h, ..., sys/mkdev.h
Looking for 15 include files sys/types.h, ..., sys/mkdev.h - not found
Looking for 15 include files sys/types.h, ..., sys/mount.h
Looking for 15 include files sys/types.h, ..., sys/mount.h - not found
Looking for 15 include files sys/types.h, ..., sys/param.h
Looking for 15 include files sys/types.h, ..., sys/param.h - not found
Looking for 15 include files sys/types.h, ..., sys/poll.h
Looking for 15 include files sys/types.h, ..., sys/poll.h - not found
Looking for 15 include files sys/types.h, ..., sys/select.h
Looking for 15 include files sys/types.h, ..., sys/select.h - not found
Looking for 15 include files sys/types.h, ..., sys/stat.h
Looking for 15 include files sys/types.h, ..., sys/stat.h - found
Looking for 16 include files sys/types.h, ..., sys/statfs.h
Looking for 16 include files sys/types.h, ..., sys/statfs.h - not found
Looking for 16 include files sys/types.h, ..., sys/statvfs.h
Looking for 16 include files sys/types.h, ..., sys/statvfs.h - not found
Looking for 16 include files sys/types.h, ..., sys/time.h
Looking for 16 include files sys/types.h, ..., sys/time.h - not found
Looking for 16 include files sys/types.h, ..., sys/utime.h
Looking for 16 include files sys/types.h, ..., sys/utime.h - found
Looking for 17 include files sys/types.h, ..., sys/utsname.h
Looking for 17 include files sys/types.h, ..., sys/utsname.h - not found
Looking for 17 include files sys/types.h, ..., sys/vfs.h
Looking for 17 include files sys/types.h, ..., sys/vfs.h - not found
Looking for 17 include files sys/types.h, ..., sys/wait.h
Looking for 17 include files sys/types.h, ..., sys/wait.h - not found
Looking for 17 include files sys/types.h, ..., time.h
Looking for 17 include files sys/types.h, ..., time.h - found
Looking for 18 include files sys/types.h, ..., unistd.h
Looking for 18 include files sys/types.h, ..., unistd.h - not found
Looking for 18 include files sys/types.h, ..., utime.h
Looking for 18 include files sys/types.h, ..., utime.h - not found
Looking for 18 include files sys/types.h, ..., wchar.h
Looking for 18 include files sys/types.h, ..., wchar.h - found
Looking for 19 include files sys/types.h, ..., wctype.h
Looking for 19 include files sys/types.h, ..., wctype.h - found
Looking for 20 include files sys/types.h, ..., windows.h
Looking for 20 include files sys/types.h, ..., windows.h - found
Looking for 21 include files sys/types.h, ..., Bcrypt.h
Looking for 21 include files sys/types.h, ..., Bcrypt.h - found
Looking for 22 include files sys/types.h, ..., wincrypt.h
Looking for 22 include files sys/types.h, ..., wincrypt.h - found
Looking for 23 include files sys/types.h, ..., winioctl.h
Looking for 23 include files sys/types.h, ..., winioctl.h - found
Performing Test SAFE_TO_DEFINE_EXTENSIONS
Performing Test SAFE_TO_DEFINE_EXTENSIONS - Success
Could NOT find NETTLE (missing: NETTLE_LIBRARY NETTLE_INCLUDE_DIR)
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Looking for MD5Init in md
Looking for MD5Init in md - not found
Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
Could NOT find LIBGCC (missing: LIBGCC_LIBRARY)
Could NOT find PCREPOSIX (missing: PCREPOSIX_LIBRARY PCRE_INCLUDE_DIR)
Could NOT find PCRE (missing: PCRE_LIBRARY)
Looking for _CrtSetReportMode
Looking for _CrtSetReportMode - found
Looking for arc4random_buf
Looking for arc4random_buf - not found
Looking for chflags
Looking for chflags - not found
Looking for chown
Looking for chown - not found
Looking for chroot
Looking for chroot - not found
Looking for ctime_r
Looking for ctime_r - not found
Looking for dirfd
Looking for dirfd - not found
Looking for fchdir
Looking for fchdir - not found
Looking for fchflags
Looking for fchflags - not found
Looking for fchmod
Looking for fchmod - not found
Looking for fchown
Looking for fchown - not found
Looking for fcntl
Looking for fcntl - not found
Looking for fdopendir
Looking for fdopendir - not found
Looking for fork
Looking for fork - not found
Looking for fstat
Looking for fstat - found
Looking for fstatat
Looking for fstatat - not found
Looking for fstatfs
Looking for fstatfs - not found
Looking for fstatvfs
Looking for fstatvfs - not found
Looking for ftruncate
Looking for ftruncate - not found
Looking for futimens
Looking for futimens - not found
Looking for futimes
Looking for futimes - not found
Looking for futimesat
Looking for futimesat - not found
Looking for geteuid
Looking for geteuid - not found
Looking for getgrgid_r
Looking for getgrgid_r - not found
Looking for getgrnam_r
Looking for getgrnam_r - not found
Looking for getpwnam_r
Looking for getpwnam_r - not found
Looking for getpwuid_r
Looking for getpwuid_r - not found
Looking for getpid
Looking for getpid - found
Looking for getvfsbyname
Looking for getvfsbyname - not found
Looking for gmtime_r
Looking for gmtime_r - not found
Looking for lchflags
Looking for lchflags - not found
Looking for lchmod
Looking for lchmod - not found
Looking for lchown
Looking for lchown - not found
Looking for link
Looking for link - not found
Looking for localtime_r
Looking for localtime_r - not found
Looking for lstat
Looking for lstat - not found
Looking for lutimes
Looking for lutimes - not found
Looking for mbrtowc
Looking for mbrtowc - found
Looking for memmove
Looking for memmove - found
Looking for mkdir
Looking for mkdir - found
Looking for mkfifo
Looking for mkfifo - not found
Looking for mknod
Looking for mknod - not found
Looking for mkstemp
Looking for mkstemp - not found
Looking for nl_langinfo
Looking for nl_langinfo - not found
Looking for openat
Looking for openat - not found
Looking for pipe
Looking for pipe - not found
Looking for poll
Looking for poll - not found
Looking for posix_spawnp
Looking for posix_spawnp - not found
Looking for readlink
Looking for readlink - not found
Looking for readpassphrase
Looking for readpassphrase - not found
Looking for select
Looking for select - not found
Looking for setenv
Looking for setenv - not found
Looking for setlocale
Looking for setlocale - found
Looking for sigaction
Looking for sigaction - not found
Looking for statfs
Looking for statfs - not found
Looking for statvfs
Looking for statvfs - not found
Looking for strchr
Looking for strchr - found
Looking for strdup
Looking for strdup - found
Looking for strerror
Looking for strerror - found
Looking for strncpy_s
Looking for strncpy_s - found
Looking for strrchr
Looking for strrchr - found
Looking for symlink
Looking for symlink - not found
Looking for timegm
Looking for timegm - not found
Looking for tzset
Looking for tzset - found
Looking for unsetenv
Looking for unsetenv - not found
Looking for utime
Looking for utime - found
Looking for utimes
Looking for utimes - not found
Looking for utimensat
Looking for utimensat - not found
Looking for vfork
Looking for vfork - not found
Looking for wcrtomb
Looking for wcrtomb - found
Looking for wcscmp
Looking for wcscmp - found
Looking for wcscpy
Looking for wcscpy - found
Looking for wcslen
Looking for wcslen - found
Looking for wctomb
Looking for wctomb - found
Looking for _ctime64_s
Looking for _ctime64_s - found
Looking for _fseeki64
Looking for _fseeki64 - found
Looking for _get_timezone
Looking for _get_timezone - found
Looking for _localtime64_s
Looking for _localtime64_s - found
Looking for _mkgmtime64
Looking for _mkgmtime64 - found
Looking for cygwin_conv_path
Looking for cygwin_conv_path - not found
Looking for fseeko
Looking for fseeko - not found
Looking for strerror_r
Looking for strerror_r - not found
Looking for strftime
Looking for strftime - found
Looking for vprintf
Looking for vprintf - found
Looking for wmemcmp
Looking for wmemcmp - not found
Looking for wmemcpy
Looking for wmemcpy - not found
Looking for wmemmove
Looking for wmemmove - not found
Performing Test HAVE_READDIR_R
Performing Test HAVE_READDIR_R - Failed
Performing Test HAVE_READLINKAT
Performing Test HAVE_READLINKAT - Failed
Performing Test MAJOR_IN_MKDEV
Performing Test MAJOR_IN_MKDEV - Failed
Performing Test MAJOR_IN_SYSMACROS
Performing Test MAJOR_IN_SYSMACROS - Failed
Looking for EFTYPE
Looking for EFTYPE - not found
Looking for EILSEQ
Looking for EILSEQ - found
Looking for D_MD_ORDER
Looking for D_MD_ORDER - not found
Looking for INT64_MAX
Looking for INT64_MAX - not found
Looking for INT64_MIN
Looking for INT64_MIN - not found
Looking for UINT32_MAX
Looking for UINT32_MAX - not found
Looking for UINT64_MAX
Looking for UINT64_MAX - not found
Looking for SIZE_MAX
Looking for SIZE_MAX - found
Looking for SSIZE_MAX
Looking for SSIZE_MAX - not found
Performing Test HAVE_STRUCT_TM_TM_GMTOFF
Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Failed
Performing Test HAVE_STRUCT_TM___TM_GMTOFF
Performing Test HAVE_STRUCT_TM___TM_GMTOFF - Failed
Performing Test HAVE_STRUCT_STATFS_F_NAMEMAX
Performing Test HAVE_STRUCT_STATFS_F_NAMEMAX - Failed
Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME
Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed
Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC - Failed
Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Failed
Performing Test HAVE_STRUCT_STAT_ST_MTIME_N
Performing Test HAVE_STRUCT_STAT_ST_MTIME_N - Failed
Performing Test HAVE_STRUCT_STAT_ST_UMTIME
Performing Test HAVE_STRUCT_STAT_ST_UMTIME - Failed
Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC
Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC - Failed
Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE
Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE - Failed
Performing Test HAVE_STRUCT_STAT_ST_FLAGS
Performing Test HAVE_STRUCT_STAT_ST_FLAGS - Failed
Performing Test TIME_WITH_SYS_TIME
Performing Test TIME_WITH_SYS_TIME - Failed
Looking for stddef.h
Looking for stddef.h - found
Check size of short
Check size of short - done
Check size of int
Check size of int - done
Check size of long
Check size of long - done
Check size of long long
Check size of long long - done
Check size of unsigned short
Check size of unsigned short - done
Check size of unsigned
Check size of unsigned - done
Check size of unsigned long
Check size of unsigned long - done
Check size of unsigned long long
Check size of unsigned long long - done
Check size of __int64
Check size of __int64 - done
Check size of unsigned __int64
Check size of unsigned __int64 - done
Check size of int16_t
Check size of int16_t - failed
Check size of int32_t
Check size of int32_t - failed
Check size of int64_t
Check size of int64_t - failed
Check size of intmax_t
Check size of intmax_t - failed
Check size of uint8_t
Check size of uint8_t - failed
Check size of uint16_t
Check size of uint16_t - failed
Check size of uint32_t
Check size of uint32_t - failed
Check size of uint64_t
Check size of uint64_t - failed
Check size of uintmax_t
Check size of uintmax_t - failed
Check size of dev_t
Check size of dev_t - done
Check size of gid_t
Check size of gid_t - failed
Check size of id_t
Check size of id_t - failed
Check size of mode_t
Check size of mode_t - failed
Check size of off_t
Check size of off_t - done
Check size of size_t
Check size of size_t - done
Check size of ssize_t
Check size of ssize_t - failed
Check size of uid_t
Check size of uid_t - failed
Check size of pid_t
Check size of pid_t - failed
Check size of intptr_t
Check size of intptr_t - done
Check size of uintptr_t
Check size of uintptr_t - done
Check size of wchar_t
Check size of wchar_t - done
Checking _FILE_OFFSET_BITS for large files
Checking _FILE_OFFSET_BITS for large files - not needed
Looking for 24 include files sys/types.h, ..., attr/xattr.h
Looking for 24 include files sys/types.h, ..., attr/xattr.h - not found
Looking for 24 include files sys/types.h, ..., sys/xattr.h
Looking for 24 include files sys/types.h, ..., sys/xattr.h - not found
Looking for 24 include files sys/types.h, ..., sys/extattr.h
Looking for 24 include files sys/types.h, ..., sys/extattr.h - not found
Looking for setxattr in attr
Looking for setxattr in attr - not found
Looking for EXTATTR_NAMESPACE_USER
Looking for EXTATTR_NAMESPACE_USER - not found
Looking for extattr_get_file
Looking for extattr_get_file - not found
Looking for extattr_list_file
Looking for extattr_list_file - not found
Looking for extattr_set_fd
Looking for extattr_set_fd - not found
Looking for extattr_set_file
Looking for extattr_set_file - not found
Looking for fgetxattr
Looking for fgetxattr - not found
Looking for flistxattr
Looking for flistxattr - not found
Looking for fsetxattr
Looking for fsetxattr - not found
Looking for getxattr
Looking for getxattr - not found
Looking for lgetxattr
Looking for lgetxattr - not found
Looking for listxattr
Looking for listxattr - not found
Looking for llistxattr
Looking for llistxattr - not found
Looking for lsetxattr
Looking for lsetxattr - not found
Looking for fgetea
Looking for fgetea - not found
Looking for flistea
Looking for flistea - not found
Looking for fsetea
Looking for fsetea - not found
Looking for getea
Looking for getea - not found
Looking for lgetea
Looking for lgetea - not found
Looking for listea
Looking for listea - not found
Looking for llistea
Looking for llistea - not found
Looking for lsetea
Looking for lsetea - not found
Looking for acl_get_file in acl
Looking for acl_get_file in acl - not found
Looking for acl_create_entry
Looking for acl_create_entry - not found
Looking for acl_init
Looking for acl_init - not found
Looking for acl_set_fd
Looking for acl_set_fd - not found
Looking for acl_set_fd_np
Looking for acl_set_fd_np - not found
Looking for acl_set_file
Looking for acl_set_file - not found
Performing Test HAVE_ACL_PERMSET_T
Performing Test HAVE_ACL_PERMSET_T - Failed
Looking for acl_get_perm
Looking for acl_get_perm - not found
Looking for acl_get_perm_np
Looking for acl_get_perm_np - not found
Looking for acl_get_link
Looking for acl_get_link - not found
Looking for acl_get_link_np
Looking for acl_get_link_np - not found
Looking for acl_is_trivial_np
Looking for acl_is_trivial_np - not found
Looking for acl_set_link_np
Looking for acl_set_link_np - not found
Looking for ACL_USER
Looking for ACL_USER - not found
Checking support for ARCHIVE_CRYPTO_MD5_LIBC
Checking support for ARCHIVE_CRYPTO_MD5_LIBC -- not found
Checking support for ARCHIVE_CRYPTO_RMD160_LIBC
Checking support for ARCHIVE_CRYPTO_RMD160_LIBC -- not found
Checking support for ARCHIVE_CRYPTO_SHA1_LIBC
Checking support for ARCHIVE_CRYPTO_SHA1_LIBC -- not found
Checking support for ARCHIVE_CRYPTO_SHA256_LIBC
Checking support for ARCHIVE_CRYPTO_SHA256_LIBC -- not found
Checking support for ARCHIVE_CRYPTO_SHA384_LIBC
Checking support for ARCHIVE_CRYPTO_SHA384_LIBC -- not found
Checking support for ARCHIVE_CRYPTO_SHA512_LIBC
Checking support for ARCHIVE_CRYPTO_SHA512_LIBC -- not found
Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2
Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2 -- not found
Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2
Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2 -- not found
Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2
Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2 -- not found
Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3
Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3 -- not found
Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3
Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3 -- not found
Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3
Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3 -- not found
Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM
Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM -- not found
Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM
Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM -- not found
Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM
Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM -- not found
Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM
Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM -- not found
Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM
Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM -- not found
Checking support for ARCHIVE_CRYPTO_MD5_LIBMD
Checking support for ARCHIVE_CRYPTO_MD5_LIBMD -- not found
Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD
Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD -- not found
Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD
Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD -- not found
Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD
Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD -- not found
Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD
Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD -- not found
Checking support for ARCHIVE_CRYPTO_MD5_WIN
Checking support for ARCHIVE_CRYPTO_MD5_WIN -- found
Checking support for ARCHIVE_CRYPTO_SHA1_WIN
Checking support for ARCHIVE_CRYPTO_SHA1_WIN -- found
Checking support for ARCHIVE_CRYPTO_SHA256_WIN
Checking support for ARCHIVE_CRYPTO_SHA256_WIN -- not found
Checking support for ARCHIVE_CRYPTO_SHA384_WIN
Checking support for ARCHIVE_CRYPTO_SHA384_WIN -- not found
Checking support for ARCHIVE_CRYPTO_SHA512_WIN
Checking support for ARCHIVE_CRYPTO_SHA512_WIN -- not found
Generating Z:/libarchive-libarchive-93b6763/libarchive/test/list.h
Generating Z:/libarchive-libarchive-93b6763/cat/test/list.h
Generating Z:/libarchive-libarchive-93b6763/tar/test/list.h
Generating Z:/libarchive-libarchive-93b6763/cpio/test/list.h
Configuring done

@kientzle
Copy link
Contributor

I just pushed a fix for this:

10>.\archive_write_set_format_filter_by_ext.c(74) : error C2275: 'size_t' : illegal use of this type as an expression

The root problem here: Visual Studio 2008 does not support C99.

@kientzle
Copy link
Contributor

I added a local definition of BCRYPT_SUCCESS, which seems to be missing from VS2008.

@kientzle
Copy link
Contributor

These seem to be the remaining problems:

2>.\archive_hmac.c(92) : error C2065: 'BCRYPT_HASH_REUSABLE_FLAG' : undeclared identifier
10>.\archive_cryptor.c(65) : warning C4013: 'BCryptDeriveKeyPBKDF2' undefined; assuming extern returning int

@puhach
Copy link

puhach commented Jun 16, 2015

Can I get the compiled library somewhere as building it myself is a real pain?

@kientzle
Copy link
Contributor

The libarchive project does not distribute compiled versions.

There are people who do distributed compiled versions of libarchive, but I do not keep track of them.

@puhach
Copy link

puhach commented Jun 25, 2015

I was trying to define BCRYPT_HASH_REUSABLE_FLAG myself and STATUS_SUCCESS that is claimed to be undefined either. BCRYPT_SUCCESS is also needed in archive_hmac.c, so I duplicated the definition from archive_cryptor.h (must be a better solution). But can't do anything about BCryptDeriveKeyPBKDF2.

Is it maybe possible to exclude this BCrypt functionality somehow? I need only to extract archives (mainly .rar and .zip files), so probably that is not really needed in my case or am I wrong?

gperciva pushed a commit to Tarsnap/libarchive that referenced this issue Aug 30, 2015
gperciva pushed a commit to Tarsnap/libarchive that referenced this issue Aug 30, 2015
@kientzle
Copy link
Contributor

I believe this has been fixed in github master.

FYI: BCryptDeriveKeyPBKDF2() is only available with the Win7 SDK; I've (temporarily) changed the CMake default Windows platform to Win7 until we can find another way to provide that functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants