krowitz@RICHTER.MIT.EDU (David Krowitz) (06/27/89)
Help! I'm trying to use the "-inlib" option to /com/bind under SR10.1 with no success. I have a library of calcomp graphics calls which is written in GMR. The library is compiled with "ftn -pic" and then bound with the GMR library using "bind -inlib /lib/gmrlib". My main program is compiled using the defaults options. When I bind it using the following shell script, I get no errors, and the program runs just fine: von ### ### bind the gmr version ### bind <<! /userlib/bin/gmr_plotlib_330.bin contour.bin blockdata.bin flevel.bin help.bin letter.bin -b /userlib/com/contour_330 ! voff To reduce the sizeof the main program, I'd like to bind it to the calcomp graphics library using the "inlib" option of bind. When I do this, I get the following errors: Undefined Globals: chrcod First referenced in letter.bin justfy First referenced in letter.bin plot First referenced in contour.bin plots First referenced in contour.bin symbol First referenced in letter.bin If I then try to run the program, it dies with an undefined global (plots). If I use the AEGIS shell command "inlib" to load the library before running the program, it still dies with the undefined global error. What am I doing wrong? Here is the version of the bind file with the "-inlib" option (the one which does not work): von ### ### bind the gmr version ### bind <<! -inlib /userlib/bin/gmr_plotlib_330.bin contour.bin blockdata.bin flevel.bin help.bin letter.bin -b /userlib/com/contour_330 ! voff Can anyone help me with this? -- David Krowitz krowitz@richter.mit.edu (18.83.0.109) krowitz%richter@eddie.mit.edu krowitz%richter@athena.mit.edu krowitz%richter.mit.edu@mitvma.bitnet (in order of decreasing preference)