* Including fb.h from userspace
@ 2004-01-28 10:41 Robert Schwebel
2004-01-28 17:06 ` James Simmons
2004-01-28 18:29 ` Otto Solares
0 siblings, 2 replies; 4+ messages in thread
From: Robert Schwebel @ 2004-01-28 10:41 UTC (permalink / raw)
To: linux-fbdev-devel
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
--
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/osdn
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Including fb.h from userspace
2004-01-28 10:41 Including fb.h from userspace Robert Schwebel
@ 2004-01-28 17:06 ` James Simmons
2004-01-28 18:29 ` Otto Solares
1 sibling, 0 replies; 4+ messages in thread
From: James Simmons @ 2004-01-28 17:06 UTC (permalink / raw)
To: Robert Schwebel; +Cc: linux-fbdev-devel
I have a fix for that. I will be submitting it soon up stream.
On Wed, 28 Jan 2004, Robert Schwebel wrote:
> 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
>
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Including fb.h from userspace
2004-01-28 10:41 Including fb.h from userspace Robert Schwebel
2004-01-28 17:06 ` James Simmons
@ 2004-01-28 18:29 ` Otto Solares
2004-02-02 18:00 ` James Simmons
1 sibling, 1 reply; 4+ messages in thread
From: Otto Solares @ 2004-01-28 18:29 UTC (permalink / raw)
To: Robert Schwebel; +Cc: linux-fbdev-devel
On Wed, Jan 28, 2004 at 11:41:13AM +0100, Robert Schwebel wrote:
> 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?
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Including fb.h from userspace
2004-01-28 18:29 ` Otto Solares
@ 2004-02-02 18:00 ` James Simmons
0 siblings, 0 replies; 4+ messages in thread
From: James Simmons @ 2004-02-02 18:00 UTC (permalink / raw)
To: Otto Solares; +Cc: Robert Schwebel, linux-fbdev-devel
> > 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?
>
> 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
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-02 18:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-28 10:41 Including fb.h from userspace Robert Schwebel
2004-01-28 17:06 ` James Simmons
2004-01-28 18:29 ` Otto Solares
2004-02-02 18:00 ` James Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).