From: David J Dachtera <djesys.nospam@comcast.net>
Subject: Re: reading/writing ansi tapes in linux
Date: Sun, 05 Sep 2004 21:16:19 -0500 [thread overview]
Message-ID: <413BC873.9AB368FC@comcast.net> (raw)
In-Reply-To: 10jng7b5i144d7d@corp.supernews.com
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.
next prev parent reply other threads:[~2004-09-06 2:16 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 [this message]
2004-09-07 17:28 ` S.C.Sprong
2004-09-08 10:08 ` Stefaan A Eeckels
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