Subject: Building kernel GENERIC.pmax: problem compiling machdep.c
To: None <port-pmax@NetBSD.ORG>
From: Helge MEINHARD, Chorus, CERN-ECP <meinhard@afsmail.cern.ch>
List: port-pmax
Date: 07/16/1995 21:39:34
I tried to rebuild a kernel from the configuration file GENERIC.pmax, 
which I copied together with all the other /sys stuff from 
/afs/iastate.edu/public/ftp/pub/netbsd/NetBSD-current/src/src/sys the 
other day. The compilation of machdep.c (1.30 1995/05/12 23:27:27 
jonathan Exp) failed in line 545 with the error message "Invalid operands 
to binary >>" in function mach_init. The source code line looks

        physmem = btoc(v - KERNBASE);

which the preprocessor expands to

        physmem = ((( v - 0x80000000 ) + (4096 -1) ) >> 12 ) ;

Any idea what's wrong there?

Helge