Hi
i was looking at the LCR module, and have tried to cmpile it later into my running ser, using make modules.
however I get the following errors:
lcr_mod.c: In function `load_gws': lcr_mod.c:570: error: `HDR_FROM_F' undeclared (first use in this function) lcr_mod.c:570: error: (Each undeclared identifier is reported only once lcr_mod.c:570: error: for each function it appears in.) lcr_mod.c: In function `next_gw': lcr_mod.c:671: error: structure has no member named `route_mode' lcr_mod.c: In function `load_contacts': lcr_mod.c:817: error: `nr_branches' undeclared (first use in this function) lcr_mod.c:830: error: too many arguments to function `next_branch' lcr_mod.c:852: error: too many arguments to function `next_branch' lcr_mod.c: In function `next_contacts': lcr_mod.c:934: error: structure has no member named `route_mode' make[1]: *** [lcr_mod.o] Error 1 make[1]: Leaving directory `/sip/srcfiles/sip_router/modules/lcr'
Has anyone come across this
tks
Iqbal
Iqbal writes:
lcr_mod.c: In function `load_gws': lcr_mod.c:570: error: `HDR_FROM_F' undeclared (first use in this function)
HDR_FROM_F is defined in HEAD.
lcr_mod.c:817: error: `nr_branches' undeclared (first use in this function)
nr_branches IS declared in 0.9.0.
so, please not try to take modules from HEAD and assume that would compile in older releases without modification.
-- juha
tks, worked it out once I went through CVS, tks anyhow
iqbal
On 3/2/2005, "Juha Heinanen" jh@lohi.tutpro.com wrote:
Iqbal writes:
lcr_mod.c: In function `load_gws': lcr_mod.c:570: error: `HDR_FROM_F' undeclared (first use in this function)
HDR_FROM_F is defined in HEAD.
lcr_mod.c:817: error: `nr_branches' undeclared (first use in this function)
nr_branches IS declared in 0.9.0.
so, please not try to take modules from HEAD and assume that would compile in older releases without modification.
-- juha