[driverloader] GCC 3.4.0

Aaron Rusnak aaronrusnak at comcast.net
Tue Apr 27 19:53:09 EDT 2004


Is gcc-3.4.0 supported yet? At compile time, here are the errors:

rm -f *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd 
GPL/.*.cmd  /lib/modules/2.6.5-mm6/build/.tmp_versions/driverloader.mod
(cd /lib/modules/2.6.5-mm6/build && make 
"KERNELSRC=/lib/modules/2.6.5-mm6/build" "M=/usr/lib/driverloader/modules" 
modules)
make[1]: Entering directory `/usr/src/linux-2.6.5-mm6'
  CC [M]  /usr/lib/driverloader/modules/dldrpci.o
In file included from /usr/lib/driverloader/modules/dldrpci.c:12:
/usr/lib/driverloader/modules/GPL/oscompat.h:590: error: conflicting types for 
'complete_all'
include/linux/completion.h:32: error: previous declaration of 'complete_all' 
was here
/usr/lib/driverloader/modules/GPL/oscompat.h:590: error: conflicting types for 
'complete_all'
include/linux/completion.h:32: error: previous declaration of 'complete_all' 
was here
make[2]: *** [/usr/lib/driverloader/modules/dldrpci.o] Error 1
make[1]: *** [/usr/lib/driverloader/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-mm6'

And it looks like the function in question is just a dummy function:

extern inline void complete_all(struct completion *comp)
{
        /* Hopefully the real complete_all will soon be exported, in the mean
         * while this should work. */
        complete(comp);
        complete(comp);
        complete(comp);
        complete(comp);
}

Is there any quick hacks to get it working? I can't tell if the function 
"complete" is a driverloader function, or a real C function.

-----------------------
Aaron Rusnak
email: aaronrusnak at comcast.net
-----------------------


More information about the driverloader mailing list