Hello Denis,

this was the answer I got from the Slax developer concerning the different 
header files:


>Hello,
>/usr/include/linux contains headers for 2.4.x kernels,
>but kernel source in /usr/src/linux contains version 2.6.11.8.
>
>This is correct and it is explained somewhere in Slackware changelog,
>when software really needs new headers, it should look to /usr/src
>instead of /usr/include during compilation.


now how do I tell DirectFB to use the headerfiles in /usr/src/linux/include 
instead of /usr/include?

Invoking either autogen or configure with CFLAGS=-I/usr/src/linux/include 
results in i810 and i830 not beeing built despite having the defines in 
the fb.h.

Regards,

Christian











[EMAIL PROTECTED]
2005.06.14 17:20
Please respond to dok

 
        To:     [EMAIL PROTECTED]
        cc:     [EMAIL PROTECTED], [email protected]
        Subject:        Re: [directfb-dev] nividia driver source in CVS broken


Quoting [EMAIL PROTECTED]:
> > I just fixed the formatting in the Makefile.am, e.g. use tabs
> > instead of spaces. Did it help?
> 
> Unfortunately not, same errors exactly.
> 
> (I did run configure before make)
> 
> What do I have to do to get configure to build i810 and i830 drivers, as
> well?

Update your <linux/fb.h> to have these:

#define FB_ACCEL_I810           39      /* Intel 810/815                */
#define FB_ACCEL_I830           42      /* Intel 830M/845G/85x/865G     */


Better use the header of your kernel, 2.6 has them.

-- 
Best regards,
  Denis Oliver Kropp
 
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"




_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to