david@sun.com (David L. Kensiski 929-8844) (05/24/89)
For those of you who have had SunView dropping windows and dumping core all over your filesystem, we found a solution. The program crashes because of a bug in the "new for SunOS 4.0" shared libraries. The fix is to recompile SunView without shared libraries. The SunView source can be found on your 4.0 distribution tapes, but you probably didn't install it with the rest of the OS. It should be in the file named "SunView_Programmers". Consult your "Software READ THIS FIRST" for SunOS Release 4.0 to determine where it is for your particular distribution and media. Once you have found the right tar file on the tape, extract the following files: suntools.c suntools_menu.c You will need to recompile them with the following set of commands. (Alternatively, you could extract the Makefile from the tape and modify it to use the proper switches.) cc -c -Bstatic -DSTANDALONE suntools.c cc -c -Bstatic -DSTANDALONE suntools_menu.c cc -o sunview -Bstatic suntools.o suntools_menu.o \ -lm -lsuntool -lsunwindow -lpixrect This will make a new copy of SunView that does not use the shared library feature of SunOS 4.0. Simply replace /usr/bin/sunview with this newly compiled version, and SunView should run without crashing. David L. Kensiski 1772 Tribute Road Martin Marietta Data Systems Sacramento, CA 95815 UUCP: uunet.uu.com!mmsac!david VOICE: (916) 929-8844 UUCP: sun.com!sacto!mmsac!david