public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Dosemu 1.3.2 and linux 2.6.7 headers
@ 2005-07-13  3:47 Stas Sergeev
  2005-07-13  4:36 ` Hufnus
  2005-07-13  7:53 ` Bart Oldeman
  0 siblings, 2 replies; 18+ messages in thread
From: Stas Sergeev @ 2005-07-13  3:47 UTC (permalink / raw)
  To: linux-msdos

Bart Oldeman wrote:
> This is not its default symbolic link. You must have created it 
> yourself, manually.
Hi Bart, actually I've seen such
a problem with Slackware in many
different places, so I am starting
to beleive it really uses a symlink.
I remember Patrick Volkerding claimed
in that very list that Slackware doesn't
do this, but it looks like it was changed,
or at least there is some bug...
If some distro really does this, then
rooting out this tendency among users
is going to be really troublesome:(
And some people claim that even
installing the 2.6 headers from the
slackware package still gives an error!
And only that the 2.4 headers work
properly.

Maybe add the proper headers to the
dosemu source tree as we did before?
We can convince people to use the
proper headers by answering the same
question over and over again, but we
really can't change the distribution.


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Dosemu 1.3.2 and linux 2.6.7 headers
@ 2005-07-14  4:03 Stas Sergeev
  2005-07-14 10:01 ` Julius Schwartzenberg
  0 siblings, 1 reply; 18+ messages in thread
From: Stas Sergeev @ 2005-07-14  4:03 UTC (permalink / raw)
  To: linux-msdos

Hello.

Julius Schwartzenberg wrote:
> The kernel header package that originally came 
> with the version of Slackware I was using would always solve the 
> problems for me.
That's true and that's the 2.4 headers,
but can you comment on this wrt compiling
dosemu:
ftp://ftp.slackware.com/pub/slackware/slackware-current/testing/packages/linux-2.6.11.11/kernel-headers-2.6.11.11-i386-1.tgz



^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Dosemu 1.3.2 and linux 2.6.7 headers
@ 2005-07-13 16:03 Stas Sergeev
  2005-07-13 22:26 ` Julius Schwartzenberg
  0 siblings, 1 reply; 18+ messages in thread
From: Stas Sergeev @ 2005-07-13 16:03 UTC (permalink / raw)
  To: linux-msdos

Hello.

Hufnus wrote:
> After some googling I think I finally found the
> correct linux-libc-headers (as they are now called).
> http://ep09.pld-linux.org/~mmazur/linux-libc-headers/ <http://ep09.pld-linux.org/%7Emmazur/linux-libc-headers/>
Yes, that's the "correct" headers,
but unfortunately it doesn't save
the world. This project was rather
ambitious, but I am not sure it have
achieved all of its goals. The
intention was, AFAIK, to merge the
headers back to the kernel tree so
that the kernel folks to maintain
it - failed. The other intention
was to convince the distributors to
include it - I think this hasn't
happened too.
Now you are really supposed to use
the headers with which your glibc
was compiled! And even though the
headers you've found are the "correct"
ones, your glibc was not compiled with
those:( So the original suggestion
still stays - using the slackware
package of the 2.4 headers will work
the best:(
Note that compiling your software
with 2.4 headers doesn't mean that you
have to use the 2.4 kernel too. It
actually means nothing. You won't loose
any feature. Choosing the proper headers,
even if they are very old, will never
make your software any harm.

> just now that they have an alternate 2.6 kernel in the
> distribution and note that it is an alternate!
kernel is the one thing, glibc-kernheaders
is another. One have to understand that
the glibc-kernheaders are not the same
as those that come with the kernel. And
now slackware have the 2.6 set of the
glibc-kernheaders (or whatever they call it).
No matter what kernel you use, the software
(like dosemu) must compile with that headers
(if glibc was compiled with them, at least).
To the best of my knowledge, this is not the
case with the slackware. The problem with
pci.h, according to what I've heard, is
there in their "sanitized" set of 2.6 headers,
which is not good AFAICT. If you can verify
this - would be nice.

> now I am going to switch to the libc headers or "sanitized
> kernel headers", since they seem robust enough and I am
> now aware of them...
Not so fast - you need the headers your
glibc was compiled with - thats the problem.


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Dosemu 1.3.2 and linux 2.6.7 headers
@ 2005-07-13 15:19 Stas Sergeev
  0 siblings, 0 replies; 18+ messages in thread
From: Stas Sergeev @ 2005-07-13 15:19 UTC (permalink / raw)
  To: linux-msdos

Hello.

Bart Oldeman wrote:
>> Maybe add the proper headers to the
>> dosemu source tree as we did before?
> The question is which headers?
I think some of them can be located if
you symlink the kernel headers and try
to compile. Of course it is not guaranteed
to be all of them, but better than nothing.
The thing is that the source tree of dosemu
already contains a lot of the "problematic"
headers (you added most of them anyway:).
We can either keep adding to it, or remove
it entirely. Right now it is there, yet it
doesn't contain the sufficient amount of
headers to get the thing compiled on 2.6,
so basically it is useless. I still have
the hopes it can be entirely removed but...
not today:) (i.e. we really have to check
about the slackware, I guess)


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Dosemu 1.3.2 and linux 2.6.7 headers
@ 2005-07-12 20:07 Hufnus
  2005-07-12 20:21 ` Maciek Stopa
  2005-07-12 20:49 ` Hufnus
  0 siblings, 2 replies; 18+ messages in thread
From: Hufnus @ 2005-07-12 20:07 UTC (permalink / raw)
  To: linux-msdos

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.

Thanks
TonyB

--
  __      __  _     I N C.               http://www.sysdev.org
/ __|\\// __||  \  __   __          /         tonyb@sysdev.org
\__ \ \/\__ \||)|/ O_)\/ /        \/  System Tools / Utilities
|___/ || ___/|_ /\___|\_/        WIntel / Linux Device Drivers


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2005-07-14 10:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13  3:47 Dosemu 1.3.2 and linux 2.6.7 headers Stas Sergeev
2005-07-13  4:36 ` Hufnus
2005-07-13  7:53 ` Bart Oldeman
  -- strict thread matches above, loose matches on Subject: below --
2005-07-14  4:03 Stas Sergeev
2005-07-14 10:01 ` Julius Schwartzenberg
2005-07-13 16:03 Stas Sergeev
2005-07-13 22:26 ` Julius Schwartzenberg
2005-07-13 15:19 Stas Sergeev
2005-07-12 20:07 Hufnus
2005-07-12 20:21 ` Maciek Stopa
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox