Skip to content

PHP8.1 Compilation issues #28

Closed
Closed
@AnrDaemon

Description

@AnrDaemon

See logs https://windows.php.net/downloads/pecl/releases/zip/1.20.0/logs/
Link stage fails with a bunch of errors.

   Creating library C:\php-snap-build\obj\8.1-ts-windows-vs16-x64\Release_TS\php_zip.lib and object C:\php-snap-build\obj\8.1-ts-windows-vs16-x64\Release_TS\php_zip.exp
libzip_a.lib(zip_algorithm_xz.obj) : error LNK2019: unresolved external symbol lzma_code referenced in function process
libzip_a.lib(zip_algorithm_xz.obj) : error LNK2019: unresolved external symbol lzma_end referenced in function end
libzip_a.lib(zip_algorithm_xz.obj) : error LNK2019: unresolved external symbol lzma_lzma_preset referenced in function start
libzip_a.lib(zip_algorithm_xz.obj) : error LNK2019: unresolved external symbol lzma_stream_encoder referenced in function start
libzip_a.lib(zip_algorithm_xz.obj) : error LNK2019: unresolved external symbol lzma_alone_encoder referenced in function start
libzip_a.lib(zip_algorithm_xz.obj) : error LNK2019: unresolved external symbol lzma_stream_decoder referenced in function start
libzip_a.lib(zip_algorithm_xz.obj) : error LNK2019: unresolved external symbol lzma_alone_decoder referenced in function start
C:\php-snap-build\obj\8.1-ts-windows-vs16-x64\Release_TS\php_zip.dll : fatal error LNK1120: 7 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe"' : return code '0x460'
Stop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions