|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [directfb-users] Re: directFB 0.9.20 fails to compile
You might want to look at the following patch, which fixes this behaviour : http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/dev-libs/DirectFB/files/0.9.20-linux-2.6.patch?rev=1.3 Kristof Quoting Flavio <flavio.pan@tiscalinet.it>: > Hi list, > In order to make my matrox g550 to out on my tv I'm following the steps > as described on matrox-tv-out-howto (thank you so mutch to the authors). > When I try to compile direct FB 0.9.20 from the source the configuration > script "./configure --enable-multi --with-gfxdrivers=matrox" does not > report any error but then during the compiling process with make I get > the following error: > > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src > > -D_REENTRANT -Wall -O3 -ffast-math -pipe > > -Werror-implicit-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 -D_REENTRANT > > -Wall -O3 -ffast-math -pipe -Werror-implicit-function-declaration -c > > matrox_maven.c > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src > > -D_REENTRANT -Wall -O3 -ffast-math -pipe > > -Werror-implicit-function-declaration -c matrox_maven.c -fPIC -DPIC > > -o .libs/matrox_maven.o > > 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) > > Trying to understand what's happened I had a look to the file > matrox_maven.c and I've noticed it includes <linux/i2c-dev.h> but the > structure i2c_smbus_write_byte_data is not defined there. On the other > hand the file <linux/i2c.h> seems to provide a declaration for > i2c_smbus_write_byte_data. > I'm wondering if there is something wrong somwhere in my configuration, > does anyone understand what happens here? > I don't know if I provided every needed information to figure out where > is the problem, if not ask me about. > > Thanks, > Flavio > > > > > -- > Info: To unsubscribe send a mail to ecartis@directfb.org with > "unsubscribe directfb-users" as subject. > > -- Info: To unsubscribe send a mail to ecartis@directfb.org with "unsubscribe directfb-users" as subject.
|
|
| directfb.org |
|
Development |
|
Old Archives |