[asterisk-bugs] [DAHDI-linux 0017603]: KVERS does not allow to build DAHDI for another kernel any more
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jul 9 01:31:04 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17603
======================================================================
Reported By: vmikhelson
Assigned To:
======================================================================
Project: DAHDI-linux
Issue ID: 17603
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
JIRA:
Reviewboard Link:
======================================================================
Date Submitted: 2010-07-07 23:25 CDT
Last Modified: 2010-07-09 01:31 CDT
======================================================================
Summary: KVERS does not allow to build DAHDI for another
kernel any more
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.
======================================================================
----------------------------------------------------------------------
(0124371) sruffell (administrator) - 2010-07-09 01:31
https://issues.asterisk.org/view.php?id=17603#c124371
----------------------------------------------------------------------
With /home/sruffell/linux-2.6/.config
sruffell at 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 at 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.
Issue History
Date Modified Username Field Change
======================================================================
2010-07-09 01:31 sruffell Note Added: 0124371
======================================================================
More information about the asterisk-bugs
mailing list