On Mon, 6 Sep 2004, Michael Lampe wrote:

Marc Aurele La France wrote:

They came straigt from linux-2.6.9rc1.

I realized that the cvs compiles fine with linux-2.4, but not the fbdev doesn't compile under 2.6.9rc1.

rc1 inserts a pointer to kernel memory into the middle of the fb_monspecs structure. So, either more of linux/fb.h needs to bracketed with #ifndef __KERNEL__, or rc1 breaks userland binary compatibility (among other things). In both cases, this is a kernel issue.

They will tell you it's not:

/usr/include/linux/list.h:700: warning: #warning "don't include kernel headers in userspace"

Irrelevant. The #include <linux/list.h> is only there in an attempt to resolve the type of the inserted kernel memory list pointer.


I don't know how to handle this properly, though.

Don't assume problems with test kernels need to be resolved here.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to