trying to compile sane 0.71 on our sparc with SunOS 4.1.3.
Using gcc 2.7.2.3
When it gets to sanei_load_values.c, it aborts with:
gcc -c -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=71 -g -O2 -Wall -fPIC -DPIC sanei_load_values.c
sanei_load_values.c: In function `sanei_load_values':
sanei_load_values.c:89: `u_long' undeclared (first use this function)
sanei_load_values.c:89: (Each undeclared identifier is reported only once
sanei_load_values.c:89: for each function it appears in.)
sanei_load_values.c:89: `caused_reload' undeclared (first use this function)
sanei_load_values.c:89: warning: statement with no effect
sanei_load_values.c:90: parse error before `num_options'
sanei_load_values.c:100: `offset' undeclared (first use this function)
sanei_load_values.c:101: `w' undeclared (first use this function)
sanei_load_values.c:106: `keep_going' undeclared (first use this function)
sanei_load_values.c:108: `num_options' undeclared (first use this function)
sanei_load_values.c:109: `size' undeclared (first use this function)
sanei_load_values.c:111: warning: implicit declaration of function `memset'
sanei_load_values.c:132: `status' undeclared (first use this function)
sanei_load_values.c:133: `info' undeclared (first use this function)
sanei_load_values.c:134: `i' undeclared (first use this function)
sanei_load_values.c:149: `word' undeclared (first use this function)
sanei_load_values.c:174: `buf' undeclared (first use this function)
make[1]: *** [sanei_load_values.o] Error 1
make[1]: Leaving directory `/exp/src/sane/sane-0.71/sanei'
make: *** [all-recursive] Error 1
no problems up to here.
Any ideas ?
Also - we compiled sane under linux, and it drives our HP ScanJet IIp with
no problems (although we aren't trying any fancy command line options
at present). I couldn't find any ref to this scanner in your docs, so
thought you'd like to know it appears to work OK.
Pete
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com