This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Newbee problem at compile mtx scsi changer tool
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 26 Dec 2006 15:39:11 -0800
- Subject: Re: Newbee problem at compile mtx scsi changer tool
- References: <emreg3$ns3$1@sea.gmane.org>
- Reply-to: cygwin at cygwin dot com
Pierre Bernhardt wrote:
> checking for scsi/scsi.h... no
> checking for scsi/scsi_ioctl.h... no
> checking for scsi/sg.h... no
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> I think the problem comes from here...
>
> [...]
>
> Could anybody help me to identify the missing or problem?
You already found the problem. mtx expects to directly call a kernel
API that does not exist on Cygwin. From the mtx FAQ file:
Note that mtx 1.2 and above use the SCSI GENERIC interface on Linux,
FreeBSD, and Solaris (at least). They do NOT use the tape device node.
Please read the man page for directions.
This means there is no way this is going to work on Cygwin as there is
no such kernel API to call. It would probably work if it used only the
tape device node, but it has been coded to specifically not work in that
way.
Note that there is already a Cygwin-specific "mt" package that you can
install through setup.exe that supports the basic tape operations but I
don't know if it will support autoloader-specific commands.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/