From: Maciek Stopa <maciek@genesilico.pl>
To: Hufnus <tonyb@thekrnl.sysdev.org>
Cc: linux-msdos@vger.kernel.org
Subject: Re: Dosemu 1.3.2 and linux 2.6.7 headers
Date: Tue, 12 Jul 2005 22:21:27 +0200 [thread overview]
Message-ID: <42D42647.8070900@genesilico.pl> (raw)
In-Reply-To: <20050712120721.67306d8a.tonyb@sysdev.org>
Hufnus wrote:
>Anybody runing 1.3.2 or trying with Linux 2.6 ????
>
>I can compile 1.3.2 with gcc 3.3.4 and Linux 2.4 headers,
>and run it on Linux 2.6.7, but it has some keyboard press
>problems. The same dosemu.bin works fine with our apps
>in 2.4.31, though!
>
>So I tried to compile with Linux 2.6.7 headers, but the make
>gets some obsolete warnings and then fails with many parse errors
>in /usr/include/linux/mod_devicetable.h related to symbols like
>__u32 etc....
>
>Now, if I relink 'ln -sf linux-2.4.31 linux' it still complains
>about using -malign-????? is obsolete to use -falign-????? but
>it builds fine.
>
I run it on 2.6.12 from kernel.org, just linked ln -s
/usr/src/linux-2.6.12 /usr/src/linux
I had similar problems when compiling with different headers than
running kernel, and also enabling additional optimizations to gcc also
gave compilation errors, so i used pure 1.3.2 without my modifications
and 2.6.12 form kernel.org and it works for me.
oh.... sorry i forgot, i had to insert "#include <linux/types.h>" in
some places... but i don't remember where, also
# diff /usr/src/linux/include/linux/mod_devicetable.h
/usr/src/linux/include/linux/mod_devicetable.h_bak
10,12d9
< #include <linux/types.h>
<
< //#ifdef __KERNEL__
13a11,13
>
> #ifdef __KERNEL__
> #include <linux/types.h>
15c15
< //#endif
---
> #endif
simply hashed the __KERNEL__ variable and always included
<linux/types.h> there
i dont really remember what was the real problem, but first try to
modify the mod_devicetable.h
Maciek Stopa
next prev parent reply other threads:[~2005-07-12 20:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-12 20:07 Dosemu 1.3.2 and linux 2.6.7 headers Hufnus
2005-07-12 20:21 ` Maciek Stopa [this message]
2005-07-12 20:49 ` Hufnus
2005-07-12 20:58 ` Maciek Stopa
2005-07-12 23:05 ` Hufnus
2005-07-12 23:35 ` Bart Oldeman
2005-07-12 23:43 ` Julius Schwartzenberg
2005-07-13 0:15 ` Hufnus
2005-07-13 1:44 ` Bart Oldeman
2005-07-13 4:20 ` Hufnus
-- strict thread matches above, loose matches on Subject: below --
2005-07-13 3:47 Stas Sergeev
2005-07-13 4:36 ` Hufnus
2005-07-13 7:53 ` Bart Oldeman
2005-07-13 15:19 Stas Sergeev
2005-07-13 16:03 Stas Sergeev
2005-07-13 22:26 ` Julius Schwartzenberg
2005-07-14 4:03 Stas Sergeev
2005-07-14 10:01 ` Julius Schwartzenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42D42647.8070900@genesilico.pl \
--to=maciek@genesilico.pl \
--cc=linux-msdos@vger.kernel.org \
--cc=tonyb@thekrnl.sysdev.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.