Subject: Re: warning compiling 1.2C kernel
To: Jonathan Sturges <>
From: Jason Thorpe <>
List: port-vax
Date: 02/21/1997 11:05:04
On Fri, 21 Feb 1997 13:28:08 -0500 (EST) 
 Jonathan Sturges <> wrote:

 > Hiya,
 > I sup'ped on 16-Feb, and tried to build a kernel on my MicroVAX-II 
 > running 1.1A.  It didn't quite work.  I got a number of these:
 > ../../../../arch/vax/vax/db_machdep.c:206: warning: initialization from 
 > incompatible pointer type
 > about 10 different lines in db_machdep.c.  I've not looked at the 
 > code yet.

Yah, you need to cast those to (long *), like so:

	{"psl", (long *)&ddb_regs.psl, FCN_NULL},

This is due to changes in the MI portion of the DDB code.

Hopefully, your port-meister will commit those changes RSN :-)

Jason R. Thorpe                             
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939