[248] in Athena Bugs

home help back first fref pref prev next nref lref last post

A bug with penplot

daemon@ATHENA.MIT.EDU (Carla Fermann)
Mon Apr 25 11:21:46 1988

To: bugs@ATHENA.MIT.EDU
Date: Mon, 25 Apr 88 11:20:35 EDT
From: Carla Fermann <carla@ATHENA.MIT.EDU>
Program with which you had the problem:penplot

Name of person who discovered the bug: Prof. Slater
Their MIT phone number:
Their MIT address:
Their Athena Login ID: jhslater
Name of consultant reporting bug: carla
------------------------------------------------------------------------
A brief synopsis of the problem:

****** Here was Prof. Slater's OLC question..

What is the current link line for using penplot in a C application?
I was told that there are some 'fixes' which need to be attached for 5.5T

I would normally use the folloing under X11

cc cfile.c /usr/athena/lib/libpenplot.a -lX -l{F,I,U}77 -lm

Thanks
	John Slater
___________________________________________________________

** I sent him the stock answer, which says, in part:

Then when compiling use:

        cc -o file file.c -L/mit/fixes/vaxlib -lpenplot -lX -l{F,I,U}77 -lm


(The "-L" flag indicates to search for libraries in the specified
directory first.)

****** HE sent back this message:

BTW - why don't they simply update the library in
/usr/athena/lib/libpenplot.a.   The -L/mit/fixes/vaxlib ONLY affects
the search for -lpenplot, so it is probably less confusing to the
novice to simply say: 

use /mit/fixes/vaxlib/libpenplot.a    

instead of -L/mit/fixes/vaxlib -lpenplot
(does the same thing, but -L is less well known option for cc)

	-John


******   I told him I'd send his suggestion to the appropriate people,
so this is my attempt to do that....


                Thanks!

                      Carla

------------------------------------------------------------------------
Please describe the problem in detail (mention any necessary files or
commands that may be involved, on which machine the bug happened, and what
the program did that was wrong):



------------------------------------------------------------------------
Repeat by (please enter a set of commands which will allow us to 
repeat the bug):



------------------------------------------------------------------------
Fix (if you know what it is):





home help back first fref pref prev next nref lref last post