Return to BSD News archive
Xref: sserve comp.windows.x.i386unix:3276 comp.os.386bsd.questions:4697 Newsgroups: comp.windows.x.i386unix,comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!sdd.hp.com!usc!howland.reston.ans.net!newsserver.jvnc.net!gmd.de!borneo!veit From: veit@borneo.gmd.de (Holger Veit) Subject: Re: Compiling XFree86-1.3 Server under NetBSD-0.9 Message-ID: <1993Aug28.170147.15839@gmd.de> Sender: news@gmd.de (USENET News) Nntp-Posting-Host: borneo Organization: GMD - German National Research Center for Computer Science X-Newsreader: Tin 1.1 PL5 References: <CCFxMn.3Fr@newsflash.concordia.ca> Date: Sat, 28 Aug 1993 17:01:47 GMT Lines: 32 >Has anyone been able to compile Xfree86-1.3 under NetBSD-0.9? When >I tried to do it it bombed out compiling the server. Specifically, >the directory server/ddx/i386/common was where I has problems. It seems >the code wants to make some undefined ioctl()'s. I believe that these >ioctl()'s are defined if codrv is compiled into the kernel, but I was under >the impression that Xfree86-1.3 would work if only the pccons driver was >available. I would include the codrv driver into my kernel, but since >NetBSD-0.9 has changed the way things are done in device drivers, codrv >won't just plug in and play. > >Is this a problem with Xfree86-1.3, NetBSD-0.9 or me? > >Steve I'll send you a personal answer soon on this problem, but here is a general reply on this: (RTFM :-)) In the server/etc directory there is a public copy of ioctl_pc.h, to be installed in /usr/include/sys, despite of whether you have codrv or not. This defines ioctls that are required for compiling the xserver, independently of whether they are actually called. The xserver finds out about your console driver and accesses the correct functions only. This should help you to compile the xserver for pccons in the moment. -- Dr. Holger Veit | INTERNET: Holger.Veit@gmd.de | | / GMD-SET German National Research | Phone: (+49) 2241 14 2448 |__| / Center for Computer Science | Fax: (+49) 2241 14 2342 | | / P.O. Box 13 16 | Had a nightmare yesterday: | |/ Schloss Birlinghoven | My system started up with 53731 St. Augustin, Germany | ... Booting vmunix.el ...