[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] ecore on 2.6.16 kernels

On 8/12/06, blak <blakflow@gmail.com> wrote:
I have problems compiling ecore on kernel.
As I found that this is a problem with kernel headers:
http://bugzilla.kernel.org/show_bug.cgi?id=6302 this is a bug report
and it was fixed in 2.6.17 kernels.
I found solution in XFree86 mailing list:

and modifie ecore_fb_private.h as folows:
#include <linux/kd.h>
#include <linux/vt.h>
#include <linux/fb.h>
#define kernel_ulong_t unsigned long <-added
#define BITS_PER_LONG 32<-modified<-added
#include <linux/input.h>
#undef kernel_ulong_t <-added
#undef BITS_PER_LONG <-added
#include <signal.h>
#include <fcntl.h>
#include <errno.h>

and it compiles clean. As I understand userspace programs dont use
struct with this modified defines. May be it posible to include this
defines for 2.6.16 kernels.

thanks for your post, as soon as i have a free time ill commit it, i
am kind of busy this days.