Including fb.h from userspace
I'm trying to compile the XFree86-4.3.99.10 framebuffer driver with Linux-2.6.1. It breaks because the driver includes the kernel's fb.h which includes other stuff which seems not to be userland clean.
What's the "right" way or variant to include fb.h from userland?
Robert
Signature · 12 lines
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hornemannstraße 12, 31137 Hildesheim, Germany
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdnI have a fix for that. I will be submitting it soon up stream.
Quoted 8 lines · Robert Schwebel
I'm trying to compile the XFree86-4.3.99.10 framebuffer driver with Linux-2.6.1. It breaks because the driver includes the kernel's
fb.hwhich includes other stuff which seems not to be userland clean.What's the "right" way or variant to include
fb.hfrom userland?Robert
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Quoted 5 lines · Robert Schwebel
I'm trying to compile the XFree86-4.3.99.10 framebuffer driver with Linux-2.6.1. It breaks because the driver includes the kernel's
fb.hwhich includes other stuff which seems not to be userland clean.What's the "right" way or variant to include
fb.hfrom userland?
Yea, several people has posted patches to fix the problem but they are not getting merged. Basically you must 'move' fb_pixmap to the __KERNEL area and move some includes from top (i remember to leave just <asm/types.h> in top, everything else to __KERNEL area) in file include/linux/fb.h
-solca
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Quoted 5 lines
Quoted 5 lines
I'm trying to compile the XFree86-4.3.99.10 framebuffer driver with Linux-2.6.1. It breaks because the driver includes the kernel's
fb.hwhich includes other stuff which seems not to be userland clean.
Quoted 7 lines
Quoted 1 line
What's the "right" way or variant to include
fb.hfrom userland?Yea, several people has posted patches to fix the problem but they are not getting merged. Basically you must 'move'
fb_pixmapto the__KERNELarea and move some includes from top (i remember to leave just <asm/types.h> in top, everything else to__KERNELarea) in fileinclude/linux/fb.h
Yeap. That is all that is needed.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn