regexp.[ch] needs to be imported from k core into
lib/kcore and the
following patch should be applied:
--- ../../../kam-trunk/regexp.h 2009-03-09 19:41:18.000000000 -0400
+++ regexp.h 2009-03-14 14:16:02.000000000 -0400
@@ -32,7 +32,7 @@
#ifndef REGEXP_H
#define REGEXP_H
-#include "str.h"
+#include "../../str.h"
#define MAX_MATCH 6
--- ../../../kam-trunk/regexp.c 2009-03-09 19:41:18.000000000 -0400
+++ regexp.c 2009-03-14 14:16:29.000000000 -0400
@@ -33,7 +33,7 @@
#include <regex.h>
#include <ctype.h>
#include "regexp.h"
-#include "dprint.h"
+#include "../../dprint.h"
/*! \brief Replace in replacement tokens \\d with substrings of
string pointed by
* pmatch.
After that, the following patch should be applied to get one step
further in compiling domainpolicy and enum modules:
$ git diff
diff --git a/modules/domainpolicy/domainpolicy.c
b/modules/domainpolicy/domainpolicy.c
index 3d7ace5..ed7997f 100644
--- a/modules/domainpolicy/domainpolicy.c
+++ b/modules/domainpolicy/domainpolicy.c
@@ -46,7 +46,7 @@
#include "../../socket_info.h"
#include "../../resolve.h"
-#include "../../regexp.h"
+#include "../../lib/kcore/regexp.h"
#define IS_D2PNAPTR(naptr) ((naptr->services_len >= 7) &&
(!strncasecmp("D2P+SIP", naptr->services, 7)))
diff --git a/modules/enum/enum.c b/modules/enum/enum.c
index 486a049..b3f446c 100644
--- a/modules/enum/enum.c
+++ b/modules/enum/enum.c
@@ -34,7 +34,7 @@
#include "../../dset.h"
#include "../../qvalue.h"
#include "enum_mod.h"
-#include "../../regexp.h"
+#include "../../lib/kcore/regexp.h"
#include "../../pvar.h"
/*
Regards,
Ovidiu Sas
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev