Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devel:create-library [2012/03/15 14:50]
91.224.161.250 cdVevmpHmesayVKRBU
devel:create-library [2012/11/11 16:58] (current)
oej old revision restored
Line 1: Line 1:
-I intended to put you bit of ramrek just to thank you yet again over the beautiful principles you have discussed on this pageIt'so unbelievably open-handed with people like you to convey without restraint precisely what most of us could possibly have marketed as an e book in order to make some dough for their own end, notably seeing that you might have tried it if you decidedThese concepts in addition served to be the easy way to be aware that the rest have the identical interest the same as my very own to know the truth somewhat more with respect to this matterI am certain there are many more pleasant periods in the future for folks who read carefully your website.+====== How-To: Create and use library in SIP Router ====== 
 + 
 +===== Create a library ===== 
 + 
 +  * make a new directory in ''lib'' folder 
 +  * copy there the Makefile from ''lib/print/'' and change the name in it 
 +  * add your ''.c'' and ''.h'' files. 
 + 
 +===== Use a library from a module ===== 
 + 
 +  * add to the module'Makefile (replace ''print'' with your lib name): 
 + 
 +<code> 
 +SERLIBPATH=../../lib 
 +# libraries, in the format path/shortname , where shortname is 
 +# what will be used for -l 
 +SER_LIBS=$(SERLIBPATH)/print/print 
 +</code> 
 + 
 +Compiling the module will re-compile the library automatically if needed (e.g. some change in it). ''make install'' will also re-link the module (needed to change the rpath).

Navigation

Wiki

Other

QR Code
QR Code devel:create-library (generated for current page)