home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!tik.vtt.fi!tik.vtt.fi!makisara
- From: makisara@vtinsx.ins.vtt.fi (Kai Makisara)
- Newsgroups: comp.os.linux
- Subject: Re: Compiling SCSI tape mt utility?
- Date: 2 Jan 93 17:43:26
- Organization: Technical Research Centre, Instrument Lab., Espoo, Finland
- Lines: 45
- Message-ID: <MAKISARA.93Jan2174326@vtinsx.vtt.fi>
- References: <C071x9.Csq@nmrdc1.nmrdc.nnmc.navy.mil>
- NNTP-Posting-Host: vtinsx.ins.vtt.fi
- In-reply-to: dsc3pzp@nmrdc1.nmrdc.nnmc.navy.mil's message of 1 Jan 93 21:19:55 GMT
-
- In article <C071x9.Csq@nmrdc1.nmrdc.nnmc.navy.mil> dsc3pzp@nmrdc1.nmrdc.nnmc.navy.mil (Philip Perucci) writes:
- Hello,
-
- Question about SCSI tape driver from tsx-11.mit.edu /pub/linux/ALPHA/scsi.
-
- Regarding the file "mtio.h", I see there is one in both
-
- /usr/src/linux/include/linux AND
- /usr/src/tape (from /pub/linux/ALPHA/scsi).
-
- I am using 0.99pl1 Linux WITH tape drivers included in the kernel. I just
- want to get mt and tapetest working. Is it correct to change:
-
- #include <sys/mtio.h>
-
- to
-
- #include <sys/mtio.h> <--- first include the one from Linux source
- #include "mtio.h" <--- then include one from /pub/linux/ALPHA/scsi
-
- in the files mt.c and tapetest.c???
-
- Just ignore the mtio.h (and ioctl.h) in /usr/src/tape if you have recent
- Linux (0.99 is certainly new enough) and libc 4.2. They contain all of the
- necessary definitions. If you have <linux/mtio.h> and <linux/ioctl.h> but
- not libc 4.2, you need to add <sys/mtio.h> which includes <linux/mtio.h>
- and add #include <linux/ioctl.h> to <sys/ioctl.h>. If your Linux is older
- you should use the files in /usr/src/tape (or upgrade Linux)
-
- Finally got enough $$$ for SCSI tape and would hate to do something as
- stupid as screwing up the include files! Ideas anyone?
-
-
- --
- ===========================================================================
- phil perucci | "Any opinions expressed are solely my own views and
- ssb1pzp@digex.com | do not reflect the position of any organization"
- ===========================================================================
-
- Kai
- --
- DISCLAIMER: The views expressed here are mine and may not always
- coincide with the views of my employer.
-
- * Kai Makisara * email Kai.Makisara@vtt.fi *
-