[asterisk-dev] asterisk: symbol lookup error

Vadim Lebedev vadim at mbdsys.com
Fri May 23 19:55:18 CDT 2008


Le 23 mai 08 à 16:13, cristina at intecdom.es a écrit :

> hello!!
>
> iam trying to introduce the codec melp in asterisk and everything is  
> rigth
> till the moment i start asterisk i've got this problem:
>
> chan_mgcp.so => (Media Gateway Control Protocol (MGCP))
>  == Parsing '/etc/asterisk/codecs.conf': Found
>    -- codec_melp: using generic PLC
> asterisk: symbol lookup error: /usr/lib/asterisk/modules/ 
> codec_melp.so:
> undefined symbol: melp_decode
>
> and melp_decode is my function
>
> please help me!!
>
> thankssssssssss
>
>

Let me guess ,  codec_melp is a C++  file.
If so declare melp_decode  as extern "C".


Thanks
Vadim

> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list