Marcel Siegert wrote:
> On Thursday 14 December 2006 18:21, Duncan Webb wrote:
>> 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
>>> /usr/include/linux/sysfs.h:71: error: field `s_children' has incomplete type
>>> /usr/include/linux/sysfs.h:74: error: parse error before "umode_t"
>>> /usr/include/linux/sysfs.h:76: error: parse error before '}' token
>>> In file included from /usr/include/linux/sched.h:16,
>>>                  from /usr/include/linux/module.h:9,
>>>                  from /usr/include/linux/i2c.h:30,
>>>                  from matrox_maven.c:43:
>>> /usr/include/linux/signal.h:2:2: warning: #warning "You should include
>>> <signal.h>. This time I will do it for you."
>>> In file included from /usr/include/linux/sched.h:79,
>>>                  from /usr/include/linux/module.h:9,
>>>                  from /usr/include/linux/i2c.h:30,
>>>                  from matrox_maven.c:43:
>>>
>>>
>>> Any suggestions on what needs changing.
>>>
>> ping
>>
> pong ...
> 
> what is your autogen.sh or configure like?

Same as I used for DirectFB-0.9.25.1

  ./configure \
    --prefix=/usr \
    --infodir=/usr/share/info \
    --mandir=/usr/share/man \
    --sysconfdir=/etc \
    --libexecdir=/usr/sbin \
    --enable-x11 \
    --enable-multi \
    --enable-sysfs \
    --enable-zlib \
    --enable-vnc \
    --disable-osx \
    --enable-video4linux \
    --enable-video4linux2 \
    --with-inputdrivers=joystick,keyboard,linuxinput,\
      lirc,ps2mouse,serialmouse

sysfs.h comes from linux-libc-headers-2.6.12.0 and I'm using kernel
2.6.18.5, not that this makes much difference.

TIA
Duncan


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

Reply via email to