Using PINT backend

Mr Ada (mrada@catalina-inter.net)
Thu, 01 Oct 1998 02:21:18 -0700

This is a multi-part message in MIME format.
--------------3966C3EA0BB59349B5B261A5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello all,

Foolishly I thought I could use the PINT backend since there isn't a
device
driver for my Plustek Color 6000 scanner. The following attachment
shows the
compilation snafu I encountered. I had to modify the Makefile since the
build
of PINT was being excluded. I now know why. Any help will be
appreciated.

Thanks,
Chris Sparks

--------------3966C3EA0BB59349B5B261A5
Content-Type: text/plain; charset=us-ascii; name="m.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="m.log"

for subdir in lib sanei backend frontend doc tools; do \
target=`echo all-recursive | sed s/-recursive//`; \
echo making $target in $subdir; \
(cd $subdir && make $target) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$fail"
making all in lib
make[1]: Entering directory `/home/tools/sane-0.74/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tools/sane-0.74/lib'
making all in sanei
make[1]: Entering directory `/home/tools/sane-0.74/sanei'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tools/sane-0.74/sanei'
making all in backend
make[1]: Entering directory `/home/tools/sane-0.74/backend'
gcc -c -O2 -Wall -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=0 -DV_MINOR=74 -DBACKEND_NAME=pint -DLIBDIR=/usr/local/lib/sane pint.c
In file included from pint.c:52:
pint.h:91: field `scanio' has incomplete type
pint.c: In function `attach':
pint.c:106: storage size of `scanio' isn't known
pint.c:125: `SCIOCGET' undeclared (first use this function)
pint.c:125: (Each undeclared identifier is reported only once
pint.c:125: for each function it appears in.)
pint.c:162: `SCIOCSET' undeclared (first use this function)
pint.c:225: `SIM_BINARY_MONOCHROME' undeclared (first use this function)
pint.c:226: `SIM_DITHERED_MONOCHROME' undeclared (first use this function)
pint.c:227: `SIM_GRAYSCALE' undeclared (first use this function)
pint.c:228: `SIM_COLOR' undeclared (first use this function)
pint.c:229: `SIM_RED' undeclared (first use this function)
pint.c:230: `SIM_GREEN' undeclared (first use this function)
pint.c:231: `SIM_BLUE' undeclared (first use this function)
pint.c:247: `EPSON_ES300C' undeclared (first use this function)
pint.c:251: `FUJITSU_M3096G' undeclared (first use this function)
pint.c:255: `HP_SCANJET_IIC' undeclared (first use this function)
pint.c:259: `IBM_2456' undeclared (first use this function)
pint.c:263: `MUSTEK_06000CX' undeclared (first use this function)
pint.c:264: `MUSTEK_12000CX' undeclared (first use this function)
pint.c:268: `RICOH_FS1' undeclared (first use this function)
pint.c:269: `RICOH_IS410' undeclared (first use this function)
pint.c:270: `RICOH_IS50' undeclared (first use this function)
pint.c:274: `SHARP_JX600' undeclared (first use this function)
pint.c:278: `UMAX_UC630' undeclared (first use this function)
pint.c:279: `UMAX_UG630' undeclared (first use this function)
pint.c:106: warning: unused variable `scanio'
pint.c: In function `init_options':
pint.c:412: `SIM_BINARY_MONOCHROME' undeclared (first use this function)
pint.c:416: `SIM_DITHERED_MONOCHROME' undeclared (first use this function)
pint.c:420: `SIM_COLOR' undeclared (first use this function)
pint.c:424: `SIM_RED' undeclared (first use this function)
pint.c:428: `SIM_GREEN' undeclared (first use this function)
pint.c:432: `SIM_BLUE' undeclared (first use this function)
pint.c:436: `SIM_GRAYSCALE' undeclared (first use this function)
pint.c:377: warning: `x0' might be used uninitialized in this function
pint.c:377: warning: `x1' might be used uninitialized in this function
pint.c:377: warning: `y0' might be used uninitialized in this function
pint.c:377: warning: `y1' might be used uninitialized in this function
pint.c: In function `do_cancel':
pint.c:547: `SCIOCRESTART' undeclared (first use this function)
pint.c: In function `sane_pint_get_parameters':
pint.c:811: storage size of `scanio' isn't known
pint.c:830: `SCIOCGET' undeclared (first use this function)
pint.c:867: `SIM_BINARY_MONOCHROME' undeclared (first use this function)
pint.c:872: `SIM_DITHERED_MONOCHROME' undeclared (first use this function)
pint.c:877: `SIM_GRAYSCALE' undeclared (first use this function)
pint.c:882: `SIM_RED' undeclared (first use this function)
pint.c:887: `SIM_GREEN' undeclared (first use this function)
pint.c:892: `SIM_BLUE' undeclared (first use this function)
pint.c:897: `SIM_COLOR' undeclared (first use this function)
pint.c:901: `SCIOCSET' undeclared (first use this function)
pint.c:811: warning: unused variable `scanio'
make[1]: *** [pint.lo] Error 1
make[1]: Leaving directory `/home/tools/sane-0.74/backend'
make: *** [all-recursive] Error 1

--------------3966C3EA0BB59349B5B261A5--

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com