PasteBin on this domain is being retired. Please use PasteBin on paste.adora.dk instead.

Pastebin

Paste #3:

< previous paste - next paste>

Pasted by tdn

Download View as text

(tdn@zeus.adora.dk) (Sat Jun 17 12:31 ) {P:0 H:584}
(~/tmp/pngtoico/pngtoico-1.0.1) ll
total 20
-rw-r--r--  1 tdn adm 1247 2006-02-24 16:23 Makefile
-rw-r--r--  1 tdn adm 1530 2002-01-01 23:46 pngtoico.1
-rw-r--r--  1 tdn adm 9190 2002-01-01 23:16 pngtoico.c
(tdn@zeus.adora.dk) (Sat Jun 17 12:31 ) {P:0 H:585}
(~/tmp/pngtoico/pngtoico-1.0.1) make
gcc -W -Wall -O2 -fomit-frame-pointer -s -o pngtoico pngtoico.c -lpng
pngtoico.c:31:17: png.h: No such file or directory
pngtoico.c: In function `read_png':
pngtoico.c:143: error: `png_structp' undeclared (first use in this function)
pngtoico.c:143: error: (Each undeclared identifier is reported only once
pngtoico.c:143: error: for each function it appears in.)
pngtoico.c:143: error: syntax error before "png_ptr"
pngtoico.c:144: error: `png_infop' undeclared (first use in this function)
pngtoico.c:145: error: `png_uint_32' undeclared (first use in this function)
pngtoico.c:147: error: `png_colorp' undeclared (first use in this function)
pngtoico.c:147: error: syntax error before "palette"
pngtoico.c:149: error: `png_bytep' undeclared (first use in this function)
pngtoico.c:149: error: syntax error before "trans"
pngtoico.c:172: error: `png_ptr' undeclared (first use in this function)
pngtoico.c:172: warning: implicit declaration of function `png_create_read_struct'
pngtoico.c:172: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
pngtoico.c:179: error: `info_ptr' undeclared (first use in this function)
pngtoico.c:179: warning: implicit declaration of function `png_create_info_struct'
pngtoico.c:185: error: `end_info' undeclared (first use in this function)
pngtoico.c:191: warning: implicit declaration of function `setjmp'
pngtoico.c:196: warning: implicit declaration of function `png_init_io'
pngtoico.c:197: warning: implicit declaration of function `png_read_info'
pngtoico.c:200: warning: implicit declaration of function `png_get_IHDR'
pngtoico.c:200: error: `width' undeclared (first use in this function)
pngtoico.c:200: error: `height' undeclared (first use in this function)
pngtoico.c:208: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function)
pngtoico.c:218: warning: implicit declaration of function `png_get_PLTE'
pngtoico.c:218: error: `palette' undeclared (first use in this function)
pngtoico.c:222: warning: implicit declaration of function `png_get_tRNS'
pngtoico.c:222: error: `trans' undeclared (first use in this function)
pngtoico.c:228: warning: implicit declaration of function `png_set_packing'
pngtoico.c:231: warning: implicit declaration of function `png_read_update_info'
pngtoico.c:238: warning: implicit declaration of function `png_read_image'
pngtoico.c:322: warning: implicit declaration of function `png_destroy_read_struct'
make: *** [pngtoico] Error 1
(tdn@zeus.adora.dk) (Sat Jun 17 12:31 ) {P:0 H:586}
(~/tmp/pngtoico/pngtoico-1.0.1)

Paste below


Do not write anything in this field if you're a human.

Go to most recent paste.