DirectFB - Home of the pragmatist Roadmap


[directfb-users] can't compile directfb 0.9.20 with a 2.6.3 gentoo kerne
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-users] can't compile directfb 0.9.20 with a 2.6.3 gentoo kernel --> I2Cissues


  • To: directfb-users@directfb.org
  • Subject: [directfb-users] can't compile directfb 0.9.20 with a 2.6.3 gentoo kernel --> I2Cissues
  • From: Zoolook <Sarmalele.Reci@gmx.net>
  • Date: Mon, 16 Feb 2004 08:50:41 +0100
  • Content-transfer-encoding: 7bit
  • Content-type: text/plain; charset=us-ascii; format=flowed
  • Sender: directfb-users-bounce@directfb.org
  • User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124

Hi list,

I'm failing to compile directfb 0.9.20 on a gentoo-linux-patched 2.6.3-rc2 kernel. I even grabbed the fusion-patch from CVS (I want multi-app support) and that one compiled successfully (the path provided with 0.9.20 didn't). I also re-compiled glibc-2.3.2-r9 against the headers of my new kernel (which I symlinked in /usr/include/linux).
The whole point is I want to run freevo & mplayer with directfb on my Matrox G400, and this works with the 2.4.22 gentoo-kernel, so I basicly took the old kernel configuration when I copmpiled the 2.6.3-rc2 kernel.
The error I get is regarding I2C, I don't know if that is broken in the kernel, but the sensors and ivtv modules are loading.
Can anyone give me a hint? More info needed? Below is my error message on directfb compilation.

Thanks in advance,
Lucian


gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -I/usr/include/libmpeg3 -D_REENTRANT -Wa
ll -O3 -ffast-math -pipe -march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer -Werror-im
plicit-function-declaration -c matrox_crtc2.c -fPIC -DPIC -o .libs/matrox_crtc2.o
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -
I../../src -I/usr/include/libmpeg3 -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon-tbird -mcpu=a thlon-tbird -O3 -pipe -fomit-frame-pointer -Werror-implicit-function-declaration -c matrox_maven.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -I/usr/include/libmpeg3 -D_REENTRANT -Wa ll -O3 -ffast-math -pipe -march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer -Werror-im plicit-function-declaration -c matrox_maven.c -fPIC -DPIC -o .libs/matrox_maven.o
In file included from matrox_maven.c:32:
/usr/include/linux/i2c-dev.h:37: error: field `__user' has incomplete type
/usr/include/linux/i2c-dev.h:37: error: syntax error before '*' token
/usr/include/linux/i2c-dev.h:42: error: field `__user' has incomplete type
/usr/include/linux/i2c-dev.h:42: error: syntax error before '*' token
/usr/include/linux/i2c-dev.h:44: error: syntax error before '}' token
matrox_maven.c: In function `maven_write_byte':
matrox_maven.c:63: error: implicit declaration of function `i2c_smbus_write_byte_data'
matrox_maven.c: In function `maven_write_word':
matrox_maven.c:80: error: implicit declaration of function `i2c_smbus_write_word_data'
matrox_maven.c: In function `maven_open':
matrox_maven.c:311: error: `I2C_SLAVE' undeclared (first use in this function)
matrox_maven.c:311: error: (Each undeclared identifier is reported only once
matrox_maven.c:311: error: for each function it appears in.)
matrox_maven.c: In function `maven_init':
matrox_maven.c:450: error: `I2C_SLAVE' undeclared (first use in this function)
make[3]: *** [matrox_maven.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20/gfxdrivers/matrox'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20/gfxdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2


--
Info: To unsubscribe send a mail to ecartis@directfb.org with "unsubscribe directfb-users" as subject.



Home | Main Index | Thread Index


directfb.org / Development / Old Archives