peters@jester.cc.msstate.edu (Frank W. Peters) (01/14/90)
Hello, I'm a newcomer to X and am attempting to compile the sources from ns.uu.net on a Sun 3/50 running SunOS 4.0.3 using gcc version 1.35. I'm using the standard directories. The changes I've made to config/site.def are limited to Enabling HasGcc and InstallOldHeaderFiles. I was able to compile the software in this environment using cc but would like to recompile it using gcc since I understand it improves performance. Doing so I encountered the following problems. The 'make World' goes fine until it attempts to compile the server code in server/ddx/sun. At that point I get the following error: > gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return {blah blah} SunInit.c > /usr/include/sundev/vuid_event.h:42: unterminated character constant > *** Error code 1 (I get the same error for several files). Line 42 in vuid_event.h is the 32 line of a large chunk of text between a '#ifdef COMMENT' and a #endif COMMENT' (basically a description of the vuid interface). By removing the text from vuid_event.h I can get the server to compile. So I do a 'make install' with no errors. I make a link from Xsun to X in /usr/bin/X11. And I run xinit from the console and get the following error: > peters@jester{58}:xinit > > Getting interface configuration: Operation not supported on socket > sunOpenFrameBuffer: Inappropriate ioctl for device > sunOpenFrameBuffer: Inappropriate ioctl for device > sunOpenFrameBuffer: Inappropriate ioctl for device > sunOpenFrameBuffer: Inappropriate ioctl for device > sunOpenFrameBuffer: Inappropriate ioctl for device > > Fatal server bug! > no screens found > XIO: fatal IO error 32 (Broken pipe) on X server "(null)" > after 0 requests (0 known processed) with 0 events remaining. > The connection was probably broken by a server shutdown or KillClient. I've looked through all of the errata (including the recently posted version) and can't find anything. Does anyone out there have any idea what I'm doing wrong? Or where to start looking to figure it out? Any and all pointers appreciated. If you post a reply please also e-mail it to me. Our news feed is new and not yet reliable. Thanx --Frank P.S. A minor nit...how do I tell make not to add -sun3 to the gcc command line? It doesn't cause any problems but gcc doesn't like it. Frank W. Peters Systems Programmer Computing Center & Services peters@CC.MsState.Edu Peters@MsState.Bitnet (601)325-2942 "I can't give you brains, but I can give you a diploma." -- The Wizard of OZ