Member
Iscritto dal: Apr 2014
Messaggi: 50
|
problema canon mx410 su sabayon
salve, sto tentando di installare sta stampante ma niente. Su ubuntu e fedora subito feci qui ho installato cups, gutenprint e sto cercando di installare i driver canon ma niente. Ho scompattato l'archivio tar.gz della canon ma quando eseguo make dopo autogen.sh mi dà una serie di errori
Codice:
make all-recursive
make[1]: ingresso nella directory "/home/birkhoff92/Downloads/driver canon 410 mx/cnijfilter-source-3.50-1/cnijfilter"
Making all in src
make[2]: ingresso nella directory "/home/birkhoff92/Downloads/driver canon 410 mx/cnijfilter-source-3.50-1/cnijfilter/src"
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc -O2 -MT bjfilter.o -MD -MP -MF .deps/bjfilter.Tpo -c -o bjfilter.o bjfilter.c
mv -f .deps/bjfilter.Tpo .deps/bjfilter.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc -O2 -MT bjfimage.o -MD -MP -MF .deps/bjfimage.Tpo -c -o bjfimage.o bjfimage.c
bjfimage.c: In function ‘bjf_image_open’:
bjfimage.c:101:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
bjfimage.c: In function ‘tiff_image_read_raster’:
bjfimage.c:567:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy( (char *)buf, (char *)localbuf + ( bpp * x ), (width * bpp) );
^
bjfimage.c: In function ‘bmp_image_init’:
bjfimage.c:649:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
bjfimage.c: In function ‘ppm_image_init’:
bjfimage.c:965:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
bjfimage.c: In function ‘ppm_image_read_raster’:
bjfimage.c:1127:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy( buf, in, width*img_bpp );
^
bjfimage.c: In function ‘ppm_image_init_rev’:
bjfimage.c:1271:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
bjfimage.c: In function ‘ppm_image_read_raster_rev’:
bjfimage.c:1472:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy( buf, in, width*img_bpp );
^
bjfimage.c: In function ‘png_image_init’:
bjfimage.c:1546:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
In file included from /usr/include/pngconf.h:72:0,
from /usr/include/png.h:485,
from bjfimage.c:42:
bjfimage.c:1577:19: error: dereferencing pointer to incomplete type
if (setjmp (png_p->jmpbuf))
^
bjfimage.c:1589:16: warning: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type [enabled by default]
&color_type, &interlace_type, NULL, NULL);
^
In file included from /usr/include/png.h:485:0,
from bjfimage.c:42:
/usr/include/png.h:2192:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr,
^
bjfimage.c:1589:16: warning: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type [enabled by default]
&color_type, &interlace_type, NULL, NULL);
^
In file included from /usr/include/png.h:485:0,
from bjfimage.c:42:
/usr/include/png.h:2192:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr,
^
bjfimage.c: In function ‘png_image_read_raster’:
bjfimage.c:1763:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy( buf, in, width*img_bpp );
^
bjfimage.c: In function ‘bmp_image_open’:
bjfimage.c:609:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, 2, 1, readfp );
^
bjfimage.c: In function ‘ppm_image_open’:
bjfimage.c:923:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, 2, 1, readfp );
^
bjfimage.c: In function ‘png_image_open’:
bjfimage.c:1497:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, 8, 1, readfp );
^
bjfimage.c: In function ‘bmp_image_read_raster’:
bjfimage.c:803:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], rasterlength, rstep, readfp );
^
bjfimage.c:808:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[rstep-laststep], rasterlength, laststep, readfp );
^
bjfimage.c:814:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], rasterlength, rstep, readfp );
^
bjfimage.c: In function ‘ppm_image_read_raster’:
bjfimage.c:1105:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], RasterLength, rstep, readfp );
^
bjfimage.c:1108:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], RasterLength, laststep, readfp );
^
bjfimage.c:1113:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], RasterLength, rstep, readfp );
^
bjfimage.c: In function ‘bmp_image_flush’:
bjfimage.c:874:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( tmp, rasterlength, remain, readfp );
^
bjfimage.c: In function ‘ppm_image_flush’:
bjfimage.c:1158:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( tmp, RasterLength, remain, readfp );
^
bjfimage.c: In function ‘ppm_write_tmpfile’:
bjfimage.c:1838:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, 2, 1, readfp );
^
Makefile:370: set di istruzioni per l'obiettivo "bjfimage.o" non riuscito
make[2]: *** [bjfimage.o] Errore 1
make[2]: uscita dalla directory "/home/birkhoff92/Downloads/driver canon 410 mx/cnijfilter-source-3.50-1/cnijfilter/src"
Makefile:345: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/birkhoff92/Downloads/driver canon 410 mx/cnijfilter-source-3.50-1/cnijfilter"
Makefile:285: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2
come si può risolvere ? grazie :/
|