Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
devel:create-library [2008/11/20 23:17]
miconda created
devel:create-library [2012/03/16 03:49]
109.230.216.60 kEOSeIcLsftMHzBWwWZ
Line 1: Line 1:
-====== How-To: Create a library in SIP Router ====== +Thanks for sharing sprueb informations. Your web-site is so cool. I'm impressed by the details that you’ve on this siteIt reveals how nicely you understand  this subjectBookmarked this website page, will come back for extra articlesYoumy palROCK! I found simply the information I already searched all over the place and simply couldn't come acrossWhat an ideal web site.
- +
-===== 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\'s Makefile (replace \'print\' with your lib name): +
- +
-<code> +
-SERLIBPATH=../../lib +
-# librariesin 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)