SANE 1.0 broken on FreeBSD-Current

Cory Kempf (ckempf@enigami.com)
25 Jan 1999 23:27:07 -0500

creating libsane-dc25.la
(cd .libs && ln -s ../libsane-dc25.la libsane-dc25.la)
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
In file included from cdjpeg.h:14,
from djpeg.c:6:
jinclude.h:20: jconfig.h: No such file or directory
In file included from djpeg.c:6:
cdjpeg.h:15: jpeglib.h: No such file or directory
cdjpeg.h:16: jerror.h: No such file or directory

Adding -I/usr/local/include fixes that.

Also, the dc210 backend doesn't compile:

gcc -c -g -O2 -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/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 dc210.c
dc210.c: In function `init_dc210':
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.)gmake[1]: *** [dc210.lo] Error 1gmake[1]: Leaving directory `/usr/local/src/sane-1.00/backend'gmake: *** [all-recursive] Error 1

Commenting out the dc210 backend works around the problem.

Also, for some reason, the changes I submitted for FreeBSD's CAM
interface are only partially present in 1.0. Specifically, the config
stuff is missing, causing the -lcam not to be included.

What happened?

+C

-- 
Thinking of purchasing RAM from the Chip Merchant?  
Please read this first: <http://www.enigami.com/~ckempf/chipmerchant.html>

Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com <http://www.enigami.com/~ckempf/>

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