Summary: | DAHLIN-00196: KVERS does not allow to build DAHDI for another kernel any more | ||
Reporter: | Vladimir Mikhelson (vmikhelson) | Labels: | |
Date Opened: | 2010-07-07 23:25:26 | Date Closed: | 2010-07-13 17:25:36 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | General |
Versions: | 2.3.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Setting KVERS used to allow building DAHDI for a kernel version different from the current kernel. It stopped working several months ago. I tried to set KSRC in addition to KVERS. It did not help. ****** ADDITIONAL INFORMATION ****** [root@pbx 2.3.0.1]# KVERS="2.6.18-194.8.1.e15" [root@pbx 2.3.0.1]# export KVERS [root@pbx 2.3.0.1]# echo $KVERS 2.6.18-194.8.1.e15 [root@pbx 2.3.0.1]# make make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi-linux/2.3.0.1/drivers/dahdi/firmware' make[1]: Leaving directory `/usr/src/dahdi-linux/2.3.0.1/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.18-194.8.1.e15 kernel installed. make: *** [modules] Error 1 [root@pbx 2.3.0.1]# KSRC="/usr/source/kernels/2.6.18-194.8.1.e15-i686" [root@pbx 2.3.0.1]# export KSRC [root@pbx 2.3.0.1]# echo $KSRC /usr/source/kernels/2.6.18-194.8.1.e15-i686 [root@pbx 2.3.0.1]# make make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi-linux/2.3.0.1/drivers/dahdi/firmware' make[1]: Leaving directory `/usr/src/dahdi-linux/2.3.0.1/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.18-194.8.1.e15 kernel installed. make: *** [modules] Error 1 | ||
Comments: | By: Shaun Ruffell (sruffell) 2010-07-08 13:05:26 I suspect something is wrong with your system. It works fine for me and I use KSRC regularly. Is there a .config file in the path that your feeding to KSRC? By: Vladimir Mikhelson (vmikhelson) 2010-07-08 19:05:01 Yes, there definitely is .config dated July 1, 2010, 69,597 bytes, in the path. I tried both symlinked and direct paths with the same negative. Unfortunately ended up rebooting with no DAHDI, then built DAHDI, and rebooted again. Too much down time.... By: Shaun Ruffell (sruffell) 2010-07-09 01:31:04 With /home/sruffell/linux-2.6/.config sruffell@ubuntu:~/prj/dahdi-linux-2.3.0.1$ KSRC=/home/sruffell/linux-2.6 make make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/home/sruffell/prj/dahdi-linux-2.3.0.1/drivers/dahdi/firmware' make[1]: Leaving directory `/home/sruffell/prj/dahdi-linux-2.3.0.1/drivers/dahdi/firmware' make -C /home/sruffell/linux-2.6 SUBDIRS=/home/sruffell/prj/dahdi-linux-2.3.0.1/drivers/dahdi DAHDI_INCLUDE=/home/sruffell/prj/dahdi-linux-2.3.0.1/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[1]: Entering directory `/home/sruffell/linux-2.6' ... Without: sruffell@ubuntu:~/prj/dahdi-linux-2.3.0.1$ KSRC=/home/sruffell/linux-2.6 make make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/home/sruffell/prj/dahdi-linux-2.3.0.1/drivers/dahdi/firmware' make[1]: Leaving directory `/home/sruffell/prj/dahdi-linux-2.3.0.1/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-22-generic kernel installed. make: *** [modules] Error 1 Granted, the error message in that case appears to be off because I didn't ask it to build against 2.6.32-22-generic (and that is completely driven off the presence of the KVERS variable, which I didn't pass), but the presence of the .config file in the KSRC directory is what the makefile is using to control the build. By: Vladimir Mikhelson (vmikhelson) 2010-07-12 22:44:04 My bad. Stupid typo. 2.6.18-194.8.1.e15 vs. 2.6.18-194.8.1.el5. Please close the case. By: Shaun Ruffell (sruffell) 2010-07-13 17:25:36 Closing. Thanks for the update. |