[driverloader] driverloader doesn't compile with kernel 2.6.1

Defiant mail at defiant.homedns.org
Wed Jan 14 16:38:00 EST 2004


after upgrading from kernel 2.4.22 to the latest kernel 2.6.1,
driverloader won't compile.
This is the /tmp/dldrconfig-buildlog.txt:

(Yes, Kernel Version is printed as 2.5.85 here, cause simple, my X doesn't
start when the version is 2.6).

rm -f *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd 
(cd /lib/modules/2.5.85/build && make
"SUBDIRS+=/usr/lib/driverloader/modules" "SUBDIRS+=/usr/lib/driverlo
make[1]: Entering directory `/usr/src/linux-2.6.1'
Makefile:557: target `/usr/lib/driverloader/modules' given more than once
in the same rule.
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  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:91:26: linux/tqueue.h: No
such file or directory
/usr/lib/driverloader/modules/GPL/oscompat.h:93:1: warning: "INIT_WORK"
In file included from include/linux/aio.h:5,
                 from include/linux/sched.h:183,
                 from /usr/lib/driverloader/modules/GPL/oscompat.h:71,
                 from /usr/lib/driverloader/modules/dldrpci.c:12:
include/linux/workqueue.h:44:1: warning: this is the location of the
previous definition
/usr/lib/driverloader/modules/dldrpci.c: In function `dldrpci_probe':
/usr/lib/driverloader/modules/dldrpci.c:263: error: too few arguments to
function `call_usermodehelper'
/usr/lib/driverloader/modules/dldrpci.c: In function `dldrpci_init':
/usr/lib/driverloader/modules/dldrpci.c:298: error: too few arguments to
function `call_usermodehelper'
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.1'
make: *** [all] Error 2


Erik Andresen

More information about the driverloader mailing list