X-Spam-Check-By: sourceware.org Message-ID: <4591B29F.BEA9C839@dessent.net> Date: Tue, 26 Dec 2006 15:39:11 -0800 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Newbee problem at compile mtx scsi changer tool References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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/