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
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to