After a few glitches I finaly got stuck with the following error:
gcc -c -g -O2 -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=1 -DV_MINOR=0 -DBACKEND_NAME=djpeg -DLIBDIR=/usr/local/lib/sane djpeg.c >/dev/null 2>&1
gcc -c -g -O2 -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=1 -DV_MINOR=0 -DBACKEND_NAME=dc210 -DLIBDIR=/usr/local/lib/sane -fPIC -DPIC dc210.c
dc210.c: In function `init_dc210':
dc210.c:329: warning: implicit declaration of function `cfmakeraw'
dc210.c:344: `TCSBRKP' undeclared (first use this function)
dc210.c:344: (Each undeclared identifier is reported only once
dc210.c:344: for each function it appears in.)
make[1]: *** [dc210.lo] Error 1
make[1]: Leaving directory `/install/sane-1.00/backend'
make: *** [all-recursive] Error 1
Is this code broken or could there be another problem?
I used gcc 2.7.2.3 to compile the lot.
Hugo.
+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com