[comp.os.minix] help - missing const.h in kernel

rlh2@ukc.ac.uk (Richard Hesketh) (10/16/88)

The subject says it all really. I have been compiling 1.3c+ over
the weekend and have found that the header file const.h in the
kernel sources is missing 80 bytes, these 80 bytes contain the
definition for SECONDARY_VECTOR without which kernel/main.c
refuses to compile. Please, could some kind soul mail me
the absolutely upto date version of kernel/const.h which should
be 2880 bytes long.

Thanks in advance.

Richard

paula@bcsaic.UUCP (Paul Allen) (10/19/88)

In article <5627@eagle.ukc.ac.uk> rlh2@ukc.ac.uk (Richard Hesketh) writes:
>The subject says it all really. I have been compiling 1.3c+ over
>the weekend and have found that the header file const.h in the
>kernel sources is missing 80 bytes, these 80 bytes contain the
>definition for SECONDARY_VECTOR without which kernel/main.c
>refuses to compile. Please, could some kind soul mail me
>the absolutely upto date version of kernel/const.h which should
>be 2880 bytes long.

I haven't started building 1.3c yet, but I'm most of the way through
1.3b.  A grep for SECONDARY_VECTOR in my 1.3b/kernel directory revealed:

const.h.rej:! #define SECONDARY_VECTOR  11      /* RS232 interrupt
vector for port 2 */
main.c:  set_vec(SECONDARY_VECTOR, secondary_int, base_click);

Closer examination of const.h and const.h.rej showed that the 1.3b diff
for const.h tried to remove the line defining SECONDARY_VECTOR, but
patch rejected it.  Since SECONDARY_VECTOR is used in kernel/main.c, is
it safe to assume that the const.h diff was backwards?  The 1.3b
kernle/main.c diff *added* the reference to SECONDARY_VECTOR!

Paul

-- 
------------------------------------------------------------------------
Paul L. Allen                       | paula@boeing.com
Boeing Advanced Technology Center   | ...!uw-beaver!ssc-vax!bcsaic!paula