DirectFB - Home of the pragmatist Roadmap


[directfb-users] Compile error
Mailing List archive

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

[directfb-users] Compile error



Hi,

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

OS : Mandrake Linux 10.0
Kernel : 2.6.3

Error Messages:

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
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 `/home/aykut/source/DirectFB-0.9.20/gfxdrivers/matrox'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aykut/source/DirectFB-0.9.20/gfxdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aykut/source/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2


After these errors, I have tried the following command and 'make' it again:

./configure --prefix=/usr --with-gfxdrivers=i810,nvidia

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
idirectfbvideoprovider_v4l.c:110: error: field `vidbuf' has incomplete type
idirectfbvideoprovider_v4l.c: In function `v4l_stop':
idirectfbvideoprovider_v4l.c:1038: error: dereferencing pointer to incomplete type
idirectfbvideoprovider_v4l.c: In function `wait_for_buffer':
idirectfbvideoprovider_v4l.c:1096: error: dereferencing pointer to incomplete type
idirectfbvideoprovider_v4l.c:1112: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1112: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1112: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1112: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c: In function `V4L2_Thread':
idirectfbvideoprovider_v4l.c:1141: error: dereferencing pointer to incomplete type
idirectfbvideoprovider_v4l.c:1144: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1144: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1144: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1144: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1159: error: storage size of `cur' isn't known
idirectfbvideoprovider_v4l.c:1208: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1208: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1208: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1208: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1159: warning: unused variable `cur'
idirectfbvideoprovider_v4l.c: In function `v4l2_playto':
idirectfbvideoprovider_v4l.c:1338: error: dereferencing pointer to incomplete type
idirectfbvideoprovider_v4l.c:1339: error: dereferencing pointer to incomplete type
idirectfbvideoprovider_v4l.c:1341: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1341: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1341: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1341: error: invalid application of `sizeof' to an incomplete type
idirectfbvideoprovider_v4l.c:1354: error: dereferencing pointer to incomplete type
idirectfbvideoprovider_v4l.c:1354: error: dereferencing pointer to incomplete type
make[3]: *** [idirectfbvideoprovider_v4l.lo] Error 1
make[3]: Leaving directory `/home/aykut/source/DirectFB-0.9.20/interfaces/IDirectFBVideoProvider'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aykut/source/DirectFB-0.9.20/interfaces'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aykut/source/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2




Home | Main Index | Thread Index


directfb.org / Development / Old Archives