Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devel:create-library [2012/03/16 03:49] 109.230.216.60 kEOSeIcLsftMHzBWwWZ |
devel:create-library [2012/11/11 16:58] (current) oej old revision restored |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Thanks for sharing sprueb informations. Your web-site is so cool. I'm impressed by the details that you’ve on this site. It reveals how nicely you understand | + | ====== How-To: Create and use a library in SIP Router ====== |
+ | |||
+ | ===== Create a library ===== | ||
+ | |||
+ | * make a new directory in '' | ||
+ | * copy there the Makefile from '' | ||
+ | * add your '' | ||
+ | |||
+ | ===== Use a library from a module ===== | ||
+ | |||
+ | * add to the module' | ||
+ | |||
+ | < | ||
+ | SERLIBPATH=../../lib | ||
+ | # libraries, in the format path/ | ||
+ | # what will be used for -l | ||
+ | SER_LIBS=$(SERLIBPATH)/ | ||
+ | </ | ||
+ | |||
+ | Compiling |