Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!uakari.primate.wisc.edu!caen!umich!sharkey!bnlux0!max!thomas From: thomas@max.bnl.gov (Richard A. Thomas) Newsgroups: comp.sys.apollo Subject: Re: Inlib'ing on SR10.n Message-ID: <2115@bnlux0.bnl.gov> Date: 11 Sep 90 13:28:18 GMT References: <4cac30987.000bdbe@caen.engin.umich.edu> <1990Sep9.184747@pisa.ifs.umich.edu> Sender: news@bnlux0.bnl.gov Reply-To: thomas@max.UUCP (Richard A. Thomas) Organization: Brookhaven National Lab, Upton NY Lines: 72 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. The following commands, when issued in the Aegis environment, correctly compile and link the Fortran program cplot.ftn. ftn cplot -dba bind cplot.bin@ -inlib /users/operations/com/controls.userlib@ -inlib /users/operations/com/gui.lib@ -inlib /users/operations/com/calcomp.gprlib@ -b cplot I tried copying the file cplot.ftn to cplt.f and issuing the commands: f77 -W0,-inlib,/users/operations/com/controls.userlib \ -W0,-inlib,/users/operations/com/gui.lib \ -W0,-inlib,/users/operations/com/calcomp.gprlib \ -c cplt.f ld -o cplt \ -A inlib,/users/operations/com/controls.userlib,/users/operations/com/gui.lib,/users/operations/com/calcomp.gprlib \ cplt.o But that resulted in undefined symbols: cplt.f: undefined first referenced symbol in file elips_ cplt.o symbol_ cplt.o poly_ cplt.o circl_ cplt.o rect_ cplt.o line_ cplt.o dashl_ cplt.o axis_ cplt.o rescale_ cplt.o terminate_gpr_ cplt.o release_ cplt.o acquire_ cplt.o erase_ cplt.o calcomp_set_backround_color_ftn_ cplt.o calcomp_set_pen_color_ftn_ cplt.o calinit_ cplt.o new_initialize_gpr_ cplt.o gui_load_color_map_ cplt.o ld warning: Output file cplt not executable If I execute esa on any of the symbols, I get % esa elips Symbol not found. So I issued inlib commands to my csh shell for the three libraries. That didn't change the results for compiling and linking using f77 and ld, but it did change the result of executing the esa command. % esa elips Symbol known but not loaded Do I have to recreate the *.lib files or process them in some special way to make them usable in the bsd4.3 environment? Any help is sincerely appreciated. Thank you. Richard Thomas Brookhaven National Laboratory