Hi, While issuing make, I've got: ... CC [M] /usr/src/zaptel-1.4.11~dfsg/kernel/zaptel-base.o /usr/src/zaptel-1.4.11~dfsg/kernel/zaptel-base.c: In function ?zt_register?: /usr/src/zaptel-1.4.11~dfsg/kernel/zaptel-base.c:5230: error: implicit declaration of function ?class_device_create? My system is Lenny and before getting this error, I successfully did : apt-get source libpri zaptel asterisk cd /usr/src/libpri-1.4.3 make && make install cd ../zaptel-1.4.11~dfsg ./configure It seems to come from class_device deprecation in linux 2.6.26 (see: http://bugs.digium.com/view.php?id=12944), but as Lenny is 2.6.26-based this zaptel-1.4.11~dfsg is the latest in Lenny repo, I'm wondering what the others are doing to avoid this. Am I missing a step here after downloading zaptel ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090110/95821660/attachment.htm
Olivier a ?crit :> Hi, > > While issuing make, I've got: > ... > CC [M] /usr/src/zaptel-1.4.11~dfsg/kernel/zaptel-base.o > /usr/src/zaptel-1.4.11~dfsg/kernel/zaptel-base.c: In function > ?zt_register?: > /usr/src/zaptel-1.4.11~dfsg/kernel/zaptel-base.c:5230: error: implicit > declaration of function ?class_device_create? > > My system is Lenny and before getting this error, I successfully did : > > apt-get source libpri zaptel asterisk > cd /usr/src/libpri-1.4.3 > make && make install > cd ../zaptel-1.4.11~dfsg > ./configure > > It seems to come from class_device deprecation in linux 2.6.26 (see: > http://bugs.digium.com/view.php?id=12944), but as Lenny is > 2.6.26-based this zaptel-1.4.11~dfsg is the latest in Lenny repo, I'm > wondering what the others are doing to avoid this. > > Am I missing a step here after downloading zaptel ?Well, Zaptel-1.4.11 is quite old and deprecated, so if you plan to get support here i would urge you to get the latest DAHDI and Asterisk release If you wan't to use debian released package, you can 1/ make a bug report at the correct location: bugs.debian.org 2/ or use the stable debian release As for me i use latest asterisk/dahdi on a stable debian/etch release and it work like a charm
On Sat, Jan 10, 2009 at 01:52:02AM +0100, Olivier wrote:> Hi, > > While issuing make, I've got: > ... > CC [M] /usr/src/zaptel-1.4.11~dfsg/kernel/zaptel-base.o > /usr/src/zaptel-1.4.11~dfsg/kernel/zaptel-base.c: In function ?zt_register?: > /usr/src/zaptel-1.4.11~dfsg/kernel/zaptel-base.c:5230: error: implicit > declaration of function ?class_device_create?What version of zaptel do you use? This should have been fixed in 1.4.11~dfsg-2 . If such a thing happens, please use reportbug . reportbug zaptel-source -- 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