Subject: Re: Kernel build problems
To: Stephen Carpenter <firstname.lastname@example.org>
From: Francis Dupont <Francis.Dupont@inria.fr>
Date: 01/23/1995 13:25:56
In your previous mail you wrote:
I'm having problems building a kernel using the sys.tar.gz file
In cons.c the copen function contains the line
return ((*cdevsw[major(dev)].d_open)(dev, flag, mode, p, fp));
but this conflicts with the definition in conf.c of
#define dev_type_open(n) int n __P((dev_t, int, int, struct proc *))
I have removed the fp variable form the function in the hope that it
Also the references to callv->getchar & callv->printf should be changed to
callv->_getchar & callv->_printf.
=> I have just made a new kernel. I had the same problems (with another
missing _ in fb.c and no elf2aout), I used the same fixes and it seems to work.
dmesg always fails:
> # dmesg
> dmesg: kvm_read: kvm_read: Bad address
I am trying to fix it but "ktrace dmesg" panics (sorry dmesg can't return
the details :-) and gdb is not compiled...