Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83 based; site homxa.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!homxa!wcs From: wcs@homxa.UUCP (Bill Stewart HO 4K-437 x0705) Newsgroups: net.lang.f77,net.wanted Subject: USG f77 bug / request for library files Message-ID: <136@homxa.UUCP> Date: Fri, 9-Mar-84 16:10:37 EST Article-I.D.: homxa.136 Posted: Fri Mar 9 16:10:37 1984 Date-Received: Sat, 10-Mar-84 13:05:37 EST Organization: AT&T Bell Labs, Holmdel NJ Lines: 67 The f77 library does not contain the routines referenced by the compiler for reading list-directed input from a character string. This is true on a VAX running 5.0.something (5.0.1?) and also on an IBM 370 running MAXI-UNIX. (I don't have a 3B to check it on.) The routines are called _s_rsli and _e_rsli. Here is a sample proram which dies from this error, and another with almost the same commands which doesn't. $ cat small.f c Test of input through character variables. c character *1 inputline(80) c This also fails with character *80 inputline integer a,b c read(5,10) line 10 format(A80) write(6,*) line read(UNIT=line, FMT=* ) a c The FMT= associated with the * keyword is c mentioned inn the IBM Fortran 77 manuals, c but read(UNIT=line, * ) also dies. read(5,*) b write(6,*) 'A,B: ',a,b stop end $ f77 small.f small.f: MAIN: undefined first referenced symbol in file _s_rsli small.o _e_rsli small.o ld fatal: Symbol referencing errors. No output written to a.out $ ----------------------------------------------------------------- The following compiles fine: ----------------------------------------------------------------- c Test of input through character variables. c character *80 line integer a,b c read(5,10) line 10 format(A80) write(6,*) line read(UNIT=line, 20 ) a 20 format(I6) read(5,*) b write(6,*) 'A,B: ',a,b stop end Is there a known fix for this? Thanks; -- Bill Stewart AT&T Bell Labs, Holmdel NJ HO 4K-437 x0705 (201-949-0705) ho95b!wcs ucbvax!ihnp4!ho95b!wcs decvax1harpo!ho95b!wcs