*BSD News Article 8112


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!yale.edu!jvnc.net!darwin.sura.net!haven.umd.edu!purdue!yuma!csn!cherokee!da_vinci!lookout.it.uswc.uswest.com!kevinh
From: kevinh@lookout.it.uswc.uswest.com (Kevin Hutchinson)
Subject: Re: can't compile with xmode!? won't run xfree
Message-ID: <By5JBA.6n9@da_vinci.it.uswc.uswest.com>
Sender: news@da_vinci.it.uswc.uswest.com (IT Netnews)
Nntp-Posting-Host: lookout
Organization: U S WEST Information Technologies
References: <ac0DuB2w165w@student.business.uwo.ca> <RICH.92Nov17143131@omicron.Rice.edu>
Date: Mon, 23 Nov 1992 04:33:10 GMT
Lines: 37

In article <RICH.92Nov17143131@omicron.Rice.edu> Rich@rice.edu writes:
>In article <ac0DuB2w165w@student.business.uwo.ca> mark@student.business.uwo.ca (Mark Bramwell CS STAFF) writes:
>   I have been trying to figure out how to compile a kernel with X support
>   built-in.  I am running X now.  I have downloaded and applied all of the 
>   patches.  I have added  UCONSOLE and XSERVER to the options in ../GENERICISA
>
>   I have  config GENERICISA   I go into the GENERICISA dir and do a   
>   make depend.  I then do a make.
>
>   I can see that  -DUCONSOLE and -DXSERVER has been added to the command line 
>   during the compile stage.
>
>   However,  grep -i "xmode" 386bsd  shows nothing!  The new kernel when 
>   rebooted, does not support X11.
>
>   I have manually stuck a  #define XSERVER in pccons.c, and it gives me a 
>   warning saying it has been already defined.  
>
>   What am I missing?  
>
>   mark@student.business.uwo.ca (Mark Bramwell CS STAFF)
>   Western Business School  --  London, Ontario
>
>Double check that you are actually compiling and linking in the
>patched pccons.c and not the original.  If you patch
>/sys/compile/GENERICISA/pccons.c, then make sure that your Makefile
>refers to it and not /sys/i386/isa/pccons.c.  Rich

I had a simular problem and all I did was run 'make clean' in the
/sys/compile/GENERICISA directory. Then re-build your config, make depend,
and make this should work. Also if your running zsh you can 'grep -s
pc_xmode /386bsd ; echo $?' and if you get a 0 then your kernel s/b okay.
This will keep you from getting eye strain trying watch the mass of data
scrolling across your scrren.

Kevin