./configure: line 2839: -Wall: command not found s9 Fetching README... 0%100%100%100%100%100%Done Fetching pngnq-s9.SlackBuild... 0%100%100%100%100%100%Done Fetching pngnq-s9.info... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done pngnq-s9-2.0.2/ pngnq-s9-2.0.2/missing pngnq-s9-2.0.2/ChangeLog pngnq-s9-2.0.2/pngnq-s9.1 pngnq-s9-2.0.2/configure pngnq-s9-2.0.2/Makefile.am pngnq-s9-2.0.2/configure.ac pngnq-s9-2.0.2/COPYING pngnq-s9-2.0.2/INSTALL pngnq-s9-2.0.2/compile pngnq-s9-2.0.2/AUTHORS pngnq-s9-2.0.2/depcomp pngnq-s9-2.0.2/Makefile.in pngnq-s9-2.0.2/src/ pngnq-s9-2.0.2/src/colorspace.c pngnq-s9-2.0.2/src/errors.h pngnq-s9-2.0.2/src/pngnq.c pngnq-s9-2.0.2/src/pngnqhelp.h pngnq-s9-2.0.2/src/nqcvector.h pngnq-s9-2.0.2/src/Makefile.am pngnq-s9-2.0.2/src/config.h.in pngnq-s9-2.0.2/src/pngcomp.c pngnq-s9-2.0.2/src/neuquant32.h pngnq-s9-2.0.2/src/rwpng.h pngnq-s9-2.0.2/src/rwpng.c pngnq-s9-2.0.2/src/Makefile.in pngnq-s9-2.0.2/src/neuquant32.c pngnq-s9-2.0.2/src/colorspace.h pngnq-s9-2.0.2/aclocal.m4 pngnq-s9-2.0.2/README pngnq-s9-2.0.2/install-sh checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for libpng-config... 1 checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking valgrind/callgrind.h usability... yes checking valgrind/callgrind.h presence... yes checking for valgrind/callgrind.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for stdlib.h... (cached) yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for library containing zlibVersion... -lz checking for library containing sqrt... -lm checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PNG... yes checking for getopt... yes checking for floor... yes checking for memmove... yes checking for memset... yes checking for pow... yes checking for sqrt... yes checking for strchr... yes checking for strrchr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands Making all in src make[1]: Entering directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2/src' make all-am make[2]: Entering directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2/src' gcc -DHAVE_CONFIG_H -I. `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -march=i586 -mtune=i686 -MT pngnq.o -MD -MP -MF .deps/pngnq.Tpo -c -o pngnq.o pngnq.c In file included from pngnq.c:155: neuquant32.h:153:21: warning: ‘biasvalue’ declared ‘static’ but never defined [-Wunused-function] 153 | static inline float biasvalue(unsigned int temp); | ^~~~~~~~~ pngnq.c: In function ‘createoutname’: pngnq.c:660:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 660 | strncpy(outname,newdir,dir_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngnq.c:642:19: note: length computed here 642 | dir_len = strlen(newdir); | ^~~~~~~~~~~~~~ mv -f .deps/pngnq.Tpo .deps/pngnq.Po gcc -DHAVE_CONFIG_H -I. `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -march=i586 -mtune=i686 -MT neuquant32.o -MD -MP -MF .deps/neuquant32.Tpo -c -o neuquant32.o neuquant32.c In file included from neuquant32.c:155: neuquant32.c: In function ‘palinitnet’: nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:501:26: note: in expansion of macro ‘vec_mul’ 501 | disaster_threshold = vec_mul(sensitivity, | ^~~~~~~ neuquant32.c: In function ‘toYUV’: nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ nqcvector.h:240:41: note: in definition of macro ‘sum_com’ 240 | #define sum_com(A) (seq_sum_com((A))) | ^ neuquant32.c:632:29: note: in expansion of macro ‘vec_mul’ 632 | ret.elems[yy] = sum_com(vec_mul(to_y_factors,pix)); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ nqcvector.h:240:41: note: in definition of macro ‘sum_com’ 240 | #define sum_com(A) (seq_sum_com((A))) | ^ neuquant32.c:633:29: note: in expansion of macro ‘vec_mul’ 633 | ret.elems[uu] = sum_com(vec_mul(to_u_factors,pix)); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ nqcvector.h:240:41: note: in definition of macro ‘sum_com’ 240 | #define sum_com(A) (seq_sum_com((A))) | ^ neuquant32.c:634:29: note: in expansion of macro ‘vec_mul’ 634 | ret.elems[vv] = sum_com(vec_mul(to_v_factors,pix)); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:644:11: note: in expansion of macro ‘vec_mul’ 644 | ret = vec_mul(to_yuv_scale, ret); | ^~~~~~~ neuquant32.c: In function ‘fromYUV’: nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:659:20: note: in expansion of macro ‘vec_mul’ 659 | intermediate = vec_mul(from_yuv_unscale, pix); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ nqcvector.h:240:41: note: in definition of macro ‘sum_com’ 240 | #define sum_com(A) (seq_sum_com((A))) | ^ neuquant32.c:668:30: note: in expansion of macro ‘vec_mul’ 668 | ret.elems[red] = sum_com(vec_mul(to_r_factors,intermediate)); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ nqcvector.h:240:41: note: in definition of macro ‘sum_com’ 240 | #define sum_com(A) (seq_sum_com((A))) | ^ neuquant32.c:669:32: note: in expansion of macro ‘vec_mul’ 669 | ret.elems[green] = sum_com(vec_mul(to_g_factors, intermediate)); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ nqcvector.h:240:41: note: in definition of macro ‘sum_com’ 240 | #define sum_com(A) (seq_sum_com((A))) | ^ neuquant32.c:670:31: note: in expansion of macro ‘vec_mul’ 670 | ret.elems[blue] = sum_com(vec_mul(to_b_factors, intermediate)); | ^~~~~~~ neuquant32.c: In function ‘desensitise’: nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:786:11: note: in expansion of macro ‘vec_mul’ 786 | pix = vec_mul(pix, sensitivity); | ^~~~~~~ neuquant32.c: In function ‘resensitise’: nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:796:11: note: in expansion of macro ‘vec_mul’ 796 | pix = vec_mul(pix, reciprocal_sensitivity); | ^~~~~~~ neuquant32.c: In function ‘inxsearch’: nqcvector.h:237:28: warning: ISO C forbids casts to union type [-Wpedantic] 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ nqcvector.h:236:58: note: in definition of macro ‘vec_mul’ 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:1077:49: note: in expansion of macro ‘vec_sub’ 1077 | diffs[vdx] = vec_mul(context_weighting, vec_sub(network[vdx], intermediate)); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:1077:22: note: in expansion of macro ‘vec_mul’ 1077 | diffs[vdx] = vec_mul(context_weighting, vec_sub(network[vdx], intermediate)); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ nqcvector.h:240:41: note: in definition of macro ‘sum_com’ 240 | #define sum_com(A) (seq_sum_com((A))) | ^ neuquant32.c:1078:30: note: in expansion of macro ‘vec_mul’ 1078 | dists[vdx] = sum_com(vec_mul(diffs[vdx], diffs[vdx])); | ^~~~~~~ neuquant32.c: In function ‘contest’: nqcvector.h:237:28: warning: ISO C forbids casts to union type [-Wpedantic] 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ nqcvector.h:236:58: note: in definition of macro ‘vec_mul’ 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:1169:30: note: in expansion of macro ‘vec_sub’ 1169 | vec_sub(network[vdx], target_pix)); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:1168:22: note: in expansion of macro ‘vec_mul’ 1168 | diffs[vdx] = vec_mul(context_weighting, | ^~~~~~~ neuquant32.c: In function ‘repelcoincident’: nqcvector.h:237:28: warning: ISO C forbids casts to union type [-Wpedantic] 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ nqcvector.h:236:58: note: in definition of macro ‘vec_mul’ 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:1287:49: note: in expansion of macro ‘vec_sub’ 1287 | diffs[vdx] = vec_mul(context_weighting, vec_sub(network[vdx], network[i])); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:1287:22: note: in expansion of macro ‘vec_mul’ 1287 | diffs[vdx] = vec_mul(context_weighting, vec_sub(network[vdx], network[i])); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:1313:17: note: in expansion of macro ‘vec_mul’ 1313 | vec_mul(context_weighting, | ^~~~~~~ nqcvector.h:235:28: warning: ISO C forbids casts to union type [-Wpedantic] 235 | #define vec_add(A,B) ((nq_colour_vector)((A).vec + (B).vec)) | ^ neuquant32.c:1320:26: note: in expansion of macro ‘vec_add’ 1320 | network[j] = vec_add(network[j], repel_vec); | ^~~~~~~ neuquant32.c: In function ‘altersingle’: nqcvector.h:237:28: warning: ISO C forbids casts to union type [-Wpedantic] 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ nqcvector.h:236:58: note: in definition of macro ‘vec_mul’ 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:1342:56: note: in expansion of macro ‘vec_sub’ 1342 | nq_colour_vector diff = vec_mul(context_weighting, vec_sub(network[i], target_vec)); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ neuquant32.c:1342:29: note: in expansion of macro ‘vec_mul’ 1342 | nq_colour_vector diff = vec_mul(context_weighting, vec_sub(network[i], target_vec)); | ^~~~~~~ nqcvector.h:237:28: warning: ISO C forbids casts to union type [-Wpedantic] 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ neuquant32.c:1359:18: note: in expansion of macro ‘vec_sub’ 1359 | network[i] = vec_sub(network[i], sca_mul(learning_factor, diff)); | ^~~~~~~ neuquant32.c: In function ‘alterneigh’: nqcvector.h:237:28: warning: ISO C forbids casts to union type [-Wpedantic] 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ neuquant32.c:1393:30: note: in expansion of macro ‘vec_sub’ 1393 | network[j] = vec_sub(network[j], sca_mul(learning_rate, | ^~~~~~~ neuquant32.c:1393:50: note: in expansion of macro ‘sca_mul’ 1393 | network[j] = vec_sub(network[j], sca_mul(learning_rate, | ^~~~~~~ neuquant32.c:1394:21: note: in expansion of macro ‘vec_mul’ 1394 | vec_mul(context_weighting, vec_sub(network[j], target_colour)))); | ^~~~~~~ neuquant32.c:1394:48: note: in expansion of macro ‘vec_sub’ 1394 | vec_mul(context_weighting, vec_sub(network[j], target_colour)))); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ nqcvector.h:237:58: note: in definition of macro ‘vec_sub’ 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ neuquant32.c:1393:50: note: in expansion of macro ‘sca_mul’ 1393 | network[j] = vec_sub(network[j], sca_mul(learning_rate, | ^~~~~~~ neuquant32.c:1394:21: note: in expansion of macro ‘vec_mul’ 1394 | vec_mul(context_weighting, vec_sub(network[j], target_colour)))); | ^~~~~~~ nqcvector.h:237:28: warning: ISO C forbids casts to union type [-Wpedantic] 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ neuquant32.c:1393:30: note: in expansion of macro ‘vec_sub’ 1393 | network[j] = vec_sub(network[j], sca_mul(learning_rate, | ^~~~~~~ nqcvector.h:237:28: warning: ISO C forbids casts to union type [-Wpedantic] 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ neuquant32.c:1400:30: note: in expansion of macro ‘vec_sub’ 1400 | network[k] = vec_sub(network[k], sca_mul(learning_rate, | ^~~~~~~ neuquant32.c:1400:50: note: in expansion of macro ‘sca_mul’ 1400 | network[k] = vec_sub(network[k], sca_mul(learning_rate, | ^~~~~~~ neuquant32.c:1401:21: note: in expansion of macro ‘vec_mul’ 1401 | vec_mul(context_weighting, vec_sub(network[k], target_colour)))); | ^~~~~~~ neuquant32.c:1401:48: note: in expansion of macro ‘vec_sub’ 1401 | vec_mul(context_weighting, vec_sub(network[k], target_colour)))); | ^~~~~~~ nqcvector.h:236:28: warning: ISO C forbids casts to union type [-Wpedantic] 236 | #define vec_mul(A,B) ((nq_colour_vector)((A).vec * (B).vec)) | ^ nqcvector.h:237:58: note: in definition of macro ‘vec_sub’ 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ neuquant32.c:1400:50: note: in expansion of macro ‘sca_mul’ 1400 | network[k] = vec_sub(network[k], sca_mul(learning_rate, | ^~~~~~~ neuquant32.c:1401:21: note: in expansion of macro ‘vec_mul’ 1401 | vec_mul(context_weighting, vec_sub(network[k], target_colour)))); | ^~~~~~~ nqcvector.h:237:28: warning: ISO C forbids casts to union type [-Wpedantic] 237 | #define vec_sub(A,B) ((nq_colour_vector)((A).vec - (B).vec)) | ^ neuquant32.c:1400:30: note: in expansion of macro ‘vec_sub’ 1400 | network[k] = vec_sub(network[k], sca_mul(learning_rate, | ^~~~~~~ In file included from neuquant32.c:154: neuquant32.c: At top level: neuquant32.h:153:21: warning: ‘biasvalue’ declared ‘static’ but never defined [-Wunused-function] 153 | static inline float biasvalue(unsigned int temp); | ^~~~~~~~~ neuquant32.c: In function ‘toYUV’: neuquant32.c:623:18: note: the ABI for passing parameters with 16-byte alignment has changed in GCC 4.6 623 | nq_colour_vector toYUV(nq_colour_vector pix) { | ^~~~~ mv -f .deps/neuquant32.Tpo .deps/neuquant32.Po gcc -DHAVE_CONFIG_H -I. `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -march=i586 -mtune=i686 -MT rwpng.o -MD -MP -MF .deps/rwpng.Tpo -c -o rwpng.o rwpng.c rwpng.c: In function ‘rwpng_read_image’: rwpng.c:132:37: warning: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type [-Wincompatible-pointer-types] 132 | png_get_IHDR(png_ptr, info_ptr, &mainprog_ptr->width, &mainprog_ptr->height, | ^~~~~~~~~~~~~~~~~~~~ | | | ulg * {aka long unsigned int *} In file included from /usr/include/libpng16/png.h:335, from rwpng.c:35: /usr/include/libpng16/png.h:2016:45: note: expected ‘png_uint_32 *’ {aka ‘unsigned int *’} but argument is of type ‘ulg *’ {aka ‘long unsigned int *’} 2016 | png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, | ~~~~~~~~~~~~~^~~~~ /usr/include/libpng16/pngconf.h:287:75: note: in definition of macro ‘PNG_FUNCTION’ 287 | # define PNG_FUNCTION(type, name, args, attributes) attributes type name args | ^~~~ /usr/include/libpng16/pngconf.h:301:58: note: in expansion of macro ‘PNGARG’ 301 | PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), PNGARG(args), \ | ^~~~~~ /usr/include/libpng16/pngconf.h:311:4: note: in expansion of macro ‘PNG_EXPORTA’ 311 | PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) | ^~~~~~~~~~~ /usr/include/libpng16/png.h:2015:1: note: in expansion of macro ‘PNG_EXPORT’ 2015 | PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr, | ^~~~~~~~~~ rwpng.c:132:59: warning: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type [-Wincompatible-pointer-types] 132 | png_get_IHDR(png_ptr, info_ptr, &mainprog_ptr->width, &mainprog_ptr->height, | ^~~~~~~~~~~~~~~~~~~~~ | | | ulg * {aka long unsigned int *} In file included from /usr/include/libpng16/png.h:335, from rwpng.c:35: /usr/include/libpng16/png.h:2016:65: note: expected ‘png_uint_32 *’ {aka ‘unsigned int *’} but argument is of type ‘ulg *’ {aka ‘long unsigned int *’} 2016 | png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, | ~~~~~~~~~~~~~^~~~~~ /usr/include/libpng16/pngconf.h:287:75: note: in definition of macro ‘PNG_FUNCTION’ 287 | # define PNG_FUNCTION(type, name, args, attributes) attributes type name args | ^~~~ /usr/include/libpng16/pngconf.h:301:58: note: in expansion of macro ‘PNGARG’ 301 | PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), PNGARG(args), \ | ^~~~~~ /usr/include/libpng16/pngconf.h:311:4: note: in expansion of macro ‘PNG_EXPORTA’ 311 | PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) | ^~~~~~~~~~~ /usr/include/libpng16/png.h:2015:1: note: in expansion of macro ‘PNG_EXPORT’ 2015 | PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr, | ^~~~~~~~~~ rwpng.c:239:13: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] 239 | if(!strncmp("author",comments[c].key,6)){ | ^~~~~~~ rwpng.c:38:1: note: include ‘’ or provide a declaration of ‘strncmp’ 37 | #include "rwpng.h" /* typedefs, common macros, public prototypes */ +++ |+#include 38 | rwpng.c:239:46: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 239 | if(!strncmp("author",comments[c].key,6)){ | ^ : note: built-in ‘strncmp’ declared here mv -f .deps/rwpng.Tpo .deps/rwpng.Po gcc `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -march=i586 -mtune=i686 `libpng-config --ldflags` -lpng -lz -o pngnq-s9 pngnq.o neuquant32.o rwpng.o -lpng -lm -lz gcc -DHAVE_CONFIG_H -I. `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -march=i586 -mtune=i686 -MT pngcomp.o -MD -MP -MF .deps/pngcomp.Tpo -c -o pngcomp.o pngcomp.c pngcomp.c: In function ‘main’: pngcomp.c:118:10: warning: variable ‘block_err_image’ set but not used [-Wunused-but-set-variable] 118 | float* block_err_image = NULL; | ^~~~~~~~~~~~~~~ pngcomp.c:108:7: warning: variable ‘verbose’ set but not used [-Wunused-but-set-variable] 108 | int verbose = 0; | ^~~~~~~ In file included from pngcomp.c:59: At top level: colorspace.h:25:18: warning: ‘d00’ defined but not used [-Wunused-variable] 25 | static color_XYZ d00 = {0.0, 0.0, 0.0}; | ^~~ colorspace.h:24:18: warning: ‘d65’ defined but not used [-Wunused-variable] 24 | static color_XYZ d65 = {0.94810,1.0000,1.07305}; | ^~~ mv -f .deps/pngcomp.Tpo .deps/pngcomp.Po gcc -DHAVE_CONFIG_H -I. `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -march=i586 -mtune=i686 -MT colorspace.o -MD -MP -MF .deps/colorspace.Tpo -c -o colorspace.o colorspace.c In file included from colorspace.c:7: colorspace.h:25:18: warning: ‘d00’ defined but not used [-Wunused-variable] 25 | static color_XYZ d00 = {0.0, 0.0, 0.0}; | ^~~ mv -f .deps/colorspace.Tpo .deps/colorspace.Po gcc `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -march=i586 -mtune=i686 `libpng-config --ldflags` -lpng -lz -o pngcomp pngcomp.o rwpng.o colorspace.o -lpng -lm -lz make[2]: Leaving directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2/src' make[1]: Leaving directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2/src' make[1]: Entering directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2' Making install in src make[1]: Entering directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2/src' make[2]: Entering directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2/src' /usr/bin/mkdir -p '/usr/src/slapt-src/multimedia/pngnq-s9/package-pngnq-s9/usr/bin' /usr/bin/ginstall -c pngnq-s9 pngcomp '/usr/src/slapt-src/multimedia/pngnq-s9/package-pngnq-s9/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2/src' make[1]: Leaving directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2/src' make[1]: Entering directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2' make[2]: Entering directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/slapt-src/multimedia/pngnq-s9/package-pngnq-s9/usr/man/man1' /usr/bin/ginstall -c -m 644 pngnq-s9.1 '/usr/src/slapt-src/multimedia/pngnq-s9/package-pngnq-s9/usr/man/man1' make[2]: Leaving directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2' make[1]: Leaving directory '/usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2' Slackware package maker, version 3.14159265. Searching for symbolic links: usr/bin/pngnq pngnq-s9 Making symbolic link creation script: ( cd usr/bin ; rm -rf pngnq ) ( cd usr/bin ; ln -sf pngnq-s9 pngnq ) It is recommended that you make these lines your new installation script. Would you like to make this stuff the install script for this package and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/bin/pngnq' Creating your new ./install/doinst.sh... This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2-i586-1salix15.0.txz ./ install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/pngcomp usr/bin/pngnq-s9 usr/doc/ usr/doc/pngnq-s9-2.0.2/ usr/doc/pngnq-s9-2.0.2/AUTHORS usr/doc/pngnq-s9-2.0.2/COPYING usr/doc/pngnq-s9-2.0.2/INSTALL usr/doc/pngnq-s9-2.0.2/README usr/doc/pngnq-s9-2.0.2/pngnq-s9.SlackBuild usr/man/ usr/man/man1/ usr/man/man1/pngnq-s9.1.gz Slackware package /usr/src/slapt-src/multimedia/pngnq-s9/pngnq-s9-2.0.2-i586-1salix15.0.txz created. Installing package pngnq-s9-2.0.2-i586-1salix15.0... | pngnq-s9 (PNG Image Converter) | | pngnq-s9 is a modified version of pngnq, the neural network colour | quantizer for png images. | | pngnq-s9 adds several new options to pngnq including the ability to | augment a user-supplied palette, the ability to quantize in the YUV | colour space, and the ability to give more or less weight to specific | colour components when quantizing. | | Homepage: https://sourceforge.net/projects/pngnqs9/ | |