I'm unable to get sane-backends 1.0.13-1 to compile on a PowerBook G4
running Panther. Perhaps there's a dependency that is not being met?
William
+ find . -name Makefile -exec perl -pi.bak -e
's#-[LlI](/sw/lib|/sw/include|m|pthread|c)\s# #g' '{}' ';'
+ make docdir=/sw/share/doc/sane-backends
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
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g
-O2 -W -Wall strndup.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g
-O2 -W -Wall getopt1.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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
-no-cpp-precomp -DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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 -no-cpp-precomp
-DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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 -no-cpp-precomp
-DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g
-O2 -W -Wall sanei_constrain_value.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -no-cpp-precomp
-DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g
-O2 -W -Wall sanei_init_debug.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -no-cpp-precomp
-DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g
-O2 -W -Wall sanei_net.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -no-cpp-precomp
-DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -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 -no-cpp-precomp
-DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g
-O2 -W -Wall sanei_codec_ascii.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -no-cpp-precomp
-DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g
-O2 -W -Wall sanei_codec_bin.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -no-cpp-precomp
-DOSX_ONLY_10_2_API=1 -DPATH_SANE_CONFIG_DIR=/sw/etc/sane.d
-DPATH_SANE_DATA_DIR=/sw/share -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g
-O2 -W -Wall sanei_scsi.c
sanei_scsi.c:219:64: IOKit/scsi-commands/SCSICmds_INQUIRY_Definitions.h: No
such file or directory
sanei_scsi.c:220:61: IOKit/scsi-commands/SCSICommandOperationCodes.h: No
such file or directory
sanei_scsi.c:221:47: IOKit/scsi-commands/SCSITaskLib.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 `CreateMatchingDictionaryForSTUC':
sanei_scsi.c:5213: error: parse error before
"kIOPropertySCSITaskDeviceCategory"
sanei_scsi.c:5215: error: parse error before
"kIOPropertySCSITaskUserClientDevice"
sanei_scsi.c:5221: error: parse error before
"kIOPropertySCSIPeripheralDeviceType"
sanei_scsi.c:5231: error: parse error before
"kIOPropertySCSIVendorIdentification"
sanei_scsi.c:5240: error: parse error before
"kIOPropertySCSIProductIdentification"
sanei_scsi.c:5250: error: parse error before
"kIOPropertySCSITaskUserClientInstanceGUID"
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: At top level:
sanei_scsi.c:5328: error: parse error before "IOCFPlugInInterface"
sanei_scsi.c: In function `CreateDeviceInterfaceUsingSTUC':
sanei_scsi.c:5334: error: `IOCFPlugInInterface' undeclared (first use in
this function)
sanei_scsi.c:5334: error: (Each undeclared identifier is reported only once
sanei_scsi.c:5334: error: for each function it appears in.)
sanei_scsi.c:5334: error: `plugInInterface' undeclared (first use in this
function)
sanei_scsi.c:5335: error: `SCSITaskDeviceInterface' undeclared (first use in
this function)
sanei_scsi.c:5335: error: `interface' undeclared (first use in this
function)
sanei_scsi.c:5336: error: `HRESULT' undeclared (first use in this function)
sanei_scsi.c:5336: error: parse error before "plugInResult"
sanei_scsi.c:5343: warning: implicit declaration of function
`IOCreatePlugInInterfaceForService'
sanei_scsi.c:5343: error: `scsiDevice' undeclared (first use in this
function)
sanei_scsi.c:5344: error: `kIOSCSITaskDeviceUserClientTypeID' undeclared
(first use in this function)
sanei_scsi.c:5345: error: `kIOCFPlugInInterfaceID' undeclared (first use in
this function)
sanei_scsi.c:5358: error: `plugInResult' undeclared (first use in this
function)
sanei_scsi.c:5360: error: `kIOSCSITaskDeviceInterfaceID' undeclared (first
use in this function)
sanei_scsi.c:5361: error: `LPVOID' undeclared (first use in this function)
sanei_scsi.c:5364: error: `S_OK' undeclared (first use in this function)
sanei_scsi.c:5372: error: `thePlugInInterface' undeclared (first use in this
function)
sanei_scsi.c:5373: error: `theInterface' undeclared (first use in this
function)
sanei_scsi.c: At top level:
sanei_scsi.c:5378: error: parse error before '*' token
sanei_scsi.c: In function `ExecuteSCSITask':
sanei_scsi.c:5384: error: `SCSITaskStatus' undeclared (first use in this
function)
sanei_scsi.c:5384: error: parse error before "taskStatus"
sanei_scsi.c:5385: error: `SCSI_Sense_Data' undeclared (first use in this
function)
sanei_scsi.c:5386: error: `SCSICommandDescriptorBlock' undeclared (first use
in this function)
sanei_scsi.c:5395: error: `dst' undeclared (first use in this function)
sanei_scsi.c:5395: error: `dst_size' undeclared (first use in this function)
sanei_scsi.c:5407: error: `kSCSIDataTransfer_FromTargetToInitiator'
undeclared (first use in this function)
sanei_scsi.c:5411: error: `src_size' undeclared (first use in this function)
sanei_scsi.c:5414: error: `src' undeclared (first use in this function)
sanei_scsi.c:5418: error: `kSCSIDataTransfer_FromInitiatorToTarget'
undeclared (first use in this function)
sanei_scsi.c:5423: error: `senseData' undeclared (first use in this
function)
sanei_scsi.c:5424: error: `cdb' undeclared (first use in this function)
sanei_scsi.c:5427: error: `cmd' undeclared (first use in this function)
sanei_scsi.c:5427: error: `cmd_size' undeclared (first use in this function)
sanei_scsi.c:5430: error: `task' undeclared (first use in this function)
sanei_scsi.c:5460: error: `taskStatus' undeclared (first use in this
function)
sanei_scsi.c:5468: warning: long int format, different type arg (arg 3)
sanei_scsi.c:5474: error: `kSCSITaskStatus_GOOD' undeclared (first use in
this function)
sanei_scsi.c:5481: error: `kSCSITaskStatus_CHECK_CONDITION' undeclared
(first use in this function)
sanei_scsi.c: At top level:
sanei_scsi.c:5498: error: parse error before '*' token
sanei_scsi.c: In function `ExecuteCommandUsingSTUC':
sanei_scsi.c:5504: error: `SCSITaskInterface' undeclared (first use in this
function)
sanei_scsi.c:5504: error: `task' undeclared (first use in this function)
sanei_scsi.c:5512: error: `interface' undeclared (first use in this
function)
sanei_scsi.c:5533: error: `cmd' undeclared (first use in this function)
sanei_scsi.c:5533: error: `cmd_size' undeclared (first use in this function)
sanei_scsi.c:5533: error: `src' undeclared (first use in this function)
sanei_scsi.c:5534: error: `src_size' undeclared (first use in this function)
sanei_scsi.c:5534: error: `dst' undeclared (first use in this function)
sanei_scsi.c:5534: error: `dst_size' undeclared (first use in this function)
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:5579: error: `kINQUIRY_PERIPHERAL_TYPE_ScannerSCSI2Device'
undeclared (first use in this function)
sanei_scsi.c:5580: error: `kINQUIRY_PERIPHERAL_TYPE_ProcessorSPCDevice'
undeclared (first use in this function)
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:5632: error: `IOCFPlugInInterface' undeclared (first use in
this function)
sanei_scsi.c:5632: error: `plugInInterface' undeclared (first use in this
function)
sanei_scsi.c:5633: error: `SCSITaskDeviceInterface' undeclared (first use in
this function)
sanei_scsi.c:5633: error: `interface' undeclared (first use in this
function)
sanei_scsi.c:5665: warning: implicit declaration of function
`IODestroyPlugInInterface'
sanei_scsi.c: In function `sanei_scsi_find_devices_stuc_api':
sanei_scsi.c:5701: error: `kINQUIRY_PERIPHERAL_TYPE_ScannerSCSI2Device'
undeclared (first use in this function)
sanei_scsi.c:5702: error: `kINQUIRY_PERIPHERAL_TYPE_ProcessorSPCDevice'
undeclared (first use in this function)
sanei_scsi.c:5735: warning: suggest parentheses around assignment used as
truth value
sanei_scsi.c:5754: error: parse error before
"kIOPropertySCSITaskUserClientInstanceGUID"
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
### execution of /var/tmp/tmp.1.HkYvU8 failed, exit code 2
Failed: compiling sane-backends-1.0.13-1 failed
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users