[mingw64] [libpng16] Make fails while linking libpng16
Building for 64-bit Windows 10 I get the following, first time ever receiving an error while using MAS to build FFmpeg.
``` bash
Warning: We will not accept any issues lacking any form of logs or logs.zip!
Starting 64bit compilation of all tools
Imported options from ffmpeg_options.txt
License: nonfree
Imported options from mpv_options.txt
Starting 64bit compilation of global tools
zlib git ................................................ [Already built]
dssim git ............................................... [Already built]
Running git update for ffmpeg ...
┌ ffmpeg git ............................................ [Updates found]
├ Running uninstall...
├ Running configure...
├ Running make...
├ Running install...
gifski git .............................................. [Already built]
libxml2 git ............................................. [Already built]
Running git update for libpng ...
┌ libpng git ......................................... [Recently updated]
├ Running autoupdate...
├ Running configure...
├ Running make...
Likely error (tail of the failed operation logfile):
C:/media-autobuild_suite-master/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libpng16.a(pngwrite.o):pngwrite.c:(.text+0x1bd8): undefined reference to `Cr_z_deflateEnd'
C:/media-autobuild_suite-master/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libpng16.a(pngwutil.o):pngwutil.c:(.text+0x2aa): undefined reference to `Cr_z_deflateInit2_'
C:/media-autobuild_suite-master/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libpng16.a(pngwutil.o):pngwutil.c:(.text+0x31b): undefined reference to `Cr_z_deflateEnd'
C:/media-autobuild_suite-master/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libpng16.a(pngwutil.o):pngwutil.c:(.text+0x38c): undefined reference to `Cr_z_deflateReset'
C:/media-autobuild_suite-master/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libpng16.a(pngwutil.o):pngwutil.c:(.text+0x655): undefined reference to `Cr_z_deflate'
C:/media-autobuild_suite-master/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libpng16.a(pngwutil.o):pngwutil.c:(.text+0x1095): undefined reference to `Cr_z_deflate'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:1181: pngfix.exe] Error 1
make[1]: Leaving directory '/build/libpng-git/build-64bit'
make: *** [Makefile:941: all] Error 2
make failed. Check C:/media-autobuild_suite-master/build/libpng-git/build-64bit/ab-suite.make.log
This is required for other packages, so this script will exit.
Creating diagnostics file...
Attach C:\media-autobuild_suite-master\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.
Try running the build again at a later time.
```
[logs.zip](https://github.com/user-attachments/files/27328402/logs.zip)
0 条评论