🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #55987

Re: Dosemu 0.64.3 problems

#55987
From: Manfred Bartz
Date: Thu, 17 Apr 1997 00:00
64 lines
2777 bytes
spacehlk@netspace.net.au (Martin Treasure) writes:

> O.k I tired 0.64.1 and had problems with vm86plus....so it was suggested 
> to try 0.64.3. done except I get errors
> 
> 1.....How do u enable VM86PLUS in the kernel [I'm running 2.0.30]
> 2.....what is that error below
> 3.....what do I do now....?
> 
> thanks in advance
> MArtin
> 
> Error:
> =======
> /usr/X11R6/include 
> -o emu.o emu.c
> In file included from emu.c:91:
> /usr/include/sys/vm86.h:5: linux/vm86.h: No such file or directory
> In file included from emu.c:91:
> /usr/include/sys/vm86.h:9: warning: `struct vm86_struct' declared inside 
> parameter list
> /usr/include/sys/vm86.h:9: warning: its scope is only this definition or 
> declaration,
> /usr/include/sys/vm86.h:9: warning: which is probably not what you want.
> emu.c:216: warning: `SillyG_' defined but not used
> make[2]: *** [emu.o] Error 1
> make[2]: Leaving directory `/usr/src/dosemu-0.64.3/src'
> make[1]: *** [doslibnew] Error 2
> make[1]: Leaving directory `/usr/src/dosemu-0.64.3/src'
> make: *** [default] Error 2

OK, I struck that one too.  Dosemu is looking for ``vm86.h'' and can't
find it.  You should be able to locate ``vm86.h'' in
/usr/src/linux-2.0.30/include/asm-i386/

Assuming your kernel source lives in /usr/src/linux-2.0.30/ and 
you have a symlink called ``linux'' in /usr/src, pointing to 
``linux-2.0.30'', you can put a symlink in /usr/include/sys:

cd /usr/include/sys
ln -s /usr/src/linux/include/asm-i386/vm86.h vm86.h

You could define a symlink directly to 
/usr/src/linux-2.0.30/include/asm-i386/vm86.h, but then you need to
redo all links that go directly via the .../linux-2.0.30/... directory
when you change to a different kernel.

If you don't have a symlink called ``linux'' in /usr/src, do:

cd /usr/src
ln -s linux-2.0.30 linux

Now, if you want to change to a different kernel, you only need to:

cd /usr/src
rm linux                 # only deletes the link, not it's target :)
ln -s linux-2.0.31 linux

You need to become ``root'' to set links.

-- 
Manfred Bartz <mbartz@werple.net.au>
  --- LINUX, live free or die ---
Technical Details
Message-ID: <67xmq9ga.fsf@reddwarf.aup.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5j4928$g7f$1@otis.netspace.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,4336feea6dceb1c6
X-Google-Attributes: gid102983,public
From: Manfred Bartz <mbartz@werple.net.au>
Subject: Re: Dosemu 0.64.3 problems
Date: 1997/04/17
Message-ID: <67xmq9ga.fsf@reddwarf.aup.com.au>
X-Deja-AN: 235417970
Sender: mbartz@reddwarf.aup.com.au
References: <5j4928$g7f$1@otis.netspace.net.au>
X-Face: `7XhJ:(7$0=La3f9Tu4$Y8v0tVk-)FpJb(fz(H}9zi&.<tC9:`s'U*Q8Pz&(*x0xAY93N6A:"ObLj?n/\Xm['+nlFm:tE8TMp*dHA3H:1Ny\orulI(nV.Q59Em:i>p/pIs*!p"BJf0#wws0[pX,/:&
Organization: Werple Internet, Melbourne
Newsgroups: aus.computers.linux