Bug#549989: wanpipe drivers don't build cleanly with zaptel-source

Faidon Liambotis paravoid at debian.org
Tue Oct 6 21:44:21 UTC 2009


Gerhard Pircher wrote:
> The compile log of Sangoma's wanpipe driver package reports the
> following warnings while building the wanpipe module:
> 
>>   Building modules, stage 2.
>>   MODPOST 1 modules
>> WARNING: "zt_alarm_notify" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_register" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_hooksig" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_unregister" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_rbsbits" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_transmit" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_ec_chunk" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_qevent_lock" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_receive" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_hdlc_getbuf" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>> WARNING: "zt_ec_span" [/usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko] undefined!
>>   CC      /usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.mod.o
>>   LD [M]  /usr/src/wanpipe-3.7.0.6/kdrvtmp/wanpipe.ko
> 
> The wanrouter init script fails to setup the wanpipe interface
> later on due to the following error messages in the kernel log:
> 
> [ 8439.777151] WANPIPE(tm) Interface Support Module 3.7.0.6.0 (c) 1994-2009 Sangoma Technologies Inc
> [ 8439.823675] wanpipe: no symbol version for zt_ec_span
> [ 8439.823691] wanpipe: Unknown symbol zt_ec_span
> [ 8439.823789] wanpipe: no symbol version for zt_hdlc_getbuf
> [ 8439.823791] wanpipe: Unknown symbol zt_hdlc_getbuf
> [ 8439.823845] wanpipe: no symbol version for zt_receive
> [ 8439.823848] wanpipe: Unknown symbol zt_receive
> [ 8439.824079] wanpipe: no symbol version for zt_qevent_lock
> [ 8439.824082] wanpipe: Unknown symbol zt_qevent_lock
> [ 8439.824142] wanpipe: no symbol version for zt_ec_chunk
> [ 8439.824144] wanpipe: Unknown symbol zt_ec_chunk
> [ 8439.824274] wanpipe: no symbol version for zt_transmit
> [ 8439.824277] wanpipe: Unknown symbol zt_transmit
> [ 8439.824607] wanpipe: no symbol version for zt_rbsbits
> [ 8439.824609] wanpipe: Unknown symbol zt_rbsbits
> [ 8439.824664] wanpipe: no symbol version for zt_unregister
> [ 8439.824667] wanpipe: Unknown symbol zt_unregister
> [ 8439.824784] wanpipe: no symbol version for zt_hooksig
> [ 8439.824786] wanpipe: Unknown symbol zt_hooksig
> [ 8439.825084] wanpipe: no symbol version for zt_register
> [ 8439.825087] wanpipe: Unknown symbol zt_register
> [ 8439.825407] wanpipe: no symbol version for zt_alarm_notify
> [ 8439.825410] wanpipe: Unknown symbol zt_alarm_notify
> 
> Also older versions of the wanpipe driver package show the same problem.
> Compiling the drivers against zaptel v1.4.12.1 from asterisk.org however
> works fine.
You're missing Module.symvers from zaptel's compiled source. As a
workaround, you can build the package and copy it from the source by hand .

I'd say that bulding external modules based on zaptel packages it's not
exactly supported (i.e. you're on your own) but Tzafrir may disagree
and/or know more.

Thanks,
Faidon





More information about the Pkg-voip-maintainers mailing list