|
From: Nicolas B. <ni...@bo...> - 2005-06-08 18:24:20
|
Hello, I applied this patch, and fixed the compile warnings you mentionned in the CVS. Thanks for reporting these problems. I'll release version 0.1.2 soon, because I think this problem affects almost all distributions. Best regards, Nicolas On Wed, 2005-06-08 at 13:14 -0400, Wall, Kurt wrote: > On Wed, 2005-06-08 at 17:47 +0200, Nicolas Boichat wrote: > > Hello, > > > > I don't understand why FC3 still uses 2.4 kernel headers..... > > > > Anyway, I think I found why the problem occurs, a "small" problem of > > preprocessor symbols... > > > > Could you try the attached patch ? > > (Apply with "patch -p0 < i2c-dev.patch" in ddccontrol directory) > > The patch applied cleanly and ddccontrol built. There was an > annoying warning (see below), but it built and seems to work. > Thanks again for the quick response. > > make[3]: Entering directory > `/home/kwall/Desktop/ddccontrol-0.1.1/src/ddcpci' > if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../lib -DLOCALEDIR=\"\" > -g -O2-Wall -DDATADIR="\"/usr/local/share/ddccontrol-db\"" - > DBINDIR="\"/usr/local/bin\"" -MT main.o -MD -MP -MF ".deps/main.Tpo" -c > -o main.o main.c; \ > then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f > ".deps/main.Tpo"; exit 1; fi > main.c: In function `open_card': > main.c:126: warning: long unsigned int format, unsigned int arg (arg 9) > main.c:126: warning: long unsigned int format, unsigned int arg (arg 10) > main.c: In function `list': > main.c:215: warning: long unsigned int format, unsigned int arg (arg 9) > main.c:215: warning: long unsigned int format, unsigned int arg (arg 10) > main.c: At top level: > main.c:54: warning: 'dumphex' defined but not used > if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../lib -DLOCALEDIR=\"\" > -g -O2-Wall -DDATADIR="\"/usr/local/share/ddccontrol-db\"" - > DBINDIR="\"/usr/local/bin\"" -MT nvidia.o -MD -MP -MF ".deps/nvidia.Tpo" > -c -o nvidia.o nvidia.c; \ > then mv -f ".deps/nvidia.Tpo" ".deps/nvidia.Po"; else rm -f > ".deps/nvidia.Tpo";exit 1; fi > > Best regards, > |