hi there, trying to compile DirectFB-0.9.20 (download from
www.directfb.org) here. the ./confgiure msg looks good:
================================================================
Build options:
Version 0.9.20
Install prefix /usr/local
Build shared libs yes
Build static libs no
Module directory ${exec_prefix}/lib/directfb-0.9.20
CFLAGS -D_REENTRANT -Wall -O3 -ffast-math -pipe -DFUSION_FAKE -Werror-implicit-function-declaration
Misc options:
MMX support yes
SSE support yes
Debug mode no
Trace support no
Multi App support no
Core Systems:
Linux FBDev support yes
SDL support yes
Building Tools yes
Building Image Providers:
JPEG yes
PNG yes
GIF yes
MPEG2 I-Frame yes
Building Video Providers:
Libmpeg3 yes
Video4Linux yes
Building Font implementations:
FreeType2 yes
DirectFB font yes
Building Graphics Drivers:
3Dfx Voodoo yes
ATI Radeon yes
ATI Rage 128 yes
Intel i810 yes
Matrox yes
NeoMagic yes
NSC Geode yes
nVidia RIVA TNT yes
S3 Savage no
TVIA CyberPro yes
VIA CLE266 yes
Building Input Drivers:
DBox2 Remote no
Linux Input no
H3600 Touchscreen no
MuTouch touchscreen no
SonyPI Jogdial yes
ucb1x00 Touchscreen no
WM97xx Touchscreen no
=================================================================
but when compile, i ran into this:
In file included from matrox_maven.c:32:
/usr/include/linux/i2c-dev.h:29:40: missing binary operator 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 `/opt/DirectFB-0.9.20/gfxdrivers/matrox'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/DirectFB-0.9.20/gfxdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2
[root@localhost DirectFB-0.9.20]# ./configure --help
===============================================================
my display card is Matrox G400, and i checked my kernel, it appears display card and everything has installed correctly. i'm not sure why compiler is complaining matrox_maven.c and /usr/include/linux/i2c-dev.h. not quite sure what has to do with it. any suggestion help me get this thing compiled?
thanks =-)