Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: Novice building X on Sun 3/50, SunOS 4.0.3 Message-ID: <9010042245.AA28915@Larry.McRCIM.McGill.EDU> Date: 4 Oct 90 22:45:51 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 24 > I just applied all the patches and did a make World in my sun3 > directory and got everything made. Nothing (that I have tried so > far) works; they all report "inappropriate ioctl for device" . You used gcc, right? This looks suspiciously like the broken include files problem. Try a simple test. Put these two lines in a file somewhere, foo.c say: #include SIOCGIFCONF Try running "cc -E foo.c" and "gcc -E foo.c". The last line of output from cc should be (functionally) identical to the last line from gcc. The common problem causes the gcc output to contain 'x' where the cc output has 'i'. About all I can suggest to cure it is to try rerunning gcc's fixincludes script. If you can't get it in a state where the above test works, you haven't much hope of making X behave. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu