Project

General

Profile

Actions

Sangoma Wanpipe DAHDI » History » Revision 2

« Previous | Revision 2/7 (diff) | Next »
laforge, 12/29/2021 10:33 PM


Sangoma Wanpipe DAHDI

some random notes on bulding DAHDI drivers for Sangoma AFT104 cards on a modern Debian 11 / buster

Sources

Building

  1. build + install dahdi-linux
    • usual make + sudo make install

building sangoma wanpipe drivers

$ cp ~/dahdi-linux/drivers/dahdi/Module.symvers ~/wanpipe/patches/kdrivers/src/net
$ make -j4 dahdi DAHDI_DIR=/home/laforge/dahdi-linux KBUILD_EXTRA_SYMBOLS=/home/laforge/dahdi-linux/drivers/dahdi/Module.symvers

the importance is to pass the correct Module.symvers from the DAHDI build as KBUILD_EXTRA_SYMBOLS, as otherwise the wanpipe drivers will fail to load with errors like this:

This somehow fails, the Module.symvers gets overwritten and the module fails with various related errors:

[ 4874.442680] wanpipe: no symbol version for dahdi_hdlc_putbuf
[ 4874.442702] wanpipe: Unknown symbol dahdi_hdlc_putbuf (err -22)
[ 4874.442754] wanpipe: no symbol version for _dahdi_ec_span
[ 4874.442760] wanpipe: Unknown symbol _dahdi_ec_span (err -22)
..

Files (0)

Updated by laforge over 2 years ago · 2 revisions

Add picture from clipboard (Maximum size: 48.8 MB)