AnsweredAssumed Answered

Issue integrating Dahdi on p2020 rdb board

Question asked by MOHIT DUGGAL on Jun 20, 2016
Latest reply on Jun 23, 2016 by MOHIT DUGGAL

while buidling image using 1.7 SDK , Dahdi gets compiled and installed also.

But dahdi modules are not installed.

 

Dahdi_geconf gives the following error

 

Can't locate Getopt/Long.pm in @INC (@INC contains: /usr/sbin /usr/sbin/perl_modules /etc/perl /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3 /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3 /usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl /usr/lib/perl/5.14.3 .) at /usr/sbin/dahdi_genconf line 14.
BEGIN failed--compilation aborted at /usr/sbin/dahdi_genconf line 14.

 

 

Even though perl modules are available .

 

in case i try to compile and build dahdi on board itself , it sys different kernel versions dahdi modules are built with 3.12. but uname

root@p2020rdb:~# ls /lib/modules/3.12.19-rt30-QorIQ-SDK-V1.7+g6619b8b/
dahdi/               modules.alias        modules.builtin      modules.dep          modules.devname      modules.softdep      modules.symbols.bin
extra/               modules.alias.bin    modules.builtin.bin  modules.dep.bin      modules.order        modules.symbols
root@p2020rdb:~# ls /lib/modules/3.12.19-rt30-QorIQ-SDK-V1.7+g6619b8b/dahdi/
dahdi.ko                dahdi_dynamic_loc.ko    dahdi_echocan_sec.ko    pciradio.ko             wcb4xxp/                wctc4xxp/               wcte12xp/
dahdi_dynamic.ko        dahdi_echocan_jpah.ko   dahdi_echocan_sec2.ko   tor2.ko                 wcfxo.ko                wctdm.ko                wcte13xp.ko
dahdi_dynamic_eth.ko    dahdi_echocan_kb1.ko    dahdi_transcode.ko      voicebus/               wct1xxp.ko              wctdm24xxp/             wcte43x.ko
dahdi_dynamic_ethmf.ko  dahdi_echocan_mg2.ko    oct612x/                wcaxx.ko                wct4xxp/                wcte11xp.ko             xpp/

 

 

dahdi modules coming installed is of kernel version 3.12 , but uname -a  give kernel version 3.8

 

Tried rebuilding kernel with bitbake and even uImage is also created with kernel 3.12 but when booting same old kernel is being showed.

 

please help to resolve asap.

Outcomes