[2339] in testers
Sun bugs noticed while compiling 3.091
daemon@ATHENA.MIT.EDU (Dr. Craig A. Counterman)
Thu Aug 5 11:37:03 1993
To: testers@Athena.MIT.EDU
Cc: ccount@Athena.MIT.EDU, lavin@Athena.MIT.EDU, dot@Athena.MIT.EDU
Reply-To: ccount@Athena.MIT.EDU
Date: Thu, 05 Aug 93 11:36:49 EDT
From: "Dr. Craig A. Counterman" <ccount@Athena.MIT.EDU>
I was telnetted to gooshi, and compiled the 3.091 software. (It all
compiled with minimal modification, but coredumps when run, I'll try
debugging next week). I noticed a few oddities and problems. In no
particular order, but order that I noticed them in:
1) I cut a list of adds, viz.:
add x11r4
add motif1.1
add wcl
add atdev
add 3.091_dev
add 3.091
When I paste them on a dec, it works fine. On the sun, only the first
add is done, the rest of the buffer is emptied.
2) /usr/include/X11/bitmaps/ is missing.
3) When I first logged in, $DISPLAY wasn't set, and so emacs started
up in the tty window. In these circumstances, neither backspace nor
delete on the workstation I was using (in my lab, a Sun running 4.1.2)
did anything, ^Q showed them to have no action. The same is true for
the delete key coming from a decstation.
4) Is the version of wcl up to date? The error reported when no .ad
file is found contains a typo I noticed was fixed on other platforms a
few months ago, viz. XENVIRONEMENT instead of XENVIRONMENT.
5) The programs I compiled (I didn't write much of them myself) use
the symbol F_OK, which on the dec are defined in sys/file.h and
unistd.h. I don't include either directly, and haven't traced which
include I use includes them. On the Sun, F_OK doesn't get defined.
There is a unistd.h on solaris, but sys/file.h missing. I'd like to
know what the right thing to do is, for now I just added an explicit
#include in an #ifdef sun.
6) When the programs are compiled, there's the complaint:
ld: warning: file /usr/lib/libc.so: attempted multiple inclusion of file libc.so
which I ignored. Compile line:
cc -o menu menu.o MriRegAll.o -L/usr/gcc/lib -L/usr/ccs/lib -L/usr/openwin/lib -L/usr/athena/lib -lWc -lMu -lAt -lXm -lXt -lX11 -lm /usr/athena/lib/libresolv.a -lsocket -lnsl -lc /usr/ucblib/libucb.a -lelf -ldl
where cc is a script as suggested.
That's all for now.
------------------------------------------------------------------------
Dr. Craig Allen Counterman N1LRW ccount@mit.edu
13-4057, MIT, 77 Mass Ave, Cambridge MA 02139
W:(617)-253-3295 H:(617)-776-3121 Pager:(617)-597-0455