-
Notifications
You must be signed in to change notification settings - Fork 25
Description
/pngnq-1.1# ./configure/pngnq-1.1# make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... ^[[A^[[Ayes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
./configure: line 2676: -Wall: command not found
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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... no
checking valgrind/callgrind.h presence... no
checking for valgrind/callgrind.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) 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 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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating freegetopt/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
:
Making all in src
make[1]: Entering directory /root/pngnq-1.1/src' make all-am make[2]: Entering directory/root/pngnq-1.1/src'
gcc -DHAVE_CONFIG_H -I. libpng-config --I_opts -Wall --pedantic -std=gnu99 -g -O2 -MT pngnq.o -MD -MP -MF .deps/pngnq.Tpo -c -o pngnq.o pngnq.c
In file included from pngnq.c:99:0:
neuquant32.h:59:22: warning: ‘biasvalue’ declared ‘static’ but never defined [-Wunused-function]
static inline double biasvalue(unsigned int temp);
^
mv -f .deps/pngnq.Tpo .deps/pngnq.Po
gcc -DHAVE_CONFIG_H -I. libpng-config --I_opts -Wall --pedantic -std=gnu99 -g -O2 -MT neuquant32.o -MD -MP -MF .deps/neuquant32.Tpo -c -o neuquant32.o neuquant32.c
mv -f .deps/neuquant32.Tpo .deps/neuquant32.Po
gcc -DHAVE_CONFIG_H -I. libpng-config --I_opts -Wall --pedantic -std=gnu99 -g -O2 -MT rwpng.o -MD -MP -MF .deps/rwpng.Tpo -c -o rwpng.o rwpng.c
rwpng.c: In function ‘rwpng_read_image’:
rwpng.c:85:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(sig, 1, 8, infile);
^
mv -f .deps/rwpng.Tpo .deps/rwpng.Po
gcc libpng-config --I_opts -Wall --pedantic -std=gnu99 -g -O2 libpng-config --ldflags -lz -o pngnq pngnq.o neuquant32.o rwpng.o -lm -lz
pngnq.o: In function pngnq': /root/pngnq-1.1/src/pngnq.c:524: undefined reference topng_get_gAMA'
rwpng.o: In function rwpng_error_handler': /root/pngnq-1.1/src/rwpng.c:567: undefined reference topng_get_error_ptr'
rwpng.o: In function fprintf': /usr/include/x86_64-linux-gnu/bits/stdio2.h:97: undefined reference topng_libpng_ver'
rwpng.o: In function rwpng_read_image': /root/pngnq-1.1/src/rwpng.c:86: undefined reference topng_check_sig'
/root/pngnq-1.1/src/rwpng.c:92: undefined reference to png_create_read_struct' /root/pngnq-1.1/src/rwpng.c:100: undefined reference topng_create_info_struct'
/root/pngnq-1.1/src/rwpng.c:119: undefined reference to png_destroy_read_struct' /root/pngnq-1.1/src/rwpng.c:102: undefined reference topng_destroy_read_struct'
/root/pngnq-1.1/src/rwpng.c:125: undefined reference to png_init_io' /root/pngnq-1.1/src/rwpng.c:126: undefined reference topng_set_sig_bytes'
/root/pngnq-1.1/src/rwpng.c:128: undefined reference to png_read_info' /root/pngnq-1.1/src/rwpng.c:135: undefined reference topng_get_IHDR'
/root/pngnq-1.1/src/rwpng.c:153: undefined reference to png_set_filler' /root/pngnq-1.1/src/rwpng.c:164: undefined reference topng_get_valid'
/root/pngnq-1.1/src/rwpng.c:179: undefined reference to png_get_gAMA' /root/pngnq-1.1/src/rwpng.c:183: undefined reference topng_get_valid'
/root/pngnq-1.1/src/rwpng.c:195: undefined reference to png_read_update_info' /root/pngnq-1.1/src/rwpng.c:197: undefined reference topng_get_rowbytes'
/root/pngnq-1.1/src/rwpng.c:198: undefined reference to png_get_channels' /root/pngnq-1.1/src/rwpng.c:226: undefined reference topng_read_image'
/root/pngnq-1.1/src/rwpng.c:232: undefined reference to png_read_end' /root/pngnq-1.1/src/rwpng.c:237: undefined reference topng_get_text'
/root/pngnq-1.1/src/rwpng.c:248: undefined reference to png_destroy_read_struct' /root/pngnq-1.1/src/rwpng.c:186: undefined reference topng_get_bKGD'
/root/pngnq-1.1/src/rwpng.c:173: undefined reference to png_set_gray_to_rgb' /root/pngnq-1.1/src/rwpng.c:165: undefined reference topng_set_expand'
/root/pngnq-1.1/src/rwpng.c:163: undefined reference to png_set_expand' /root/pngnq-1.1/src/rwpng.c:169: undefined reference topng_set_strip_16'
/root/pngnq-1.1/src/rwpng.c:208: undefined reference to png_destroy_read_struct' /root/pngnq-1.1/src/rwpng.c:152: undefined reference topng_set_expand'
rwpng.o: In function rwpng_write_image_init': /root/pngnq-1.1/src/rwpng.c:273: undefined reference topng_create_write_struct'
/root/pngnq-1.1/src/rwpng.c:281: undefined reference to png_create_info_struct' /root/pngnq-1.1/src/rwpng.c:295: undefined reference topng_destroy_write_struct'
/root/pngnq-1.1/src/rwpng.c:283: undefined reference to png_destroy_write_struct' /root/pngnq-1.1/src/rwpng.c:303: undefined reference topng_init_io'
/root/pngnq-1.1/src/rwpng.c:313: undefined reference to png_set_compression_level' /root/pngnq-1.1/src/rwpng.c:326: undefined reference topng_set_IHDR'
/root/pngnq-1.1/src/rwpng.c:333: undefined reference to png_set_PLTE' /root/pngnq-1.1/src/rwpng.c:337: undefined reference topng_set_tRNS'
/root/pngnq-1.1/src/rwpng.c:341: undefined reference to png_set_gAMA' /root/pngnq-1.1/src/rwpng.c:399: undefined reference topng_set_text'
/root/pngnq-1.1/src/rwpng.c:406: undefined reference to png_write_info' /root/pngnq-1.1/src/rwpng.c:419: undefined reference topng_set_packing'
/root/pngnq-1.1/src/rwpng.c:355: undefined reference to png_convert_from_time_t' /root/pngnq-1.1/src/rwpng.c:356: undefined reference topng_set_tIME'
/root/pngnq-1.1/src/rwpng.c:350: undefined reference to png_set_bKGD' rwpng.o: In functionrwpng_write_image_whole':
/root/pngnq-1.1/src/rwpng.c:452: undefined reference to png_destroy_write_struct' /root/pngnq-1.1/src/rwpng.c:463: undefined reference topng_write_image'
/root/pngnq-1.1/src/rwpng.c:470: undefined reference to png_write_end' /root/pngnq-1.1/src/rwpng.c:472: undefined reference topng_destroy_write_struct'
rwpng.o: In function rwpng_write_image_row': /root/pngnq-1.1/src/rwpng.c:497: undefined reference topng_destroy_write_struct'
/root/pngnq-1.1/src/rwpng.c:507: undefined reference to png_write_row' rwpng.o: In functionrwpng_write_image_finish':
/root/pngnq-1.1/src/rwpng.c:530: undefined reference to png_destroy_write_struct' /root/pngnq-1.1/src/rwpng.c:540: undefined reference topng_write_end'
/root/pngnq-1.1/src/rwpng.c:542: undefined reference to png_destroy_write_struct' collect2: error: ld returned 1 exit status make[2]: *** [pngnq] Error 1 make[2]: Leaving directory/root/pngnq-1.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/pngnq-1.1/src'
make: *** [all-recursive] Error 1