Summary: | DAHLIN-00173: Dahdi-2.2.1 isn't compile on kernel-2.6.33 | ||
Reporter: | Lónyai Gergely (alephlg) | Labels: | |
Date Opened: | 2010-02-02 05:10:27.000-0600 | Date Closed: | 2010-03-07 09:14:40.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | aleph@noder dahdi-linux-2.2.1 $ make make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/home/aleph/mandriva/dahdi-linux-2.2.1/drivers/dahdi/firmware' Attempting to download dahdi-fwload-vpmadt032-1.20.0.tar.gz --2010-02-02 12:07:46-- http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.20.0.tar.gz downloads.digium.com (downloads.digium.com) feloldása… 76.164.171.232 Csatlakozás a következ?höz: downloads.digium.com (downloads.digium.com)[76.164.171.232]:80… kapcsolódva. HTTP kérés elküldve, várakozás válaszra… 200 OK Hossz: 146556 (143K) [application/x-gzip] Mentés ide: „dahdi-fwload-vpmadt032-1.20.0.tar.gz” 100%[=========================================================>] 146.556 159K/s id? 0,9s 2010-02-02 12:07:47 (159 KB/s) -- „dahdi-fwload-vpmadt032-1.20.0.tar.gz” mentve [146556/146556] make[1]: Leaving directory `/home/aleph/mandriva/dahdi-linux-2.2.1/drivers/dahdi/firmware' make -C /lib/modules/2.6.33-desktop-0.rc6.1mnb/build SUBDIRS=/home/aleph/mandriva/dahdi-linux-2.2.1/drivers/dahdi DAHDI_INCLUDE=/home/aleph/mandriva/dahdi-linux-2.2.1/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[1]: Entering directory `/usr/src/linux-2.6.33-desktop-0.rc6.1mnb' CC [M] /home/aleph/mandriva/dahdi-linux-2.2.1/drivers/dahdi/dahdi-base.o In file included from /home/aleph/mandriva/dahdi-linux-2.2.1/include/dahdi/kernel.h:39, from /home/aleph/mandriva/dahdi-linux-2.2.1/drivers/dahdi/dahdi-base.c:62: /home/aleph/mandriva/dahdi-linux-2.2.1/include/dahdi/dahdi_config.h:27:28: error: linux/autoconf.h: Nincs ilyen fájl vagy könyvtár make[2]: *** [/home/aleph/mandriva/dahdi-linux-2.2.1/drivers/dahdi/dahdi-base.o] Error 1 make[1]: *** [_module_/home/aleph/mandriva/dahdi-linux-2.2.1/drivers/dahdi] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.33-desktop-0.rc6.1mnb' make: *** [modules] Error 2 | ||
Comments: | By: Leif Madsen (lmadsen) 2010-02-02 08:28:06.000-0600 Most of these errors tend to be missing kernel development libraries -- are those installed for sure? By: Lónyai Gergely (alephlg) 2010-02-02 08:42:30.000-0600 The kernel-devel is installed but the /usr/include/linux/autoconf.h file isn't exist in the kernel-devel-2.6.33 (it was in the 2.6.31). By: waxymouthfeel (waxymouthfeel) 2010-03-02 23:19:30.000-0600 If you change instances of <linux/autoconf.h> to <generated/autoconf.h> to reflect the new kernel layout, it compiles cleanly. By: Lónyai Gergely (alephlg) 2010-03-04 02:33:08.000-0600 Yes, i confirm. I'm attaching a patch. It is applaying on the Mandriva Cooker to test. By: Digium Subversion (svnbot) 2010-03-07 09:14:38.000-0600 Repository: dahdi Revision: 8267 _U linux/branches/2.2/ U linux/branches/2.2/drivers/dahdi/wcb4xxp/base.c U linux/branches/2.2/drivers/dahdi/wct4xxp/vpm450m.c U linux/branches/2.2/include/dahdi/dahdi_config.h ------------------------------------------------------------------------ r8267 | tzafrir | 2010-03-07 09:14:37 -0600 (Sun, 07 Mar 2010) | 11 lines autoconf.h is inlcuded by Kbuild at the command-line. No need to explicitly include it. Also note that <linux/autoconf.h> is invalid as of 2.6.33 . It is now <generated/autoconf.h> (but anyway, should not be #include-d directly). Backporting from trunk to 2.2 (closes issue DAHLIN-173). Merged revisions 7732 via svnmerge from http://svn.digium.com/svn/dahdi/linux/trunk ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=8267 |