From: Stefaan A Eeckels <tengo@DELETEMEecc.lu>
Subject: Re: reading/writing ansi tapes in linux
Date: Wed, 8 Sep 2004 12:08:49 +0200 [thread overview]
Message-ID: <20040908120849.3cf94107.tengo@DELETEMEecc.lu> (raw)
In-Reply-To: 2q69daFrrt9nU1@uni-berlin.de
On 7 Sep 2004 17:28:10 GMT
"S.C.Sprong" <s.c.sprong@student.utwente.nl> wrote:
> David J Dachtera <djesys.nospam@comcast.net> wrote:
> >Alex Snow wrote:
> >> Tried compiling this version on linux (slack 10/gcc3.3.4) with no
> >> luck...the errors I got were
> >> ansitape.c: In function `list_volume_set':
> >> ansitape.c:392: error: `FREAD' undeclared (first use in this
> >function)
>
> FREAD en FWRITE are old BSD-ish flags for file access, usually defined
> in fcntl.h. These are unsupported in (most?al?) Linux. Ansitape.c
> compiles in FreeBSD 4.x and 5.x
>
> Therefore, the program must be thoroughly screened for these and other
> non-Posixism before it is widely usuable again. I don't have time for
> that, sorry.
I've cleaned-up the code a bit, and it now compiles
cleanly on Solaris (Sun C), Tru64 (Compaq C), and Linux (gcc).
You can download the modified tarball from:
<http://www.ecc.lu/ansitape2.tar.gz>
If it doesn't work, let me know and I'll see what I can do.
Take care,
--
Stefaan
--
"What is stated clearly conceives easily." -- Inspired sales droid
prev parent reply other threads:[~2004-09-08 10:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-05 0:27 reading/writing ansi tapes in linux Alex Snow
2004-09-05 2:28 ` David J Dachtera
2004-09-06 1:39 ` Alex Snow
2004-09-06 2:16 ` David J Dachtera
2004-09-07 17:28 ` S.C.Sprong
2004-09-08 10:08 ` Stefaan A Eeckels [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox