From: Robert Hancock <hancockr@shaw.ca>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: BUG in Linux 2.6.16/2.6.16.1 (compilation failure of third party software)
Date: Tue, 28 Mar 2006 20:20:46 -0600 [thread overview]
Message-ID: <4429EEFE.60608@shaw.ca> (raw)
In-Reply-To: <5VvNw-3B1-3@gated-at.bofh.it>
Thierry Godefroy wrote:
> Oh, yeah ?... Really ?... Please, read the errors before drawing hasted conclusions...
> The errors occur after the mere #inclusion of Linux headers. Here is a simple "code"
> which will trigger the error:
>
> #ifndef __KERNEL__
> #define __KERNEL__
> #endif
>
> #include <linux/module.h>
>
> int main() {
> return 0;
> }
>
> And I don't see anything wrong in that code...
Sure there is, it's a userspace program that's including kernel headers
for one thing.. Also what makefiles are being used to compile this? You
can't just use any old makefile on a kernel module in 2.6 and expect it
to work properly.
Given that the kernel doesn't produce such errors in its own
compilation, that pretty much automatically makes it the problem of the
3rd-party code.
>> Linux makes no effort to guarantee source or binary compatibility with
>> out of tree kernel modules, or userspace code that includes kernel
>> headers.
>
> That's a pity... Non-regression should be guaranteed. The problem with Linux
> is that each new version brings a load of incompatibilities with third parties
> drivers (graphic cards, win/smart modems, wifi cards, etc, etc), most of which
> using proprietary code which sources are unavailable to the end user. The fact
> that Linux keeps breaking those drivers code is not going to encourage hardware
> vendors to make Linux drivers for their products. For example, ATI takes a
> couple of months to catchup with the kernel changes, and each time they release
> a new driver the next Linux release breaks it. :-(
This has been covered time and again. If drivers don't want to be broken
by kernel changes, the best solution is to get them included in the
kernel source tree where they will be kept up to date automatically. And
there is very little interest in the community in helping binary drivers
work any better, they're not something people want to encourage, for
good reason.
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
next prev parent reply other threads:[~2006-03-29 2:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5Vr7d-4VR-15@gated-at.bofh.it>
2006-03-28 23:03 ` BUG in Linux 2.6.16/2.6.16.1 (compilation failure of third party software) Robert Hancock
[not found] ` <5Vvkv-2MB-27@gated-at.bofh.it>
[not found] ` <5VvNw-3B1-3@gated-at.bofh.it>
2006-03-29 2:20 ` Robert Hancock [this message]
2006-03-28 18:29 Thierry Godefroy
2006-03-28 22:51 ` Lee Revell
2006-03-28 23:21 ` Thierry Godefroy
2006-03-29 4:42 ` Arjan van de Ven
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=4429EEFE.60608@shaw.ca \
--to=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox