Anthony Azzopardi
2014-Jul-30 20:29 UTC
[asterisk-users] compiling dahdi and exporting it to another system
Hello asterisk-users, I need to compile dahdi and then export it to another system. I managed to do this with DESTDIR=/root/destDir, then make a tar file and extract in / of the other system. However the module is not loading and /dev/dahdi is not created. Anyone done this? Thank you, Anthony. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140730/169ed833/attachment.html>
Barry Flanagan
2014-Jul-30 20:44 UTC
[asterisk-users] compiling dahdi and exporting it to another system
On 30 July 2014 21:29, Anthony Azzopardi <twanny.azzopardi at gmail.com> wrote:> Hello asterisk-users, > > > > I need to compile dahdi and then export it to another system. I managed to > do this with DESTDIR=/root/destDir, then make a tar file and extract in / > of the other system. However the module is not loading and /dev/dahdi is > not created. > > > > Anyone done this? > >Dahdi requires kernel modules, which are compiled for (by default*) the running kernel. Unless your target system is running the exact same kernel, and you ensure the modules get loaded, then Dahdi isn't going to run. * I think it should be possible to compile it for an alternate kernel if you have the headers, but have never had to do that so....) Hope this helps. -Barry Flanagan> > > Thank you, > > Anthony. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140730/5bc8abf4/attachment.html>
Tzafrir Cohen
2014-Aug-05 16:35 UTC
[asterisk-users] compiling dahdi and exporting it to another system
On Wed, Jul 30, 2014 at 10:29:19PM +0200, Anthony Azzopardi wrote:> Hello asterisk-users, > > > > I need to compile dahdi and then export it to another system. I managed to > do this with DESTDIR=/root/destDir, then make a tar file and extract in / of > the other system. However the module is not loading and /dev/dahdi is not > created.Are the modules available? What is the output of: modinfo dahdi If not available: On the target system, what is the output of: find /lib/modules/`uname -r` -name dahdi.ko If you find dahdi.ko: maybe you forgot to run depmod? If you don't find it: maybe you built it for an incorrect kernel version? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com