Subject: DOSEMU

From: Chuma Agbodike <[email-masked]>
Date: Wed, 11 Sep 1996 02:02:39 -0700

I got and compiled DOSEMU 0.63.1.75. After several attempts, going back
and forth to pick up needed stuff like bison, byacc, libslang it finally
compiled. Then when I tried to run it, I get this:

Error:	The module was compiled on kernel version 2.0.0
	This kernel(mine) is version 2.0.13. They don't match.
	Check that the module is useable with the current kernel,
	recompile the module and try again.

Where can I find the up to date module (emumodule) ? Or what should
I do to make the one I have match the current kernel?

Chuma

---

From: [email-masked]
Date: Wed, 11 Sep 1996 11:53:04 -0500 (CDT)

> I do to make the one I have match the current kernel?

I had some problems like that at one time when compiling some programs.
Chances are the /usr/include/linux and /usr/include/asm are pointing
to the original installed kernel you had.  You have probably since
then compiled your own version of the kernel but not used the proper
Debian kernel source package and hence didn't update these two
directories.  You may want to try making symbolic links for these
directories to the include directories for the kernel you compiled
and do a clean recompile of dosemu.

Cheers!
Richard..

---------------------------------------------------------------------
Richard Dansereau
Email: [email-masked]          Home page:  http://pobox.com/~rdanse
Electrical and Computer Engineering - University of Manitoba - Canada
---------------------------------------------------------------------

---

From: Chuma Agbodike <[email-masked]>
Date: Thu, 12 Sep 1996 01:26:10 -0700

[email-masked] wrote:
> --------------------------------------------

I looked at both directories . They do not compare so I hesitate to do that until I
learn how to unlink in case I mess up. Thanks Richard. I'm afraid I may not have 
understood you well enough. 

Chuma

---

From: Chuma Agbodike <[email-masked]>
Date: Thu, 12 Sep 1996 01:34:19 -0700

Michael Harnois wrote:
> 
> Chuma Agbodike <[email-masked]> writes:
> 
> With some linux packages -- e.g. Debian -- a separate set of kernel headers is
> maintained, and dosemu's autodetect routine finds those instead. The cure is
> to disable the autodetect and hardcode the path to the headers for the kernel
> you're using. You'll have to do make pristine and configure again. Then go
> to dosemu/src/arch/linux and edit Makefile.main. You'll see the line to
> comment out and the one to uncomment near the top of the file.

Thanks Michael.

	I followed your suggestion. After recompiling, I did ./load_module.sh as
instructed. But I got a new error:

error reading zSystem.map errno=2. I have System.map in /boot not zSystem.map

Chuma

---

From: Chuma Agbodike <[email-masked]>
Date: Thu, 12 Sep 1996 08:51:04 -0700

Michael Harnois wrote:
> What kernel version are you using?

I am using 2.0.13. I had also tried doing insmod emumodule.o and I get
a sreenfull of all kinds of modules symbols undefined.

Thanks Michael

Chuma

---

From: Chuma Agbodike <[email-masked]>
Date: Thu, 12 Sep 1996 09:02:08 -0700

Michael Harnois wrote:
> My System.map is in /, not /boot. Looking at the notes in insmod.c, it's
> supposed to automatically take System.map if zSystem.map is not present. But
> I'm wondering why your System.map is in /boot, and I'm not enough of a hacker
> to have an answer for that question.

In my linux Makefile, BOOTDIR is specified as /boot .
I am very green in linux. Migrating from DOS and win31 / 95. I currently
have to LILO boot DOS (and thus run Win95 or 3.1) or Linux. However I
want to boot only linux and with DOSEMU have access to some DOS based
apps that I must use.

Chuma