This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbee problem at compile mtx scsi changer tool


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]