|
From: Nicolas B. <ni...@bo...> - 2005-06-08 14:41:47
|
Hello, Grr... It seems there are always such kind of problems with kernel headers... Could you send me config.log, and /usr/include/linux/version.h and /usr/include/linux/i2c-dev.h? Thanks. Best regards, Nicolas On Wed, 2005-06-08 at 10:13 -0400, Wall, Kurt wrote: > On a stock, updated FC3 system, ddccontrol-0.1.1 failes > to build (sorry for the unsightly line wrap): > > Making all in src > make[1]: Entering directory `/home/kwall/Desktop/ddccontrol-0.1.1/src' > make all-recursive > make[2]: Entering directory `/home/kwall/Desktop/ddccontrol-0.1.1/src' > Making all in lib > make[3]: Entering directory > `/home/kwall/Desktop/ddccontrol-0.1.1/src/lib' > if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I.. -DLOCALEDIR= > \"/usr/local/share/locale\" -I/usr/include/libxml2 -g -O2 -Wall - > DDATADIR="\"/usr/local/share/ddccontrol-db\"" -DBINDIR="\"/usr/local/bin > \"" -MT ddcci.o -MD -MP -MF ".deps/ddcci.Tpo" -c -o ddcci.o ddcci.c; \ > then mv -f ".deps/ddcci.Tpo" ".deps/ddcci.Po"; else rm -f > ".deps/ddcci.Tpo"; exit 1; fi > ddcci.c: In function `i2c_write': > ddcci.c:232: error: storage size of 'msg_rdwr' isn't known > ddcci.c:233: error: storage size of 'i2cmsg' isn't known > ddcci.c:244: error: `I2C_RDWR' undeclared (first use in this function) > ddcci.c:244: error: (Each undeclared identifier is reported only once > ddcci.c:244: error: for each function it appears in.) > ddcci.c:232: warning: unused variable `msg_rdwr' > ddcci.c:233: warning: unused variable `i2cmsg' > ddcci.c: In function `i2c_read': > ddcci.c:286: error: storage size of 'msg_rdwr' isn't known > ddcci.c:287: error: storage size of 'i2cmsg' isn't known > ddcci.c:294: error: `I2C_M_RD' undeclared (first use in this function) > ddcci.c:298: error: `I2C_RDWR' undeclared (first use in this function) > ddcci.c:286: warning: unused variable `msg_rdwr' > ddcci.c:287: warning: unused variable `i2cmsg' > make[3]: *** [ddcci.o] Error 1 > make[3]: Leaving directory > `/home/kwall/Desktop/ddccontrol-0.1.1/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/kwall/Desktop/ddccontrol-0.1.1/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/kwall/Desktop/ddccontrol-0.1.1/src' > make: *** [all-recursive] Error 1 > > The storage size of msg_rdwr and i2cmsg *should* be known, because > i2c-dev.h is properly included... > > Thanks, > |