Problems with compiling...

Urpo Lankinen (wwwwolf@iki.fi)
Sun, 1 Feb 1998 18:09:19 +0200

I have small problems with compiling SANE 0.70. (This problem was
present in earlier versions, too...)

The system is Debian GNU/Linux 1.3.1.

This is the error message I got about pint.c. Pretty tough problem - I
need this backend!

gcc -c -I/usr/X11R6/include -g -O2 -Wall -DHAVE_CONFIG_H -I. -I../././backend -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=70 -DBACKEND_NAME=pint -DLIBDIR=/usr/local/lib/sane-lib -fPIC -DPIC pint.c
pint.c: In function `attach':
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:159: structure has no member named `scan_width'
pint.c:160: structure has no member named `scan_width'
pint.c:162: `SCIOCSET' undeclared (first use this function)
pint.c:165: structure has no member named `scan_width'
pint.c:167: structure has no member named `scan_width'
pint.c:175: structure has no member named `scan_height'
pint.c:176: structure has no member named `scan_height'
pint.c:179: structure has no member named `scan_height'
pint.c:181: structure has no member named `scan_height'
pint.c:247: `EPSON_ES300C' undeclared (first use this function)
pint.c:251: warning: unreachable code at beginning of switch statement
pint.c:263: `MUSTEK_06000CX' undeclared (first use this function)
pint.c:264: `MUSTEK_12000CX' undeclared (first use this function)
pint.c:294: warning: unreachable code at beginning of switch statement
pint.c: In function `init_options':
pint.c:464: structure has no member named `scan_width'
pint.c:466: structure has no member named `scan_height'
pint.c:377: warning: `x1' 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:830: `SCIOCGET' undeclared (first use this function)
pint.c:855: structure has no member named `scan_width'
pint.c:856: structure has no member named `scan_height'
pint.c:901: `SCIOCSET' undeclared (first use this function)
pint.c:913: structure has no member named `scan_pixels_per_line'
pint.c:915: structure has no member named `scan_bits_per_pixel'
pint.c:915: structure has no member named `scan_pixels_per_line'
pint.c:916: structure has no member named `scan_lines'
pint.c:918: structure has no member named `scan_bits_per_pixel'
pint.c:918: structure has no member named `scan_bits_per_pixel'
make[1]: *** [pint.lo] Error 1
make[1]: Leaving directory `/tmp/sane-0.70/backend'
make: *** [all-recursive] Error 1

What am I missing?

-- 
\  \  \  \    / _ | |\   Urpo Lankinen <wwwwolf@iki.fi>
 \/\\/\\/\\/\/ (_)| |-   http://www.iki.fi/wwwwolf/     ICQ 4291042

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