Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!amethyst!eros!oliver From: oliver@eros.ame.arizona.edu (Oliver Paschereit) Newsgroups: comp.sys.apollo Subject: Re: Inlib'ing on SR10.n Message-ID: <2017@amethyst.math.arizona.edu> Date: 12 Sep 90 01:40:17 GMT References: <4cac30987.000bdbe@caen.engin.umich.edu> <1990Sep9.184747@pisa.ifs.umich.edu> <2115@bnlux0.bnl.gov> Sender: news@amethyst.math.arizona.edu Reply-To: oliver@eros.UUCP (Oliver Paschereit) Organization: AME Dept., Univ. of Arizona at Tucson Lines: 45 In article <2115@bnlux0.bnl.gov> thomas@max.UUCP (Richard A. Thomas) writes: > > Many of the people where I work use the Aegis environment, but as I am >more familiar with Ultrix, I have been using the bsd4.3 environment. I have >not been able to figure out what commands in the bsd4.3 environment >correspond >to binding with the inlib option in the Aegis environment. > ... > ... > I tried copying the file cplot.ftn to cplt.f and issuing the commands: > > f77 -W0,-inlib,/users/operations/com/controls.userlib \ > ... > But that resulted in undefined symbols: > > cplt.f: > undefined first referenced > symbol in file > elips_ cplt.o > .... > Any help is sincerely appreciated. Thank you. > > Richard Thomas > Brookhaven National Laboratory > The ftn compiler used without options does not ad a trailing underscore to the object files. The f77 will look for object files with an underscore, like elips_ . You can give ftn the option to add an underscore to the object files, which means you have to recompile all your libraries. I believe though that f77 has not the option to ignore the underscore. I can't give more information because my Apollo is far away in Berlin and I don't remember all the compiler options for ftn. Still, you can invoke ftn from a unix environment. Hope this helps - Oliver internet: oliver@eros.ame.arizona.edu oliver@rvax.ccit.arizona.edu uucp: ...{allegra,seismo,hao!noao}!arizona!eros!oliver BITNET: oliver@arizrvax 1811@db0tuz01 (Berlin)