[comp.os.minix] 1.5.0 tools/build fails on 386 machine

mark@bruce.OZ (Mark Goodwin) (01/04/90)

With #define MACHINE IBM_386 in /usr/include/minix/config.h,
tools/build fails with the message: "mm click_shift does not match kernel's".

Questions for whomever wrote the INTEL_32BITS stuff (Bruce Evans ???) :-

* kernel.h, mm.h and fs.h all include <minix/config.h>, hence the code
  for determining CLICK_SIZE and CLICK_SHIFT should reside entirely in config.h.
  Because mm and fs have the same value for click_shift, code in the kernel
  must be changing it somewhere. Or both mm and fs change back to 8088 values.
  Or build is looking in the wrong place in the mm and fs parts of the image.

* should INTEL_32BITS be defined somewhere? This macro appears all over the
  place, but is not defined anywhere (certainly not in config.h or makefile).

* the kernel/config script fails because klib80386.x and mpx80386.x
  are not present in the distribution. Please post these files or cdifs.

Regards,

Mark Goodwin
Monash Uni. Comp. Sci.