Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!crcnis1.unl.edu!wupost!uunet!iris.mbvlab.wpafb.af.mil!blackbird.afit.af.mil!dsacg3.dsac.dla.mil!dcsc.dla.mil!cp01395
From: cp01395@dcsc.dla.mil (Duane L. Rezac)
Newsgroups: comp.os.386bsd.misc
Subject: Re: Kernal Recompile Failure in vm_pager.c
Message-ID: <1791@dcsc.dla.mil>
Date: 10 Mar 93 16:50:35 GMT
References: <1778@dcsc.dla.mil>
Sender: news@dsacg3.dsac.dla.mil
Organization: Defense Construction Supply Center, Columbus
Lines: 52
>From article <1778@dcsc.dla.mil>, by cp01395@dcsc.dla.mil (Duane L. Rezac):
> From article <JKH.93Mar6213132@whisker.lotus.ie{, by jkh@whisker.lotus.ie (Jordan K. Hubbard):
> { In article <1776@dcsc.dla.mil{ cp01395@dcsc.dla.mil (Duane L. Rezac) writes:
> {
> { I am trying to recompile the kernal. I have installed all of the
> { patches, and during the recompile I get the following:
> {
> { ../../vm/vm_pager.c:105: invalid lvalue in unary `&'
> { ../../vm/vm_pager.c:106: invalid lvalue in unary `&'
> { ../../vm/vm_pager.c:107: invalid lvalue in unary `&'
> {
> { What patch number are you up to?
> {
> { Jordan
> { --
> { Jordan Hubbard Lotus Development Ireland jkh@whisker.lotus.ie
> { 386bsd Patchkit Coordinator All-around nice dude.
> { I do not speak for Lotus as that's not in my job description.
>
> I have installed patches as follows:
>
> 1-96,103-110,501-504,601
>
> I have not installed: 600,602,603
I have solved that problem, but it leads to another one -
The patch for toupper/tolower was installed, libc was rebuilt and
installed, but the toupper/tolower patch was not working, resulting
in some of the files created by config MYCONFIG being corrupted by
bad case conversioins.
After hacking on the toupper/tolower routines, I was able to get
vm_pager to compile ok after rebuilding config and running
config MYCONFIG.
So, the next question is - why did the toupper/tolower patch fail.
It seems that the #undef of toupper and tolower just before the
patched code in isctype.c did not work - If I comment out the
original #defines for toupper and tolower in ctype.h, everything
works fine.
Any suggetions?
Duane L. Rezac
--
+-----------------------+---------------------------------------------------+
| Duane L. Rezac |These views are my own, and NOT representitive of my place|
| drezac@dcsc.dla.mil of Employment. |
+-----------------------+---------------------------------------------------+