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 Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.dls.net!news.dls.net.POSTED!not-for-mail NNTP-Posting-Date: Sun, 05 Sep 2004 21:15:46 -0500 Message-ID: <413BC873.9AB368FC@comcast.net> Date: Sun, 05 Sep 2004 21:16:19 -0500 From: David J Dachtera Reply-To: djesysno@spam.earthlink.net Organization: DJE Systems X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.dec Subject: Re: reading/writing ansi tapes in linux References: <10jknj2cu4v2q7d@corp.supernews.com> <413A79DF.C18186FF@comcast.net> <10jng7b5i144d7d@corp.supernews.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.173.55.21 X-AuthenticatedUsername: djesys@dls.net X-Trace: sv3-X3QvUcPHPrG7E8E+A7tfh8JvwQr+OB7acMhpOYHKxv+vT3fWq5so0eM916DeymVJPvK5lAO9zTPWKVm!84NSt7CDcf3vJqsodS4vpKV1e1MuC6mUB+pAkoE9sDmzu/HalFa4cqFMfP8YEWjtWfE= X-Complaints-To: abuse@dls.net X-DMCA-Complaints-To: abuse@dls.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.13 Xref: g2news1.google.com comp.sys.dec:502 Alex Snow wrote: > > Hi, > Tried compiling this version on linux (slack 10/gcc3.3.4) with no > luck...the errors I got were > Script started on Sun Sep 5 21:33:21 2004 > root@h14me:~/ansitape# > root@h14me:~/ansitape# make > cc -c -o tables.o tables.c > cc -O -o ansitape -DEBCDIC ansitape.c tables.o > ansitape.c: In function `list_volume_set': > ansitape.c:392: error: `FREAD' undeclared (first use in this function) > ansitape.c:392: error: (Each undeclared identifier is reported only once > ansitape.c:392: error: for each function it appears in.) > ansitape.c: In function `write_volume_set': > ansitape.c:454: error: `FREAD' undeclared (first use in this function) > ansitape.c: In function `write_file': > ansitape.c:538: error: `FWRITE' undeclared (first use in this function) > ansitape.c: In function `read_volume_set': > ansitape.c:591: error: `FREAD' undeclared (first use in this function) > ansitape.c: In function `read_file': > ansitape.c:631: warning: comparison between pointer and integer > ansitape.c: In function `ansi_open': > ansitape.c:656: error: `FREAD' undeclared (first use in this function) > ansitape.c: In function `ansi_read': > ansitape.c:708: warning: return makes integer from pointer without a cast > ansitape.c:730: warning: return makes integer from pointer without a cast > ansitape.c: In function `ansi_close': > ansitape.c:857: error: `FWRITE' undeclared (first use in this function) > ansitape.c: In function `ansi_date': > ansitape.c:1194: error: dereferencing pointer to incomplete type > ansitape.c:1194: error: dereferencing pointer to incomplete type > make: *** [ansitape] Error 1 > root@h14me:~/ansitape# exit > Script done on Sun Sep 5 21:33:27 2004 Well, considering its age, that looks relatively clean: a consistent error in multiple locations. Seems easy enough to fix. I don't happen to know what the fix would be, however, and another compiler and/or different make options for compatibility with older C-code might produce different results. Know any "heavy" C-coders? (Not me, obviously.) I also saw a link that mentioned ansitape on Solaris. Might produce better results if you can find a source package. Try the linux groups, comp.unix.solaris or alt.solaris.x86. Caution, though: the denizens of the Solaris groups have a bit of an attitude... > I'll try googling this again but all I could find before was links to > various docs on using the app itself. Yeah - lots of old manpages about... D.J.D.