From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,fa9a4f206956ed7e X-Google-Attributes: gid1164f8,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 8 Sep 2004 12:08:49 +0200 From: Stefaan A Eeckels Newsgroups: comp.sys.dec Subject: Re: reading/writing ansi tapes in linux Message-ID: <20040908120849.3cf94107.tengo@DELETEMEecc.lu> References: <10jknj2cu4v2q7d@corp.supernews.com> <413A79DF.C18186FF@comcast.net> <10jng7b5i144d7d@corp.supernews.com> <413BC873.9AB368FC@comcast.net> <2q69daFrrt9nU1@uni-berlin.de> Organization: E.C.C. sa - Computer Consultants X-Newsreader: Sylpheed version 0.9.12cvs2 (GTK+ 1.2.7; sparc-sun-solaris2.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit NNTP-Posting-Host: pppoe60-luxdsl-129.pt.lu X-Trace: news.vo.lu 1094638140 213.166.60.129 (8 Sep 2004 12:09:00 +0200) Path: g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!npeer.de.kpn-eurorings.net!news.vo.lu!justus.ecc.lu!nobody Xref: g2news1.google.com comp.sys.dec:511 On 7 Sep 2004 17:28:10 GMT "S.C.Sprong" wrote: > David J Dachtera 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: 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