[Freeswitch-users] ftmod_libpri won't load (undefined symbol: ftmod_pritap_module_interface**)

George Diamantopoulos georgediam at gmail.com
Thu Oct 25 07:39:23 MSD 2012


It seems I found the culprit (the hint was that no other ftmod module would
load, so it wasn't libpri/freetdm build related)... After configuring
wanpipe, running wancfg_ftdm, editing freetdm config files (xml and
otherwise), ftmod_pritap was loaded sucessfully.

It would be nice if the error message were a bit more helpful, though.
undefined symbol does ring the "something-went-wrong-with-linking" bell...

On Tue, Oct 23, 2012 at 4:50 PM, George Diamantopoulos <georgediam at gmail.com
> wrote:

> I accidentally mentioned libpri in my previous message's subject. I meant
> ftpmod_pritap instead...
>
>
> On Tue, Oct 23, 2012 at 12:52 PM, George Diamantopoulos <
> georgediam at gmail.com> wrote:
>
>> Hello all,
>>
>> I've been trying to compile freeswitch and freetdm with pritap support.
>> Everything seems to be going fine, but the module (ftmod_pritap) won't
>> load. I've been told this could be due to version mismatches between
>> freeswitch and freetdm source, but I'm compiling both from git 1.2-stable.
>> I intend to use this with Sangoma's wanpipe TDM Voice API and the driver
>> configured in High Impedence mode (in conjunction with a 2-span E1 sangoma
>> card and a tapping module). The error I get is:
>>
>> freeswitch at modrec> load ftmod_pritap
>> 2012-10-23 12:45:24.284094 [INFO] mod_enum.c:871 ENUM Reloaded
>> 2012-10-23 12:45:24.284094 [INFO] switch_time.c:1163 Timezone reloaded
>> 530 definitions
>>
>> +OK Reloading XML
>> -ERR [module load file routine returned an error]
>>
>> 2012-10-23 12:45:24.284094 [CRIT] switch_loadable_module.c:1310 Error
>> Loading module /usr/local/freeswitch/mod/ftmod_pritap.so
>> **/usr/local/freeswitch/mod/ftmod_pritap.so: undefined symbol:
>> ftmod_pritap_module_interface**
>>
>> STEPS TO REPRODUCE:
>>
>> Start with a clean debian 6.0.6 installation and then:
>>
>> apt-get install subversion git
>> apt-get build-dep asterisk (# Hopefully asterisk and freeswitch share
>> some dependencies)
>> apt-get -y install gcc g++ automake autoconf libtool make libncurses5-dev
>> flex bison patch libtool autoconf linux-headers-$(uname -r) (wanpipe build
>> deps)
>> apt-get remove libpri-dev libpri1.4 (I will be compiling patched libpri
>> with tapping support later)
>> wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.28.tgz
>> svn checkout http://svn.digium.com/svn/libpri/team/moy/tap-1.4 (libpri
>> patched with tapping mods)
>> cd tap-1.4/
>> make
>> make install
>> cd ..
>> tar xzfv wanpipe-3.5.28.tgz
>> cd wanpipe-3.5.28/
>> ./Setup install (select option 1, for TDM voice API module configuration
>> - required for use by freetdm pritap module - I think)
>> cd ..
>> git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
>> cd freeswitch/
>> ./bootstrap.sh
>> ./configure
>> make
>> make install
>> cd libs/freetdm/
>> ./configure --with-pritap --prefix=/usr/local/freeswitch
>> make
>> make install
>> /usr/local/freeswitch/bin/freeswitch
>> load ftmod_pritap
>>
>> EXPECTED BEHAVIOUR: ftmod_pritap should load successfully.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/75a6d420/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list