Summary: | Kdebase don't compile with 2.6 headers | ||
---|---|---|---|
Product: | [Unmaintained] kcontrol | Reporter: | giuseppe <metrobotte> |
Component: | kcmjoystick | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | build error |
Description
giuseppe
2006-08-10 05:49:12 UTC
According to a report on irc this happens with 3.5 svn as well. Isn't is proper procedure to not include kernel headers? I thought the kernel guys have always taken that view. I'm the one who reported it, attaching the error. in kcontrol/joystick/joydevice.h, I replaced the #include <linux/joystick.h> by the content of the /usr/include/linux/joystick file, removed the #ifdef and friends, and the last problematic structure with the __s64 members. Then it built fine, but I probably added more things than what was required in the joydevice header. Created attachment 17590 [details]
build error
oh, great, I just had a look at bug 124619 (duplicate), and it's marked as invalid. Is it really correct to include directly the headers in /usr/include/linux ? *** This bug has been marked as a duplicate of 124619 *** It doesn't seem to be correct. Please have a look at this : http://www.kernel-traffic.org/kernel-traffic/kt20010618_122.html#2 http://newkerneltrap.osuosl.org/node/6536 Solved with 3.5.5 works perfect with 2.6.18 headers |