driverloader won't build under new Linux kernel 2.6.18
Marty Huntzberry <[email protected]> Mon, 02 Oct 2006 18:36:27 -0400
| Newsgroups | gmane.linux.kernel.driver-loader |
|---|---|
| Message-ID | <[email protected]> |
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@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