[ac] DirectFB.spec -> matrox_maven.c:311: error: `I2C_SLAVE' undeclared (first use in this function)

Mateusz Korniak mateusz w ant.gliwice.pl
Wto, 11 Lis 2003, 18:27:53 CET


Niestety wywala się, co nie pozawala zbudować links2, czy też xine-lib -> 
kdemultimedia.
Ja niestety kompletnie nie mam pojęcia o co może chodzić ... 

 athlon-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include 
-I../../src -I/usr/include/libmpeg3 -D_REENTRANT -Wall -O2 -march=athlon 
-DFUSION_FAKE -Werror-implicit-function-declaration -MT matrox_maven.lo -MD 
-MP -MF .deps/matrox_maven.Tpo -c matrox_maven.c  -fPIC -DPIC -o 
.libs/matrox_maven.o
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 
`/home/users/matkor/rpm/BUILD/DirectFB-0.9.20/gfxdrivers/matrox'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/users/matkor/rpm/BUILD/DirectFB-0.9.20/gfxdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/matkor/rpm/BUILD/DirectFB-0.9.20'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.97157 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.97157 (%build)

-- 
Mateusz Korniak
"Black holes are where God divided by zero." - Steven Wright



Więcej informacji o liście dyskusyjnej pld-devel-pl