ar rcs libpng.a png.o pngerror.o pngget.o pngmem.o pngpread.o pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o : libpng.a make[2]: Leaving directory '/root/.cpanm/work/1688142289.10679/Tk-804.036/PNG/libpng' make[2]: Entering directory '/root/.cpanm/work/1688142289.10679/Tk-804.036/PNG/libpng' x86_64-linux-gnu-gcc -fPIC -c -Wall -O2 -I../zlib pngtest.c x86_64-linux-gnu-gcc -s -L../zlib -o pngtest pngtest.o libpng.a -lz -lm /usr/bin/ld: libpng.a(pngread.o): in function `png_read_row': pngread.c:(.text+0x10fd): undefined reference to `png_combine_row' /usr/bin/ld: pngread.c:(.text+0x1121): undefined reference to `png_combine_row' /usr/bin/ld: pngread.c:(.text+0x11d6): undefined reference to `png_combine_row' /usr/bin/ld: pngread.c:(.text+0x11f0): undefined reference to `png_combine_row' /usr/bin/ld: pngread.c:(.text+0x122a): undefined reference to `png_read_filter_row' /usr/bin/ld: pngread.c:(.text+0x1292): undefined reference to `png_do_read_interlace' /usr/bin/ld: pngread.c:(.text+0x12e0): undefined reference to `png_combine_row' /usr/bin/ld: pngread.c:(.text+0x1337): undefined reference to `png_combine_row' /usr/bin/ld: pngread.c:(.text+0x136a): undefined reference to `png_combine_row' /usr/bin/ld: pngread.c:(.text+0x13a0): undefined reference to `png_combine_row' /usr/bin/ld: pngread.c:(.text+0x13de): undefined reference to `png_combine_row' /usr/bin/ld: libpng.a(pngread.o):pngread.c:(.text+0x1416): more undefined references to `png_combine_row' follow /usr/bin/ld: libpng.a(png.o): in function `png_init_mmx_flags': png.c:(.text+0xb33): undefined reference to `png_mmx_support' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:58: pngtest] Error 1 make[2]: Leaving directory '/root/.cpanm/work/1688142289.10679/Tk-804.036/PNG/libpng' make[1]: *** [Makefile:519: subdirs] Error 2 make[1]: Leaving directory '/root/.cpanm/work/1688142289.10679/Tk-804.036/PNG' make: *** [Makefile:769: subdirs] Error 2 -> FAIL Installing Tk failed. #### #define PDL_KLUDGE_COPY_X(X, datatype_out, ctype_out, ppsym_out, ...) \