Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jato!csi.jpl.nasa.gov!mwette From: mwette@csi.jpl.nasa.gov (Matt Wette) Newsgroups: comp.windows.x Subject: Re: X server prob on Sun3 sunos 4.1.1 Message-ID: <1991May6.140329.29580@jato.jpl.nasa.gov> Date: 6 May 91 14:03:29 GMT References: <9105032222.AA03383@lightning.McRCIM.McGill.EDU> Sender: news@jato.jpl.nasa.gov Reply-To: mwette@csi.jpl.nasa.gov (Matt Wette) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 41 Nntp-Posting-Host: mr-ed.jpl.nasa.gov In article <9105032222.AA03383@lightning.McRCIM.McGill.EDU>, mouse@lightning.mcrcim.mcgill.EDU (der Mouse) writes: |> > I've been pulling out my hair to build a runnable X11 R4 server from |> > the mit distribution on a Sun3/260 (bwtwo framebuffer) with sunos |> > 4.1.1. When I try to start the server with "xinit", I get: |> |> > ======================================================================== |> |> > Getting interface configuration: Operation not supported on socket |> |> > SunOpenFrameBuffer: inappropriate ioctl for device |> |> |> > Fatal server bug! |> > no screens found |> |> This looks a great deal like the gcc fixincludes problem. You say |> der Mouse I don't think this is a fixincludes problem. I compiled X11R4 upto patch level 14 (I think) on SunOS 4.0.3c (on Sun 3/60) with gcc-1.37.1 (did run fixincludes). X ran fine. I recently compiled X11R4 upto patch level 18 on SunOS 4.1.1 (on Sun 3/60) with gcc-1.39 (did run fixincludes). X did *not* run and gave the errors mentioned above. In fact, I got suspicious when constype (mit/server/ddx/sun/constype) didn't give the correct answer (it gave me "tty" instead of "gx"). So I compiled constype with cc and got the correct response. Then I compiled it with first doing a "ln -s /lib/cpp /usr/local/lib/gcc-cpp". Presto. It worked. Something seems to be wrong with either gcc-1.39's cpp or with fixincludes, I would guess. Matt -- _________________________________________________________________ Matthew R. Wette | Jet Propulsion Laboratory, 198-326 mwette@csi.jpl.nasa.gov | 4800 Oak Grove Dr, Pasadena,CA 91109 -----------------------------------------------------------------