Greg Haerr writes:
>
> On Wednesday, June 23, 1999 1:02 PM, Joseph Dunn
> [SMTP:[EMAIL PROTECTED]] wrote:
> : Hi,
> :
> : I just downloaded ver. 0.0.77. I tried compiling, but got this error:
> :
> : make[1]: Entering directory `/home/jadunn/elks/arch/i86/drivers/char'
> : bcc -0 -I../../../../include -D__KERNEL__ -O \
> : -0 -c -o bioscon.o bioscon.c
> : bioscon.c:142.33 (macro level 1): error: inode undeclared
> : bioscon.c:142.33 (macro level 1): error: illegal indirection
> : bioscon.c:142.33 (macro level 1): error: undefined structure element
> : make[1]: Leaving directory `/home/jadunn/elks/arch/i86/drivers/char'
> :
> : Does anyone know what's wrong? I'm using Dev86 version 13 from the MIT
> ftp site. Could the problem be that I'm using an old version of Dev86? By
> the way, there is something wrong with version 0.0.77 of elks. After it
> boots and I log in, the floppy drive stays on. I have tested this on my 486
> and my 286 laptop, and it happens on both. If I eject the disk, the light
> still stays on. Is there a bug??
> :
> I'll try compiling this myself tonight. I run dev86 v14, and I'll let you
> know.
> the latest dev86 is available at:
>
Sorry this is a bug in the latest release. It only shows up if you enable
the BIOS console which is not the default, and is not as good as the direct
console driver. If you give the default answer to all the config questions
you should get a good working kernel.
Attached to the bottom of this message is a patch that will fix the
problem.
There are other issues with using older versions of dev86 caused by
bugs in the optimiser. I recommend getting the latest version.
Al
-----------------------------------------
diff -u -r1.3 bioscon.c
--- bioscon.c 1999/05/29 23:20:59 1.3
+++ bioscon.c 1999/06/24 13:07:44
@@ -139,7 +139,7 @@
int bioscon_open(tty)
struct tty * tty;
{
- int minor = MINOR(inode->i_rdev);
+ int minor = tty->minor;
printd_tty("BIOSCON: open %d\n", minor);
if(minor!=0)
return -ENODEV;