> Hiya,
>
> I'm trying to compile the latest version of SANE. I was getting
>
> gcc -o find-scanner find-scanner.o ../sanei/libsanei.a ../lib/liblib.a -lm
> ../sanei/libsanei.a(sanei_scsi.o): In function `sanei_scsi_open':
> sanei_scsi.o(.text+0x5b): undefined reference to `cam_open_pass'
> sanei_scsi.o(.text+0xd1): undefined reference to `cam_close_device'
> ../sanei/libsanei.a(sanei_scsi.o): In function `sanei_scsi_close':
> sanei_scsi.o(.text+0x3c8): undefined reference to `cam_close_device'
> ../sanei/libsanei.a(sanei_scsi.o): In function `sanei_scsi_cmd':
> sanei_scsi.o(.text+0x453): undefined reference to `cam_getccb'
> sanei_scsi.o(.text+0x54d): undefined reference to `cam_send_ccb'
> sanei_scsi.o(.text+0x564): undefined reference to `cam_freeccb'
> sanei_scsi.o(.text+0x633): undefined reference to `cam_freeccb'
> sanei_scsi.o(.text+0x651): undefined reference to `cam_freeccb'
> gmake[1]: *** [find-scanner] Error 1
> gmake[1]: Leaving directory `/d1/src/sane-1.0.1/tools'
> gmake: *** [all-recursive] Error 1
>
Hello Steve,
try adding a "-lcam" to the gcc command!
Bye
Oliver
-- EMAIL: Oliver.Rauch@Wolfsburg.DE WWW: http://www.wolfsburg.de/~rauch
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com