| Summary: | sane-backends-1.0.16-r2 build fails | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Vasilis Lourdas <bugs> |
| Component: | Current packages | Assignee: | Patrick Kursawe (RETIRED) <phosphan> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | CC: | spamlover |
| Priority: | High | ||
| Version: | 2005.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Vasilis Lourdas
2005-08-30 07:19:48 UTC
Mine fails with A LOT of other errors:
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPAT
H_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH
_SANE_LOCK_DIR=/var/lib -DV_MAJOR=1 -DV_MINOR=0 -I/usr/include/gphoto2
-march=athlon-xp -O3 -pipe -W -Wall sanei_jpeg.c
In file included from ../include/sane/sanei_jpeg.h:14,
from sanei_jpeg.c:6:
../include/sane/sanei_jinclude.h:20:55: jconfig.h: No such file or directory
In file included from sanei_jpeg.c:6:
../include/sane/sanei_jpeg.h:15:21: jpeglib.h: No such file or directory
../include/sane/sanei_jpeg.h:16:55: jerror.h: No such file or directory
In file included from sanei_jpeg.c:6:
../include/sane/sanei_jpeg.h:29: error: parse error before "JMETHOD"
../include/sane/sanei_jpeg.h:29: warning: no semicolon at end of struct or union
../include/sane/sanei_jpeg.h:32: error: parse error before "put_pixel_rows"
../include/sane/sanei_jpeg.h:37: error: parse error before "finish_output"
../include/sane/sanei_jpeg.h:47: error: parse error before "buffer"
../include/sane/sanei_jpeg.h:47: warning: type defaults to `int' in declaration
of `buffer'
../include/sane/sanei_jpeg.h:47: warning: data definition has no type or storage
class
../include/sane/sanei_jpeg.h:48: error: parse error before "buffer_height"
../include/sane/sanei_jpeg.h:48: warning: type defaults to `int' in declaration
of `buffer_height'
../include/sane/sanei_jpeg.h:48: warning: data definition has no type or storage
class
../include/sane/sanei_jpeg.h:53: error: parse error before "sanei_jpeg_jinit_wri
te_ppm"
sanei_jpeg.c:10: error: field `pub' has incomplete type
sanei_jpeg.c:14: error: parse error before "JSAMPROW"
sanei_jpeg.c:14: warning: no semicolon at end of struct or union
sanei_jpeg.c:16: error: parse error before "samples_per_row"
sanei_jpeg.c:16: warning: type defaults to `int' in declaration of `samples_per_
row'
sanei_jpeg.c:16: warning: data definition has no type or storage class
sanei_jpeg.c:18: warning: type defaults to `int' in declaration of `ppm_dest_str
uct'
sanei_jpeg.c:18: warning: data definition has no type or storage class
sanei_jpeg.c:20: error: parse error before '*' token
sanei_jpeg.c:20: warning: type defaults to `int' in declaration of `ppm_dest_ptr '
sanei_jpeg.c:20: warning: data definition has no type or storage class
sanei_jpeg.c:54: error: parse error before "sanei_jpeg_start_output_ppm"
sanei_jpeg.c:54: error: parse error before "cinfo"
sanei_jpeg.c:55: warning: return type defaults to `int'
sanei_jpeg.c: In function `sanei_jpeg_start_output_ppm':
sanei_jpeg.c:56: error: `cinfo' undeclared (first use in this function)
sanei_jpeg.c:56: error: (Each undeclared identifier is reported only once
sanei_jpeg.c:56: error: for each function it appears in.)
sanei_jpeg.c:57: error: `dinfo' undeclared (first use in this function)
sanei_jpeg.c: At top level:
sanei_jpeg.c:63: error: parse error before "sanei_jpeg_finish_output_ppm"
sanei_jpeg.c:63: error: parse error before "cinfo"
sanei_jpeg.c:64: warning: return type defaults to `int'
sanei_jpeg.c: In function `sanei_jpeg_finish_output_ppm':
sanei_jpeg.c:65: error: `cinfo' undeclared (first use in this function)
sanei_jpeg.c:66: error: `dinfo' undeclared (first use in this function)
sanei_jpeg.c: At top level:
sanei_jpeg.c:80: error: parse error before "sanei_jpeg_put_pixel_rows"
sanei_jpeg.c:80: error: parse error before "cinfo"
sanei_jpeg.c:82: warning: return type defaults to `int'
sanei_jpeg.c: In function `sanei_jpeg_put_pixel_rows':
sanei_jpeg.c:83: error: parse error before "dest"
sanei_jpeg.c:84: error: `cinfo' undeclared (first use in this function)
sanei_jpeg.c:85: error: `dinfo' undeclared (first use in this function)
sanei_jpeg.c:86: error: `rows_supplied' undeclared (first use in this function)
sanei_jpeg.c:88: error: `data' undeclared (first use in this function)
sanei_jpeg.c:88: error: `dest' undeclared (first use in this function)
sanei_jpeg.c: At top level:
sanei_jpeg.c:98: error: parse error before "sanei_jpeg_copy_pixel_rows"
sanei_jpeg.c:98: error: parse error before "cinfo"
sanei_jpeg.c:100: warning: return type defaults to `int'
sanei_jpeg.c: In function `sanei_jpeg_copy_pixel_rows':
sanei_jpeg.c:101: error: parse error before "dest"
sanei_jpeg.c:103: error: syntax error before "ptr"
sanei_jpeg.c:104: error: syntax error before "col"
sanei_jpeg.c:106: error: `cinfo' undeclared (first use in this function)
sanei_jpeg.c:107: error: `dinfo' undeclared (first use in this function)
sanei_jpeg.c:108: error: `rows_supplied' undeclared (first use in this function)
sanei_jpeg.c:110: error: `ptr' undeclared (first use in this function)
sanei_jpeg.c:110: error: `dest' undeclared (first use in this function)
sanei_jpeg.c:112: error: `col' undeclared (first use in this function)
sanei_jpeg.c:114: warning: implicit declaration of function `GETJSAMPLE'
sanei_jpeg.c:116: error: `data' undeclared (first use in this function)
sanei_jpeg.c: At top level:
sanei_jpeg.c:126: error: parse error before "sanei_jpeg_put_demapped_rgb"
sanei_jpeg.c:126: error: parse error before "cinfo"
sanei_jpeg.c:128: warning: return type defaults to `int'
sanei_jpeg.c: In function `sanei_jpeg_put_demapped_rgb':
sanei_jpeg.c:130: error: parse error before "dest"
sanei_jpeg.c:133: error: syntax error before "ptr"
sanei_jpeg.c:134: error: syntax error before "color_map0"
sanei_jpeg.c:135: error: syntax error before "color_map1"
sanei_jpeg.c:136: error: syntax error before "color_map2"
sanei_jpeg.c:137: error: syntax error before "col"
sanei_jpeg.c:139: error: `rows_supplied' undeclared (first use in this function)
sanei_jpeg.c:141: error: `ptr' undeclared (first use in this function)
sanei_jpeg.c:141: error: `dest' undeclared (first use in this function)
sanei_jpeg.c:143: error: `col' undeclared (first use in this function)
sanei_jpeg.c:143: error: `cinfo' undeclared (first use in this function)
sanei_jpeg.c:146: error: `color_map0' undeclared (first use in this function)
sanei_jpeg.c:147: error: `color_map1' undeclared (first use in this function)
sanei_jpeg.c:148: error: `color_map2' undeclared (first use in this function)
sanei_jpeg.c:150: error: `data' undeclared (first use in this function)
sanei_jpeg.c: At top level:
sanei_jpeg.c:155: error: parse error before "sanei_jpeg_put_demapped_gray"
sanei_jpeg.c:155: error: parse error before "cinfo"
sanei_jpeg.c:157: warning: return type defaults to `int'
sanei_jpeg.c: In function `sanei_jpeg_put_demapped_gray':
sanei_jpeg.c:158: error: parse error before "dest"
sanei_jpeg.c:160: error: syntax error before "ptr"
sanei_jpeg.c:161: error: syntax error before "color_map"
sanei_jpeg.c:162: error: syntax error before "col"
sanei_jpeg.c:164: error: `rows_supplied' undeclared (first use in this function)
sanei_jpeg.c:166: error: `ptr' undeclared (first use in this function)
sanei_jpeg.c:166: error: `dest' undeclared (first use in this function)
sanei_jpeg.c:168: error: `col' undeclared (first use in this function)
sanei_jpeg.c:168: error: `cinfo' undeclared (first use in this function)
sanei_jpeg.c:170: error: `color_map' undeclared (first use in this function)
sanei_jpeg.c:173: error: `data' undeclared (first use in this function)
sanei_jpeg.c: At top level:
sanei_jpeg.c:177: error: parse error before "sanei_jpeg_jinit_write_ppm"
sanei_jpeg.c:177: error: parse error before "cinfo"
sanei_jpeg.c:178: warning: return type defaults to `int'
sanei_jpeg.c: In function `sanei_jpeg_jinit_write_ppm':
sanei_jpeg.c:180: error: parse error before "dest"
sanei_jpeg.c:183: error: `dest' undeclared (first use in this function)
sanei_jpeg.c:184: error: `cinfo' undeclared (first use in this function)
sanei_jpeg.c:184: error: called object is not a function
sanei_jpeg.c:184: error: `j_common_ptr' undeclared (first use in this function)
sanei_jpeg.c:184: error: parse error before "cinfo"
sanei_jpeg.c:190: warning: implicit declaration of function `jpeg_calc_output_di
mensions'
sanei_jpeg.c:196: error: parse error before "cinfo"
sanei_jpeg.c:198: error: `BITS_IN_JSAMPLE' undeclared (first use in this functio n)
sanei_jpeg.c:199: error: `JSAMPLE' undeclared (first use in this function)
sanei_jpeg.c:206: error: parse error before "cinfo"
sanei_jpeg.c:212: error: `JCS_GRAYSCALE' undeclared (first use in this function)
sanei_jpeg.c:222: error: `JSAMPROW' undeclared (first use in this function)
sanei_jpeg.c:222: error: parse error before "dest"
make[1]: *** [sanei_jpeg.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.16-r2/work/sane-b
ackends-1.0.16/sanei'
make: *** [all-recursive] Error 1
!!! ERROR: media-gfx/sane-backends-1.0.16-r2 failed.
!!! Function src_compile, Line 99, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Okay, my errors are gone after re-emerging media-lib/jpeg. (In reply to comment #2) > Okay, my errors are gone after re-emerging media-lib/jpeg. I tried it, but the build still fails. What version of media-libs/jpeg are you using? Mine is media-libs/jpeg-6b-r5. * media-libs/jpeg
Latest version available: 6b-r5
Latest version installed: 6b-r5
Size of downloaded files: 598 kB
Homepage: http://www.ijg.org/
Description: Library to load, handle and manipulate images in the JPEG format
License: as-is
(In reply to comment #0) > sane-backends-1.0.16-r2 build fails. The build error message is: > > make[1]: *** No rule to make target `libsane-SnapScan.la', needed by `all'. Stop. My crystal ball tells me two things: 1) You used $SANE_BACKENDS but did not tell so in your bug report. 2) You set this variable to "SnapScan" instead of "snapscan". Please re-open this bug if I am wrong. You are absolutely correct! Thank you very much! |