DirectFB - Home of the pragmatist Roadmap


[directfb-users] Re: Compile error
Mailing List archive

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

[directfb-users] Re: Compile error



On Thu, Jul 01, 2004 at 06:05:33PM +0300, aykutkocak@superonline.com wrote:
> Hi,<br>
> <br>

First of all, please don't send html mail.

> I have just download the file  
'http://www.directfb.org/download/DirectFB/DirectFB-0.9.20.tar.gz'and 
tried to complile is regarding the README file. But I have got folloeing 
errrors during 'make' and could not compile the package successfully. So, 
I will be very glad if somebody suggest me how to compile and install this 
package<br>
> <br>
> OS : Mandrake Linux 10.0<br>
> Kernel : 2.6.3<br>
> <br>
> Error Messages:<br>
> <br>
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -D_REENTRANT -Wall -O3 -ffast-math -pipe -DFUSION_FAKE -Werror-implicit-function-declaration -c matrox_maven.c  -fPIC -DPIC -o .libs/matrox_maven.o<br>
> matrox_maven.c: In function `maven_write_byte':<br>
> matrox_maven.c:63: error: implicit declaration of function `i2c_smbus_write_byte_data'<br>
<snip>

It would appear that Mandrake has broken i2c header files. Either fix them 
or get the cvs version of DirectFB. It has a copy of the i2c-dev.h header 
file to avoid these problems.

> After these errors, I have tried the following command and 'make' it again:<br>
> <br>
>  ./configure --prefix=/usr --with-gfxdrivers=i810,nvidia<br>
> <br>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -DDATADIR=\"/usr/share/directfb-0.9.20\" -D_REENTRANT -Wall -O3 -ffast-math -pipe -DFUSION_FAKE -Werror-implicit-function-declaration -c idirectfbvideoprovider_v4l.c  -fPIC -DPIC -o .libs/idirectfbvideoprovider_v4l.o<br>
> idirectfbvideoprovider_v4l.c:110: error: field `vidbuf' has incomplete type<br>
> idirectfbvideoprovider_v4l.c: In function `v4l_stop':<br> BCA
<snip>

And the v4l headers are broken too. Fine distro by the looks of it :) I 
think this was fixed in cvs as well (by not enabling v4l2 support unless 
explicitly requested).

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




Home | Main Index | Thread Index


directfb.org / Development / Old Archives