splashutils - nelze zkompilovat

Pavel Novák lists na innuendo.cz
Sobota Prosinec 18 18:06:34 CET 2004


Zdravicko,
snazim se na debianu zkompilovat splashutils, protoze balicky bohuzel 
neexistuji, z http://dev.gentoo.org/~spock/projects/gensplash/current/ 
jsem si stahl aktualni verzi splashutils-0.9-pre10.tar.bz2, bohuzel 
spadne to na chybe, ktere vubec nerozumim:

make
   CC      kernel/splash_kernel.o
   CC      kernel/splash_dev.o
   CC      kernel/splash_parse.o
   CC      kernel/splash_render.o
   CC      kernel/splash_unpack.o
   CC      kernel/splash_cmd.o
   CC      kernel/splash_common.o
   LD      splash_helper
   CC      splash.o
   CC      splash_parse.o
   CC      splash_render.o
   CC      splash_unpack.o
splash_unpack.c:25:19: png.h: není souborem ani adresářem
splash_unpack.c:32:23: jpeglib.h: není souborem ani adresářem
splash_unpack.c: In function `load_png':
splash_unpack.c:107: error: `png_structp' undeclared (first use in this 
function)
splash_unpack.c:107: error: (Each undeclared identifier is reported only 
once
splash_unpack.c:107: error: for each function it appears in.)
splash_unpack.c:107: error: parse error before "png_ptr"
splash_unpack.c:108: error: `png_infop' undeclared (first use in this 
function)
splash_unpack.c:109: error: `png_bytep' undeclared (first use in this 
function)
splash_unpack.c:110: error: `png_colorp' undeclared (first use in this 
function)
splash_unpack.c:127: error: `png_ptr' undeclared (first use in this 
function)
splash_unpack.c:127: warning: implicit declaration of function 
`png_create_read_struct'
splash_unpack.c:127: error: `PNG_LIBPNG_VER_STRING' undeclared (first 
use in this function)
splash_unpack.c:128: error: `info_ptr' undeclared (first use in this 
function)
splash_unpack.c:128: warning: implicit declaration of function 
`png_create_info_struct'
splash_unpack.c:130: warning: implicit declaration of function `setjmp'
splash_unpack.c:130: warning: implicit declaration of function `png_jmpbuf'
splash_unpack.c:134: warning: implicit declaration of function `png_init_io'
splash_unpack.c:135: warning: implicit declaration of function 
`png_read_info'
splash_unpack.c:137: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first 
use in this function)
splash_unpack.c:141: warning: implicit declaration of function 
`png_set_strip_16'
splash_unpack.c:143: error: `PNG_COLOR_MASK_ALPHA' undeclared (first use 
in this function)
splash_unpack.c:144: warning: implicit declaration of function 
`png_set_strip_alpha'
splash_unpack.c:146: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use 
in this function)
splash_unpack.c:147: error: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared 
(first use in this function)
splash_unpack.c:148: warning: implicit declaration of function 
`png_set_gray_to_rgb'
splash_unpack.c:151: warning: implicit declaration of function 
`png_get_PLTE'
splash_unpack.c:151: error: `palette' undeclared (first use in this 
function)
splash_unpack.c:159: warning: implicit declaration of function 
`png_get_rowbytes'
splash_unpack.c:197: error: `row_pointer' undeclared (first use in this 
function)
splash_unpack.c:202: warning: implicit declaration of function 
`png_read_row'
splash_unpack.c: In function `decompress_jpeg':
splash_unpack.c:236: error: storage size of `cinfo' isn't known
splash_unpack.c:237: error: storage size of `jerr' isn't known
splash_unpack.c:243: warning: implicit declaration of function 
`jpeg_std_error'
splash_unpack.c:244: warning: implicit declaration of function 
`jpeg_create_decompress'
splash_unpack.c:251: warning: implicit declaration of function 
`jpeg_stdio_src'
splash_unpack.c:252: warning: implicit declaration of function 
`jpeg_read_header'
splash_unpack.c:252: error: `TRUE' undeclared (first use in this function)
splash_unpack.c:253: warning: implicit declaration of function 
`jpeg_start_decompress'
splash_unpack.c:261: warning: implicit declaration of function 
`jpeg_read_scanlines'
splash_unpack.c:261: error: `JSAMPARRAY' undeclared (first use in this 
function)
splash_unpack.c:265: warning: implicit declaration of function 
`jpeg_finish_decompress'
splash_unpack.c:266: warning: implicit declaration of function 
`jpeg_destroy_decompress'
splash_unpack.c:236: warning: unused variable `cinfo'
splash_unpack.c:237: warning: unused variable `jerr'
splash_unpack.c: In function `is_png':
splash_unpack.c:285: warning: implicit declaration of function `png_sig_cmp'
make: *** [splash_unpack.o] Error 1



-- 
Pavel Novak


Další informace o konferenci Linux