compile error kdebase-3.5.4/kcontrol/joystick

Gary L. Greene Jr. greeneg at phoenuxos.com
Sun Aug 27 17:35:02 BST 2006


On Sunday 27 August 2006 12:10, Martin Koller wrote:
> On Sunday 27 August 2006 17:54, Gary L. Greene Jr. wrote:
> > Thus the main reason why people shouldn't be using kernel includes. If
> > you need a particular include from kernel-land, copy it into your
> > sources.
>
> Does this mean I have to provide all different versions of those header
> files for all different kernel versions and check with configure magic
> which one to use ?

No. All you need is the generic header not the one from the most recent 
kernel. The reason for this is that much of the kernel's structures are 
externally safe, however internally, is a different matter all together. The 
kernel internally shifts code around and adding new code that cause issues 
for direct including of the kernel headers. The known hardware interfaces to 
the kernel are promised to remain the same for the 2.6 series. Here's a link 
to a good explanation of the situation and the pertinent discussion that 
Linus added about this:

http://old.kernelnewbies.org/faq/index.php3#headers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060827/d1b3096d/attachment.sig>


More information about the kde-core-devel mailing list