DirectFB - Home of the pragmatist Roadmap


[directfb-users] Re: directFB 0.9.20 fails to compile
Mailing List archive

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

[directfb-users] Re: directFB 0.9.20 fails to compile



On Sat, Mar 20, 2004 at 04:09:54PM +0100, Flavio wrote:
> >/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'
> 
> 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.

Your kernel headers seem to be broken. You can either fix them or you can 
grab the cvs version of DirectFB (it has a local copy of i2c-dev.h).

-- 
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/


--
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