Hello Henning,
thanks a lot for your
response and explanation. strutils.[c,h] and strcommon.[c,h] are almost
the same. So I modified my included header from stcommon[] to strutils
as you mentioned.
Unfortunately, I surfed sequentially
Kamailio version upgrades. Even though, i did not found such hints about
this modification. So I have some doubts the called headers and codes
from our own module. Hence, I am asking for yor advice.
What
I am trying to do now is compiliing our module separately under it is
own directory so I gain the Shared Object file (.so). Somehow our Module
is requring cds, presence and xcap libraries. But the strange thing is
that headers from these libraries are #including other headers assuming
these included header files are under the same library's directory (but
in fact most of the header files are under ../src/core/). For example :
Making in cds
CC (gcc) [L libser_cds.so.0.1] cds.o
In file included from cds.c:2:
/Abdul/install/clean_test/kamailio-5.1.4/src/lib/cds/../cds/memory.h:125:21: warning: mem/mem.h: No such file or directory
/Abdul/install/clean_test/kamailio-5.1.4/src/lib/cds/../cds/memory.h:126:25: warning: mem/shm_mem.h: No such file or directory
In file included from cds.c:3:
/Abdul/install/clean_test/kamailio-5.1.4/src/lib/cds/../cds/sync.h:30:22: warning: locking.h: No such file or directory
In file included from cds.c:4:
/Abdul/install/clean_test/kamailio-5.1.4/src/lib/cds/../cds/logger.h:42:20: error: dprint.h: No such file or directory
make[2]: *** [cds.o] Error 1
make[1]: [cds] Error 2 (ignored)
Those
libraries are delivered with version 5.1.4 itself so i do not think it
is a good idea to modify the paths of the included header files to
compile my module. because most probably these libraries are needed by
standard default modules of kamailio.
I hope this is not too much for you to inspect.
Note: The attached has the log files (
resulting
from make all and install
) .
Your kind response is highly appreciated
BR
Abdulaziz