[sane-devel] SANE OS X 10.3 Install Problems

Erick Schmidt erick@rmsurety.com
Sat, 15 Nov 2003 20:06:31 -0700


Here is the whole output when "make" is ran.

powerbk-g4:/build/sane-backends-1.0.12 root# make
making all in include
make[1]: Nothing to be done for `all'.
making all in lib
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d        
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall isfdtype.c
isfdtype.c: In function `isfdtype':
isfdtype.c:8: warning: unused parameter `fdtype'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d        
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall strndup.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d        
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall getopt.c
getopt.c: In function `_getopt_initialize':
getopt.c:392: warning: unused parameter `argc'
getopt.c:393: warning: unused parameter `argv'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d        
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall getopt1.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d        
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall md5.c
ar r liblib.a isfdtype.o strndup.o  getopt.o getopt1.o md5.o
ar: creating archive liblib.a
ranlib liblib.a
mkdir .libs
  gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W 
-Wall isfdtype.c  -fno-common -DPIC -o .libs/isfdtype.o
isfdtype.c: In function `isfdtype':
isfdtype.c:8: warning: unused parameter `fdtype'
  gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W 
-Wall strndup.c  -fno-common -DPIC -o .libs/strndup.o
  gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W 
-Wall getopt.c  -fno-common -DPIC -o .libs/getopt.o
getopt.c: In function `_getopt_initialize':
getopt.c:392: warning: unused parameter `argc'
getopt.c:393: warning: unused parameter `argv'
  gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W 
-Wall getopt1.c  -fno-common -DPIC -o .libs/getopt1.o
  gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W 
-Wall md5.c  -fno-common -DPIC -o .libs/md5.o
making all in sanei
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d     
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall sanei_ab306.c
sanei_ab306.c: In function `sanei_ab306_open':
sanei_ab306.c:542: warning: unused parameter `devname'
sanei_ab306.c: In function `sanei_ab306_close':
sanei_ab306.c:549: warning: unused parameter `fd'
sanei_ab306.c: In function `sanei_ab306_get_io_privilege':
sanei_ab306.c:559: warning: unused parameter `fd'
sanei_ab306.c: In function `sanei_ab306_test_ready':
sanei_ab306.c:565: warning: unused parameter `fd'
sanei_ab306.c: In function `sanei_ab306_cmd':
sanei_ab306.c:571: warning: unused parameter `fd'
sanei_ab306.c:571: warning: unused parameter `src'
sanei_ab306.c:571: warning: unused parameter `src_size'
sanei_ab306.c:572: warning: unused parameter `dst'
sanei_ab306.c:572: warning: unused parameter `dst_size'
sanei_ab306.c: In function `sanei_ab306_rdata':
sanei_ab306.c:578: warning: unused parameter `fd'
sanei_ab306.c:578: warning: unused parameter `planes'
sanei_ab306.c:578: warning: unused parameter `buf'
sanei_ab306.c:578: warning: unused parameter `lines'
sanei_ab306.c:578: warning: unused parameter `bpl'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d     
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall sanei_constrain_value.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d     
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall sanei_init_debug.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d     
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall sanei_net.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d     
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall sanei_wire.c
sanei_wire.c: In function `sanei_w_space':
sanei_wire.c:101: warning: int format, size_t arg (arg 3)
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d     
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall sanei_codec_ascii.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d     
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall sanei_codec_bin.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d     
-DPATH_SANE_DATA_DIR=/usr/local/share          -DV_MAJOR=1 -DV_MINOR=0 
-g -O2 -W -Wall sanei_scsi.c
sanei_scsi.c:187:34: IOKit/cdb/IOSCSILib.h: No such file or directory
sanei_scsi.c: In function `sanei_scsi_open':
sanei_scsi.c:812: warning: unused variable `real_dev'
sanei_scsi.c: In function `sanei_scsi_cmd2':
sanei_scsi.c:4450: error: `kIOSCSIDeviceClassName' undeclared (first 
use in this function)
sanei_scsi.c:4450: error: (Each undeclared identifier is reported only 
once
sanei_scsi.c:4450: error: for each function it appears in.)
sanei_scsi.c:4453: error: `kSCSIDevTypeScanner' undeclared (first use 
in this function)
sanei_scsi.c:4453: error: `kSCSIDevTypeProcessor' undeclared (first use 
in this function)
sanei_scsi.c:4457: error: parse error before "kSCSIPropertyDeviceTypeID"
sanei_scsi.c:4471: error: parse error before "kSCSIPropertyIOUnit"
sanei_scsi.c:4478: error: parse error before "kSCSIPropertyTarget"
sanei_scsi.c:4485: error: parse error before "kSCSIPropertyLun"
sanei_scsi.c:4491: warning: comparison between signed and unsigned
sanei_scsi.c:4492: warning: comparison between signed and unsigned
sanei_scsi.c:4493: warning: comparison between signed and unsigned
sanei_scsi.c:4505: error: `kIOSCSIUserClientTypeID' undeclared (first 
use in this function)
sanei_scsi.c:4514: error: `IOSCSIDeviceInterface' undeclared (first use 
in this function)
sanei_scsi.c:4514: error: `scsiDeviceInterface' undeclared (first use 
in this function)
sanei_scsi.c:4517: error: `kIOSCSIDeviceInterfaceID' undeclared (first 
use in this function)
sanei_scsi.c:4528: error: `IOCDBCommandInterface' undeclared (first use 
in this function)
sanei_scsi.c:4528: error: `cdbCommandInterface' undeclared (first use 
in this function)
sanei_scsi.c:4531: error: `kIOCDBCommandInterfaceID' undeclared (first 
use in this function)
sanei_scsi.c:4536: error: `CDBInfo' undeclared (first use in this 
function)
sanei_scsi.c:4536: error: parse error before "cdb"
sanei_scsi.c:4537: error: `cdb' undeclared (first use in this function)
sanei_scsi.c:4559: error: `SCSIResults' undeclared (first use in this 
function)
sanei_scsi.c:4559: error: parse error before "results"
sanei_scsi.c:4569: error: `results' undeclared (first use in this 
function)
sanei_scsi.c: In function `sanei_scsi_find_devices':
sanei_scsi.c:4599: error: `kIOSCSIDeviceClassName' undeclared (first 
use in this function)
sanei_scsi.c:4602: error: `kSCSIDevTypeScanner' undeclared (first use 
in this function)
sanei_scsi.c:4602: error: `kSCSIDevTypeProcessor' undeclared (first use 
in this function)
sanei_scsi.c:4606: error: parse error before "kSCSIPropertyDeviceTypeID"
sanei_scsi.c:4620: error: parse error before "kSCSIPropertyIOUnit"
sanei_scsi.c:4627: error: parse error before "kSCSIPropertyTarget"
sanei_scsi.c:4634: error: parse error before "kSCSIPropertyLun"
sanei_scsi.c:4644: error: `kIOSCSIUserClientTypeID' undeclared (first 
use in this function)
sanei_scsi.c:4653: error: `IOSCSIDeviceInterface' undeclared (first use 
in this function)
sanei_scsi.c:4653: error: `scsiDeviceInterface' undeclared (first use 
in this function)
sanei_scsi.c:4656: error: `kIOSCSIDeviceInterfaceID' undeclared (first 
use in this function)
sanei_scsi.c:4664: error: `SCSIInquiry' undeclared (first use in this 
function)
sanei_scsi.c:4664: error: parse error before "inquiry"
sanei_scsi.c:4667: error: `inquiry' undeclared (first use in this 
function)
sanei_scsi.c:4585: warning: unused parameter `findtype'
sanei_scsi.c:4586: warning: unused parameter `findbus'
sanei_scsi.c:4586: warning: unused parameter `findchannel'
sanei_scsi.c:4586: warning: unused parameter `findid'
sanei_scsi.c: In function `sanei_scsi_req_enter2':
sanei_scsi.c:4700: warning: unused parameter `idp'
sanei_scsi.c: In function `sanei_scsi_req_wait':
sanei_scsi.c:4706: warning: unused parameter `id'
sanei_scsi.c: In function `sanei_scsi_req_flush_all_extended':
sanei_scsi.c:4717: warning: unused parameter `fd'
make[1]: *** [sanei_scsi.o] Error 1
make: *** [all-recursive] Error 1
powerbk-g4:/build/sane-backends-1.0.12 root#


If anyone can help, I would greatly appreciate it.