MATLEVAN@EKU.BITNET (03/04/90)
Hello There appears to be some problems with the A/UX v1.1 installation of X11R4. I installed gcc-1.37 and ran fixincludes. I have installed fix-1 and fix-2 to the source distribution I ran the R4setup.sh in ddx/macII The Make processes completed with the following warnings: xtest1dd.c:1441: warning: `find_residual_time' was declared implicitly `extern' and later `static' macIIInitS.c:191: warning: excess elements in aggregate initializer macIIInitS.c:584: warning: `video_find' was declared implicitly `extern' and lat er `static' macIIInitS.c:644: warning: `get_video_data' was declared implicitly `extern' and later `static' macIIInitS.c:702: warning: `get_all_video_data' was declared implicitly `extern' and later `static' macIIColor.c:71: warning: useless keyword or type name in declaration The install process was a complete disaster. The bsdinst.sh procedure improperly passes parameters to the mac Sys V install utility. I was able to fix this problem by copying the bsdinstall procedure in ddx/macII on top of bsdinst.sh in the scripts directory. The server startup script in the /ddx/macII directory *incorrectly* specifies the initial client and server. The man page for xinit specifies that these routine names must start with a period or slash (they don't and the server croaks). There appears to be a problem with clients that call ungetc, they die with a memory fault. Below is the best I can do: 257$ sdb /usr/bin/X11/puzzle Warning: `/usr/bin/X11/puzzle' not compiled with -g No core image *r /usr/bin/X11/puzzle Memory Fault (11) (sig 11) at ungetc: address 0x1249a *t ungetc(52) _doscan(536869770,11108) sscanf(11081,11108,4194464,4194468) main(1,536869880,536869888) *q 258$ sdb /usr/bin/X11/xfd Warning: `/usr/bin/X11/xfd' not compiled with -g No core image *r /usr/bin/X11/xfd Memory Fault (11) (sig 11) at ungetc: address 0x3e89e *t ungetc(45) _doscan(536862632,27738) sscanf(3139,27738,4227648) XmuCvtStringToLong() XtDirectConvert(27748,0,0,536862958,536862818,1) _XtConvert() GetResources() [Popup.c] _XtGetResources() _XtCreate() [EventUtil.c] _XtCreateWidget() XtCreateWidget() XtCreateManagedWidget() main(1,536869880,536869888) *q ********************************************************* I would appreciate a fix for the "ungetc" problem! ********************************************************* Miscellaneous Trivia. I have a MacII with 40HZ Daystar accelerator and 8 MB of memory. I loaded "Tape-1" on a 80 meg disk (well actually 151274 blks). The make process lasted almost exactly eight hours. After the make there where about 9000 blocks free. When idling with 3 xterms,twm,xclock, and xload, there are a little over 200 free pages (4K/page) available. If I am interpreting the SZ field of "ps" correctly (8396) the server is hogging 4 MB of memory. Things appear to run quicker and the interface is spiffier than X11R3. Thanks for any help... Jerry ----------------------------------------------------------------------------- | Jerry LeVan | Phone:(606)-622-1931 | | Department of Computer Science | | | Eastern Kentucky University | Email:matlevan@eku.bitnet | | Richmond Ky 40475 | | |---------------------------------------------------------------------------| | "The series converges so slowly that it actually diverges." | -----------------------------------------------------------------------------
mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) (03/05/90)
> There appears to be a problem with clients that call ungetc, they die > with a memory fault. You're linking gcc-compiled code against a stdio that's broken and stomps on the argument passed to sscanf. The correct fix is to somehow obtain a non-broken stdio (fix it yourself, get it from somewhere, whatever). An acceptable temporary measure is to compile the program in question with the -fwritable-strings option of gcc. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu