[SR-Users] Compiling only one module

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 21 13:43:05 CEST 2015


Hello,

On 17/07/15 17:43, Loic Chabert wrote:
> Hello Daniel,
>
> I have used this command before, but no compilation.
> Tell me if something is wrong on my process:
> - Copy src directory to <kamailiosrc>/modules
> - Create make file corresponding to my module
> - Execute your command to make binaries
>
> My files should have a special permissions ? The output module
> compiled has been stored on other location ?

The folder should be read/write. The output is stored in the same
folder. You can go in the folder of the module and do there make.

Try to run make with debug enabled if you don't get anything to see what
it tries to do.

Cheers,
Daniel

>
> Regards.
>
> 2015-07-17 16:38 GMT+02:00 Daniel-Constantin Mierla <miconda at gmail.com
> <mailto:miconda at gmail.com>>:
>
>     Hello,
>
>     use:
>
>     make modules modules=modules/influxdb
>
>     (replace influxdb with what the actual name of the module is).
>
>     I added an entry in the FAQ for it, with some more details, see:
>
>     https://www.kamailio.org/wiki/tutorials/faq/main#modules
>
>     Cheers,
>     Daniel
>
>
>     On 17/07/15 13:12, Loic Chabert wrote:
>>     Hello,
>>
>>     I'm writing a new module for influxdb stats.
>>     I've wrote my code and now i need to compile it. How can i
>>     compile it ? I don't want to compile all modules, only this one.
>>
>>     Thanks in advance,
>>     Regards.
>>
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>     -- 
>     Daniel-Constantin Mierla
>     http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>     Book: SIP Routing With Kamailio - http://www.asipto.com
>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150721/23e49ab0/attachment.html>


More information about the sr-users mailing list