[sane-devel] SANE OS X 10.3 Install Problems

Henning Meier-Geinitz henning at meier-geinitz.de
Tue Nov 18 19:59:54 GMT 2003


Hi,

On Tue, Nov 18, 2003 at 11:05:49AM -0700, Erick Schmidt wrote:
> I tried the sane-backends in the snapshots directory per your link 
> below and received the same error:

Well, I can't help because I don't have any MacOS X experience but
maybe one of the OS X hackers can. So I quote everything and send it
to sane-devel. Please reply to sane-devel, not to me personally.

> -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g -O2 -W -Wall sanei_scsi.c
> sanei_scsi.c:210:35: IOKit/cdb/IOSCSILib.h: No such file or directory
> sanei_scsi.c: In function `sanei_scsi_open':
> sanei_scsi.c:1168: warning: implicit declaration of function 
> `CreateGUIDFromDevName'
> sanei_scsi.c:1168: warning: assignment makes pointer from integer 
> without a cast
> sanei_scsi.c:849: warning: unused variable `real_dev'
> sanei_scsi.c: In function `sanei_scsi_cmd2_old_api':
> sanei_scsi.c:4914: error: `IOSCSIDeviceInterface' undeclared (first use 
> in this function)
> sanei_scsi.c:4914: error: (Each undeclared identifier is reported only 
> once
> sanei_scsi.c:4914: error: for each function it appears in.)
> sanei_scsi.c:4914: error: `scsiDeviceInterface' undeclared (first use 
> in this function)
> sanei_scsi.c:4915: error: `IOCDBCommandInterface' undeclared (first use 
> in this function)
> sanei_scsi.c:4915: error: `cdbCommandInterface' undeclared (first use 
> in this function)
> sanei_scsi.c:4916: error: `CDBInfo' undeclared (first use in this 
> function)
> sanei_scsi.c:4916: error: parse error before "cdb"
> sanei_scsi.c:4920: error: `SCSIResults' undeclared (first use in this 
> function)
> sanei_scsi.c:4920: error: parse error before "results"
> sanei_scsi.c:4931: error: `kIOSCSIDeviceClassName' undeclared (first 
> use in this function)
> sanei_scsi.c:4935: error: `kSCSIDevTypeScanner' undeclared (first use 
> in this function)
> sanei_scsi.c:4935: error: `kSCSIDevTypeProcessor' undeclared (first use 
> in this function)
> sanei_scsi.c:4939: error: parse error before "kSCSIPropertyDeviceTypeID"
> sanei_scsi.c:4954: error: parse error before "kSCSIPropertyIOUnit"
> sanei_scsi.c:4960: error: parse error before "kSCSIPropertyTarget"
> sanei_scsi.c:4966: error: parse error before "kSCSIPropertyLun"
> sanei_scsi.c:4971: warning: comparison between signed and unsigned
> sanei_scsi.c:4972: warning: comparison between signed and unsigned
> sanei_scsi.c:4973: warning: comparison between signed and unsigned
> sanei_scsi.c:4986: error: `kIOSCSIUserClientTypeID' undeclared (first 
> use in this function)
> sanei_scsi.c:4996: error: `kIOSCSIDeviceInterfaceID' undeclared (first 
> use in this function)
> sanei_scsi.c:5011: error: `kIOCDBCommandInterfaceID' undeclared (first 
> use in this function)
> sanei_scsi.c:5016: error: `cdb' undeclared (first use in this function)
> sanei_scsi.c:5044: error: `results' undeclared (first use in this 
> function)
> sanei_scsi.c: In function `sanei_scsi_find_devices_old_api':
> sanei_scsi.c:5084: error: `IOSCSIDeviceInterface' undeclared (first use 
> in this function)
> sanei_scsi.c:5084: error: `scsiDeviceInterface' undeclared (first use 
> in this function)
> sanei_scsi.c:5085: error: `SCSIInquiry' undeclared (first use in this 
> function)
> sanei_scsi.c:5085: error: parse error before "inquiry"
> sanei_scsi.c:5096: error: `kIOSCSIDeviceClassName' undeclared (first 
> use in this function)
> sanei_scsi.c:5100: error: `kSCSIDevTypeScanner' undeclared (first use 
> in this function)
> sanei_scsi.c:5100: error: `kSCSIDevTypeProcessor' undeclared (first use 
> in this function)
> sanei_scsi.c:5104: error: parse error before "kSCSIPropertyDeviceTypeID"
> sanei_scsi.c:5119: error: parse error before "kSCSIPropertyIOUnit"
> sanei_scsi.c:5125: error: parse error before "kSCSIPropertyTarget"
> sanei_scsi.c:5131: error: parse error before "kSCSIPropertyLun"
> sanei_scsi.c:5140: error: `kIOSCSIUserClientTypeID' undeclared (first 
> use in this function)
> sanei_scsi.c:5149: error: `kIOSCSIDeviceInterfaceID' undeclared (first 
> use in this function)
> sanei_scsi.c:5158: error: `inquiry' undeclared (first use in this 
> function)
> sanei_scsi.c:5063: warning: unused parameter `findtype'
> sanei_scsi.c:5063: warning: unused parameter `findbus'
> sanei_scsi.c:5064: warning: unused parameter `findchannel'
> sanei_scsi.c:5064: warning: unused parameter `findid'
> sanei_scsi.c: At top level:
> sanei_scsi.c:5267: warning: type mismatch with previous implicit 
> declaration
> sanei_scsi.c:1168: warning: previous implicit declaration of 
> `CreateGUIDFromDevName'
> sanei_scsi.c:5267: warning: `CreateGUIDFromDevName' was previously 
> implicitly declared to return `int'
> sanei_scsi.c: In function `CreateDevNameFromGUID':
> sanei_scsi.c:5311: warning: initialization discards qualifiers from 
> pointer target type
> sanei_scsi.c: In function `ExecuteSCSITask':
> sanei_scsi.c:5397: warning: int format, long unsigned int arg (arg 3)
> sanei_scsi.c:5411: warning: int format, size_t arg (arg 3)
> sanei_scsi.c:5468: warning: long int format, different type arg (arg 3)
> sanei_scsi.c: In function `sanei_scsi_cmd2_stuc_api':
> sanei_scsi.c:5563: warning: int format, size_t arg (arg 3)
> sanei_scsi.c:5563: warning: int format, size_t arg (arg 4)
> sanei_scsi.c:5563: warning: int format, pointer arg (arg 5)
> sanei_scsi.c:5613: warning: suggest parentheses around assignment used 
> as truth value
> sanei_scsi.c:5624: warning: char format, different type arg (arg 3)
> sanei_scsi.c: In function `sanei_scsi_find_devices_stuc_api':
> sanei_scsi.c:5735: warning: suggest parentheses around assignment used 
> as truth value
> sanei_scsi.c:5675: warning: unused parameter `findtype'
> sanei_scsi.c:5675: warning: unused parameter `findbus'
> sanei_scsi.c:5676: warning: unused parameter `findchannel'
> sanei_scsi.c:5676: warning: unused parameter `findid'
> sanei_scsi.c:5677: warning: unused parameter `findlun'
> sanei_scsi.c: In function `sanei_scsi_req_enter2':
> sanei_scsi.c:5930: warning: unused parameter `idp'
> sanei_scsi.c: In function `sanei_scsi_req_wait':
> sanei_scsi.c:5935: warning: unused parameter `id'
> sanei_scsi.c: In function `sanei_scsi_req_flush_all_extended':
> sanei_scsi.c:5944: warning: unused parameter `fd'
> make[1]: *** [sanei_scsi.o] Error 1
> make: *** [all-recursive] Error 1
> g5:/build/sane-backends root#

Bye,
  Henning




More information about the sane-devel mailing list