[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling elks-emu!
- To: Robert de Bath <http://www.mayday.compulink.co.uk/~robert>
- Subject: Re: Compiling elks-emu!
- From: http://dummy.us.eu.org/robert (robert)
- Date: Mon, 3 Mar 1997 21:11:37 -0800
- Cc: Linux 8086 <http://www.vger.rutgers.edu/~linux-8086>
- In-Reply-To: <http://www.mayday.compulink.co.uk/~Pine.LNX.3.95q.970228062949.8815V-100000>
- References: <http://www.mayday.compulink.co.uk/~Pine.LNX.3.95q.970228062949.8815V-100000>
> From: Robert de Bath <http://www.mayday.compulink.co.uk/~robert>
> Date: Fri Feb 28, 6:53am
>
> To fix this you have to either get a more recent version of libc or change
> line 5 of /usr/include/sys/vm86.h to read:
>
> #include <asm/vm86.h>
>
> The problem is caused by a mismatch between the version of linux C library
> and the version of the linux kernel that you have on your system.
>
> There is a work around in that you can cd into the elksemu directory and
> type make there. This uses a different set of 'CFLAGS=' that includes a
> nasty little hack to bypass the problem.
>
> --
> Rob. (Robert de Bath <http://www.mayday.cix.co.uk/~robert>)
Sorry to continue with this topic, but...
I reinstalled Linux to RedHat 4.1 yet I still have to change the header
file. The kernel is 2.0.27 and the libc is:
# ls -lsd /usr/lib/libc*
0 lrwxrwxrwx 1 root root 24 Mar 3 10:32 /usr/lib/libc.so -> ../../lib/libc.so.5.3.12
# gcc --version
2.7.2.1
I'm not complaining since I can easily change the header file.
>From http://dummy.us.eu.org/robert Thu Feb 27 12:55:40 1997
From: http://dummy.us.eu.org/robert (robert)
Date: Thu, 27 Feb 1997 12:55:27 -0800
References: <http://www.binkley.cs.mcgill.ca/~Pine.SUN.3.91.970125105514.26711B-100000>
Encrypt: on
To: http://www.mayday.compulink.co.uk/~robert
Subject: Re: Compiling elks-emu!
Cc: Dylan ELLICOTT <http://www.cs.mcgill.ca/~dellicot>
Status: O
> From: Robert de Bath <http://www.mayday.compulink.co.uk/~robert>
> Date: Sat, 25 Jan 1997 19:21:40 +0000 (GMT)
> On Sat, 25 Jan 1997, Dylan Ellicott wrote:
>
> > I just tried to compile everything in dev0.0.10 package.
> > anyway it goes fine until it gets to compiling elks.c in the elksemu
> > directory. then it says in line 5 of /usr/include/sys/vm86.h <linux/vm86.h>
> > no such file or directory. so I went to /usr/include/linux/vm86.h and sure
> > enough there was no vm86.h. suggestions welcome!
> The file you want is /usr/include/asm/vm86.h it moved in the mid 1.3.*
> kernel version, a more recent version of linux-libc than yours will have
> the pointer corrected. (ie /linux/ becomes /asm/)
>
> Strange thing is though there's a file 'elkemu/linux/vm86.h' that should
> redirect this to the right location, I wonder why it didn't work in your
> case. ...
>
> What versions of GNU-C, libc and kernel are you using ?
>
> --
> Rob. (Robert de Bath <http://www.mayday.cix.co.uk/~robert>)
Sorry if has already been discussed on linux-8086. The mailing list
archive at http://epocha.pd.mcs.net:80/Linux8086/threads.html seems to
have not been updated since 2/15/96...
I'm having the above problem. Was it truly fixed with
Dev86src-0.0.11.tar.gz on linux.mit.edu? I'm currently using 2.0.0 of the
kernel.
Thanks.