Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!qmw-cs!pd From: pd@cs.qmw.ac.uk (Paul Davison [postmaster]) Newsgroups: comp.windows.x Subject: X11R3 and Gcc 1.37.1 Message-ID: <2990@sequent.cs.qmw.ac.uk> Date: 31 Oct 90 11:39:32 GMT Organization: Computer Science Dept, QMW, University of London, UK. Lines: 70 [[ posted for a friend without netnews access, reply address is at the end ]] I have just [overnight] recompiled X11R3 with the Gnu C compiler, gcc-1.37.1. However I now have a bad X11. Can anyone throw any light on the problem? "xinit" results in the messages: Getting interface configuration: Operation not supported on socket sunOpenFrameBuffer: Inappropriate ioctl for device sunOpenFrameBuffer: Inappropriate ioctl for device Fatal server bug! Can't find any displays giving up. xinit: Connection refused (errno 61): unable to connect to X server Compilation switches were: CC = gcc -fcombine-regs -fstrength-reduce -finline-functions \ -fpcc-struct-return -DPURDUE -Dinline=INLINE \ -DNOSTDHDRS Host is a Sun 3/280 running SunOS 4.0.3. I had to make a few minor changes to the source to allow gcc to work. For example, I had to edit ~/util/makedepend/main.c to change definition of catch() from #ifdefined (ultrix) void catch(); #else int catch(); #endif to #ifdefined (ultrix) void catch (); #else # ifdef sun void catch (); # else int catch (); # endif #endif During compilation, I got no errors, and the only warnings were about i. functions implicitly declared external redeclared static ii. useless keywords Both are ok. Running my old [Sun cc compiled] X11R3, I still can't run any of my new clients. For example, I get: gav% xlogo XIO: fatal IO error 45 (Operation not supported on socket) on X server "gav:0.0" after 30 requests (17 known processed) with 0 events remaining. ---------------------- Please email any replies back to me as I do not have access to the news at the present time. My address is: druid@gav.uucp or, if the routing tables give any trouble: druid%gav.uucp@ukc.ac.uk -- Paul Davison (postmaster for cs.qmw.ac.uk) UUCP: pd@qmw-cs.uucp | Computer Science Dept Internet: pd%cs.qmw.ac.uk@nsfnet-relay.ac.uk | QMW, University of London JANET: pd@uk.ac.qmw.cs | Mile End Road Voice: +44 71 975 5250 (Direct Dial) | London E1 4NS