tana@ee.sophia.ac.jp (Yoshiyuki Tanaka) (07/14/90)
Our xterm on the newly compiled X11R4 fails with the following message. ---------------------------------------- xterm: warning, error event receieved: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 28 (X_GrabButton) Minor opcode of failed request: 0 Resource id in failed request: 0xc Serial number of failed request: 46 Current serial number in output stream: 52 waiting for X server to shut down -------------------------------------- It occurs on both Sun3/60(SunOS 3.4) and Sparcstation 1 (SunOS 4.03). I used gcc version 1.37.1. and applied all patches from 1 to 12. It might not have much to do with it, butI had the following error messages when compiling the system. 1. On Sun3, when compiling mit/server/ddx/sunCG3.c: --------------------------------------------------------------- gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -c -O -I../../../. -I. - I../mfb -I../mi -I../../include -I../../.././X11 -DXDMCP -DSHAPE -DMITSHM -DMU LTIBUFFER -DMITMISC sunCG3C.c sunCG3C.c: In function sunCG3CProbe: sunCG3C.c:463: `CG3AC_MONOLEN' undeclared (first use this function) sunCG3C.c:463: (Each undeclared identifier is reported only once sunCG3C.c:463: for each function it appears in.) sunCG3C.c:464: `CG3AC_ENBLEN' undeclared (first use this function) sunCG3C.c:480: `CG3BC_MONOLEN' undeclared (first use this function) sunCG3C.c:481: `CG3BC_ENBLEN' undeclared (first use this function) *** Error code 1 --------------------------------------------------------------- 2. On Sparcstation 1, when making files in mit/rgb: --------------------------------------------------------- making all in ./rgb... gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -O -I../. -I../. -I.././ server/include -DXAW_BC -sun4 -c rgb.c rm -f rgb gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -o rgb rgb.o -O -ldbm [....stuff deleted] ./rgb rgb < rgb.txt sh: 13715 Memory fault - core dumped *** Error code 139 --------------------------------------------------------- I dealt with the first problem by simply commenting out parts of Makefile and SunInit.c where functions relating to CG3 occurred. I don't think its a problem at all because there is no /dev/cgthree on our Sun3/60's. For the second problem, I compiled the files under rgb with cc instead of gcc and rgb didn't core dump anymore. I would appreciate any help or comments. ---------------------------------------------------------------------------- Yoshiyuki Tanaka Sophia University, Tokyo Japan. Dept of Electrical & Electronic Enginerring Deiters Laboratory. Email: tana@bob.ee.sophia.ac.jp ----------------------------------------------------------------------------