[driverloader] driverloader won't build under new Linux kernel 2.6.18

Anne Racel anne.racel at ebs-inc.org
Tue Oct 3 12:40:28 EDT 2006


I ran into a similar problem with the 2.6.9 kernel.  I tried, initially,
to run 'dldrinstall.run' and received the following errors:

(cd /lib/modules/2.6.9-42.0.2.EL/build && make
"DLDR_KERNELSRC=/lib/modules/2.6.9-42.0.2.EL/build"
"M=/usr/lib/driverloader/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/kernels/2.6.9-42.0.2.EL-i686'
  CC [M]  /usr/lib/driverloader/modules/dldrmod.o
  CC [M]  /usr/lib/driverloader/modules/dldrpci.o
  CC [M]  /usr/lib/driverloader/modules/dldrusb.o
  CC [M]  /usr/lib/driverloader/modules/osusb.o
  CC [M]  /usr/lib/driverloader/modules/GPL/netndis.o
/usr/lib/driverloader/modules/GPL/netndis.c:4791: error: unknown field
`get_wireless_stats' specified in initializer
/usr/lib/driverloader/modules/GPL/netndis.c:4791: warning:
initialization makes
integer from pointer without a cast
/usr/lib/driverloader/modules/GPL/netndis.c:4791: error: initializer
element is
not computable at load time
/usr/lib/driverloader/modules/GPL/netndis.c:4791: error: (near
initialization for `netndis_handler_def.num_standard')
/usr/lib/driverloader/modules/GPL/netndis.c: In function
`alloc_netndisdev':
/usr/lib/driverloader/modules/GPL/netndis.c:4821: warning: assignment
discards qualifiers from pointer target type
make[2]: *** [/usr/lib/driverloader/modules/GPL/netndis.o] Error 1
make[1]: *** [_module_/usr/lib/driverloader/modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.2.EL-i686'
make: *** [all] Error 2


===

So I manually downloaded the non-rpm version, applied the patches you
included, and received the following error:

Unable to determine version of kernel source
directory /lib/modules/2.6.9-42.0.2.EL/build



On Tue, 2006-10-03 at 10:46 -0400, Linuxant support (Jonathan) wrote:
> Hi,
> 
> DriverLoader 2.34 does not support the 2.6.18 kernel and a new version 
> of DriverLoader will be released in the near future to add support for 
> this kernel.
> 
> In the meantime, you can patch DriverLoader 2.34 with the patches I have 
> attached to this post. These patches should fix all the known problems 
> of DriverLoader 2.34 for the 2.6.18 kernel, including the build problem 
> described in your post. Each patch can be installed with the 'dldrconfig 
> --patch <file.patch>' command in a root shell.
> 
> Regards,
> 
> 
> Jonathan
> Technical specialist / Linuxant
> www.linuxant.com
> support at linuxant.com
> 
> 
> 
> Marty Huntzberry wrote:
> > Hi!  I've been using the driverloader software (2.34) for my Belkin wireless G card for about 6 months now with no problems.  I have it installed in
> > a PCI slot on a Pentium PC using Slackware Linux 10.2.  I have re-built the kernel several times on that pc and then built driverloader and gotten it
> > configured without a problem...till now.  Every other 2.6.x kernel was in the format 2.6.x.x and now it's 2.6.x.  I'm not sure if that's why it won't
> > build a module now.  Here's what I did and the error:
> > 
> > Re-booted into kernel 2.6.18 and then entered my newly extracted driverloader-2.34 directory and typed make install.  All went fine and then this:
> > 
> > To complete the installation and configuration of your device,
> > please run "dldrconfig" (or "/usr/sbin/dldrconfig")
> > root at LinuxHippy:/home/huntz/linuxant/driverloader-2.34-kernel-2.6.18# dldrconfig
> > Linuxant DriverLoader for Wireless LAN devices, version 2.34
> > 
> > No pre-built modules for: Slackware-Slackware linux-2.6.18 i586
> > 
> > Trying to automatically build the driver modules...
> > (this requires a C compiler and proper kernel sources to be installed)
> > 
> > Where is the linux source build directory that matches your running kernel?
> > [/lib/modules/2.6.18/build]
> > 
> > WARNING: the kernel version () defined in
> > /lib/modules/2.6.18/build/include/linux/version.h
> > does not match the currently running kernel (2.6.18)
> > The cause of this problem is an incorrect kernel source path.
> > Please check that /lib/modules/2.6.18/build points to the right tree.
> > The cause of this is usually a missing or unconfigured
> > kernel source tree (and sometimes an incorrect directory or symbolic link).
> > 
> > However, proper /boot/config-2.6.18 was found.
> > Would you like to try using it (in a temporary kernel tree)? [yes]
> > 
> > Building modules for kernel , using source directory
> > /usr/src/linux-2.6.18-dldrtmp2463. Please wait...
> > 
> > ERROR: Module build failed!
> > Please examine the log file "/var/run/dldrconfig-buildlog.txt" to determine why.
> > 
> > That txt file shows this:
> > 
> > (cd /usr/src/linux-2.6.18-dldrtmp2463 && make "DLDR_KERNELSRC=/usr/src/linux-2.6.18-dldrtmp2463" "M=/usr/lib/driverloader/modules" "CC=gcc" clean)
> > make[1]: Entering directory `/usr/src/linux-2.6.18-dldrtmp2463'
> > make[1]: Leaving directory `/usr/src/linux-2.6.18-dldrtmp2463'
> > rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd
> > GPL/.*.cmd .tmp_versions .tmp_versions  /usr/src/linux-2.6.18-dldrtmp2463/.tmp_versions/driverloader.mod Unable to determine version of kernel source
> > directory /usr/src/linux-2.6.18-dldrtmp2463 make: *** [check_kernelver] Error 1
> > 
> > 
> > Any ideas?
> > 
> > Marty
> > _______________________________________________
> > driverloader mailing list
> > driverloader at lists.linuxant.com
> > https://www.linuxant.com/mailman/listinfo/driverloader
> _______________________________________________
> driverloader mailing list
> driverloader at lists.linuxant.com
> https://www.linuxant.com/mailman/listinfo/driverloader



More information about the driverloader mailing list