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

Bug#220517: linux-kernel-headers: I2C support broken, prevents building several packages



Package: linux-kernel-headers
Version: 2.5.999-test7-bk-9
Severity: important

For example:

gcc -DHAVE_CONFIG_H -I. -I../../../gfxdrivers/matrox -I../.. -I../../../include -I../../../src -D_REENTRANT -Wall -O3 -ffast-math -pipe -DFUSION_FAKE -Werror-implicit-function-declaration -c ../../../gfxdrivers/matrox/matrox_maven.c  -fPIC -DPIC -o matrox_maven.lo
In file included from ../../../gfxdrivers/matrox/matrox_maven.c:32:
/usr/include/linux/i2c-dev.h:37: error: field `__user' has incomplete type
/usr/include/linux/i2c-dev.h:37: error: parse error before '*' token
/usr/include/linux/i2c-dev.h:42: error: field `__user' has incomplete type
/usr/include/linux/i2c-dev.h:42: error: parse error before '*' token
/usr/include/linux/i2c-dev.h:44: error: parse error before '}' token
../../../gfxdrivers/matrox/matrox_maven.c: In function `maven_write_byte':
../../../gfxdrivers/matrox/matrox_maven.c:63: error: implicit declaration of function `i2c_smbus_write_byte_data'
../../../gfxdrivers/matrox/matrox_maven.c: In function `maven_write_word':
../../../gfxdrivers/matrox/matrox_maven.c:80: error: implicit declaration of function `i2c_smbus_write_word_data'
../../../gfxdrivers/matrox/matrox_maven.c: In function `maven_open':
../../../gfxdrivers/matrox/matrox_maven.c:311: error: `I2C_SLAVE' undeclared (first use in this function)
../../../gfxdrivers/matrox/matrox_maven.c:311: error: (Each undeclared identifier is reported only once
../../../gfxdrivers/matrox/matrox_maven.c:311: error: for each function it appears in.)
../../../gfxdrivers/matrox/matrox_maven.c: In function `maven_init':
../../../gfxdrivers/matrox/matrox_maven.c:450: error: `I2C_SLAVE' undeclared (first use in this function)
make[4]: *** [matrox_maven.lo] Error 1

Given how libc6-dev has now become dependant upon linux-kernel-headers (why the hell wasn't libc6-dev designed to
accomodate an existing and reliable kernel-headers-2.4.xx to fulfill this dependency? ARGH!), I very much have to
consider this an important bug.

-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux omena 2.4.22-ben2 #1 ti syyskuun 23. 21:23:03 EEST 2003 ppc
Locale: LANG=fi_FI@euro, LC_CTYPE=fi_FI@euro (ignored: LC_ALL set to fi_FI@euro)

-- no debconf information




Reply to: