John covici
2008-Nov-04 20:17 UTC
[asterisk-users] dahdi trunk does not compile with kernel 2.6.27
Hi. I am using gentoo kernel 2.6.27-r2 and dahdi trunk svn 5211 and it will not compile with this kernel whereas it does compile with 2.6.25. Here is the relevant portion of the build: VERIFY /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_1_30 VERIFY /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_2_30 VERIFY /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_3_30 VERIFY /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_4_30 HOSTCC /usr/src/dahdi-trunk/drivers/dahdi/xpp/print_fxo_modes.o HOSTLD /usr/src/dahdi-trunk/drivers/dahdi/xpp/print_fxo_modes GEN /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_fxo_modes CHECK /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_2_30 Use of uninitialized value in concatenation (.) or string at /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_2_30 line 74. make[3]: *** [/usr/src/dahdi-trunk/drivers/dahdi/xpp/init_fxo_modes.verified] Error 1 make[2]: *** [/usr/src/dahdi-trunk/drivers/dahdi/xpp] Error 2 make[1]: *** [_module_/usr/src/dahdi-trunk/drivers/dahdi] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r2' make: *** [modules] Error 2 Any assistance on this would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com
Tzafrir Cohen
2008-Nov-04 20:27 UTC
[asterisk-users] dahdi trunk does not compile with kernel 2.6.27
On Tue, Nov 04, 2008 at 03:17:30PM -0500, John covici wrote:> Hi. I am using gentoo kernel 2.6.27-r2 and dahdi trunk svn 5211 and > it will not compile with this kernel whereas it does compile with > 2.6.25. Here is the relevant portion of the build: > > VERIFY /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_1_30 > VERIFY /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_2_30 > VERIFY /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_3_30 > VERIFY /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_4_30 > HOSTCC /usr/src/dahdi-trunk/drivers/dahdi/xpp/print_fxo_modes.o > HOSTLD /usr/src/dahdi-trunk/drivers/dahdi/xpp/print_fxo_modes > GEN /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_fxo_modes > CHECK /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_2_30 > Use of uninitialized value in concatenation (.) or string at > /usr/src/dahdi-trunk/drivers/dahdi/xpp/init_card_2_30 line 74. > make[3]: *** > [/usr/src/dahdi-trunk/drivers/dahdi/xpp/init_fxo_modes.verified] > Error 1 > make[2]: *** [/usr/src/dahdi-trunk/drivers/dahdi/xpp] Error 2 > make[1]: *** [_module_/usr/src/dahdi-trunk/drivers/dahdi] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r2' > make: *** [modules] Error 2 > > Any assistance on this would be appreciated.A known issue: http://bugs.digium.com/13832 'Use of uninitialized value $ENV{"XBUS_NAME"}' if stderr from make redirected to a file I hope to get it fixed. In the mean time: patch out that test from drivers/dahdi/xpp/Kbuild -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir