On Tue, Dec 12, 2006 at 10:56:45PM +0100, Duncan Webb wrote:
> Problem compiling DirectFB-1.0.0-rc2, must be a header problem. I tried
> upping the kernel headers to 2.6.18.5 but this caused too many problems
> so I brought them back down to 2.6.12.0.
> 
> The top of the output is:
> 
> make[3]: Entering directory
> `/sources/ffs/DirectFB-1.0.0-rc2/gfxdrivers/matrox'
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
> -I../../include                -I../../lib    -I../../lib             
> -I../../src             -I../../systems  -D_REENTRANT   -O3 -ffast-math
> -pipe -O3 -march=pentium3 -mtune=pentium3 -fPIC -pipe -D_GNU_SOURCE 
> -Werror-implicit-function-declaration -c matrox_maven.c
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib
> -I../../lib -I../../src -I../../systems -D_REENTRANT -O3 -ffast-math
> -pipe -O3 -march=pentium3 -mtune=pentium3 -fPIC -pipe -D_GNU_SOURCE
> -Werror-implicit-function-declaration -c matrox_maven.c  -fPIC -DPIC -o
> .libs/matrox_maven.o
> In file included from matrox_maven.c:37:
> /usr/include/linux/sysfs.h:70: error: field `s_sibling' has incomplete type

You kernel headers are broken (linux/i2c.h at least). linux/sysfs.h 
should not be included in user space code.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

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

Reply via email to