|
From: Nicolas B. <ni...@bo...> - 2004-12-10 15:21:18
|
Hello Ed, Thank you for the headers. Gentoo still use the stable version of pci utils (2.1.11), while Fedora uses the latest test version. I just commited a fix to the CVS, could you try to "cvs update", and tell me if it works? Best regards, Nicolas On Fri, 2004-12-10 at 07:50 +0000, Ed . wrote: > Hello Nicolas, > > This is a stock redhat fedora core 3, fully patched as of 3 or 4 days ago. > > Thanks for offering to help. I have attached the include files. The problem > with Mandrake 10.0 is different and the latest CVS version refuses to even > configure, it just says your headers are broken (can't remember exact msg - > the machine is at customer site). Fedora is of most interest: > > [ed@hubris ~]$ sudo /sbin/lspci --version > Password: > lspci version 2.1.99-test8 > > Ed > > >Hello, > > > >It seems you are using a wrong version of PCI utils... Which one are you > >using? (You can get it by typing "/sbin/lspci --version" as root) > > > >Could you send me the files /usr/include/pci/pci.h > >and /usr/include/pci/config.h? It seems they do not define some types as > >they should... > > > >Have you the same problem with Mandrake, or another one? > > > >Best regards, > > > >Nicolas > > > >On Thu, 2004-12-09 at 06:43 +0000, Ed . wrote: > > > Well I've tried to build this on mandrake 10.0 and fedora core 3 with no > > > joy. Even a hint of what options to try would be appreciated. > > > > > > Here is the result of trying make immediately after a ./configure on > >fedora > > > core 3: > > > > > > [ed@hubris ddccontrol]$ make > > > Making all in src > > > /tmp/ddccontrol/src > > > make[1]: Entering directory `/tmp/ddccontrol/src' > > > make all-recursive > > > make[2]: Entering directory `/tmp/ddccontrol/src' > > > Making all in lib > > > /tmp/ddccontrol/src/lib > > > make[3]: Entering directory `/tmp/ddccontrol/src/lib' > > > if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I.. > > > -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -Wall > > > -I/usr/include/libxml2 -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 > > > In file included from ddcci.c:82: > > > ddcpci-ipc.h:32: error: syntax error before "word" > > > ddcpci-ipc.h:32: warning: no semicolon at end of struct or union > > > ddcpci-ipc.h:33: warning: type defaults to `int' in declaration of `dev' > > > ddcpci-ipc.h:33: error: 'dev' redeclared as different kind of symbol > > > ddcci.h:46: error: previous definition of 'dev' was here > > > ddcpci-ipc.h:33: warning: data definition has no type or storage class > > > ddcpci-ipc.h:34: error: syntax error before "func" > > > ddcpci-ipc.h:34: warning: type defaults to `int' in declaration of > >`func' > > > ddcpci-ipc.h:34: warning: data definition has no type or storage class > > > ddcpci-ipc.h:36: error: syntax error before '}' token > > > ddcpci-ipc.h:52: error: field `bus' has incomplete type > > > ddcpci-ipc.h:66: error: field `bus' has incomplete type > > > make[3]: *** [ddcci.o] Error 1 > > > > > > > > > Ed > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real users. > > > Discover which products truly live up to the hype. Start reading now. > > > http://productguide.itmanagersjournal.com/ > > > _______________________________________________ > > > ddccontrol-users mailing list > > > ddc...@li... > > > https://lists.sourceforge.net/lists/listinfo/ddccontrol-users > > > > > > |