R: R: [Serusers] cpl adding to ser

Rafael Morón rafaelm at tid.es
Tue Mar 23 13:49:12 CET 2004


Hello!

I am having a lot of trouble when trying to compile the cpl-c adding with
ser-0.8-12. I can find no patch for it. I can neither compile it with the
CVS version of t_reply.c. I've tried to install the 0.8.11r1 version of SER,
removed some lines in the exclude_modules of the Makefile, and left it like
this:

exclude_modules?=                       ext extcmd mangler pdt \
                                                        postgres snmp \
                                                        im radius_acc
radius_auth \
                                                         \
Everything compiles OK, but I copy the .so files to the /usr/lib/ser/modules
folder and try to load cpl-c:

(...)

loadmodule "/usr/lib/ser/modules/mysql.so"

loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
loadmodule "/usr/lib/ser/modules/textops.so"
loadmodule "/usr/lib/ser/modules/pa.so"
loadmodule "/usr/lib/ser/modules/jabber.so"
#loadmodule "/usr/lib/ser/modules/print.so"


loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_db.so"
#loadmodule "/usr/lib/ser/modules/auth_radius.so"

#loadmodule "/usr/lib/ser/modules/uri.so"
#loadmodule "/usr/lib/ser/modules/uri_radius.so"

loadmodule "/usr/lib/ser/modules/acc.so"

loadmodule "/usr/lib/ser/modules/cpl-c.so

(...)

But I get the following error when trying to run ser:

 0(6357) ERROR: load_module: could not open module
</usr/lib/ser/modules/cpl-c.so>: /usr/lib/ser/modules/cpl-c.so: undefined
symbol: db_update
 0(6357) parse error (56,13-43): failed to load module

Mysql is the first module to be loaded. I don't know what am I doing wrong.
Could you possibly help me to compile ser with cpl-c (any version will be
ok).

Thanks and please forgive me for writting such a long message!



----- Original Message ----- 
From: "Bogdan-Andrei IANCU" <iancu at fokus.fraunhofer.de>
To: "Izzi Fiorenzo" <fizzi at seltatel.it>; <serusers at lists.iptel.org>
Sent: Thursday, March 18, 2004 5:41 PM
Subject: Re: R: R: [Serusers] cpl adding to ser


> Hi Izzi,
>
> As I told you, maybe the patch is outdated. Please switch to the
> unstable version (CVS head) because you don't need anything special for
> cpl-c. Meanwhile I will try to take a look to 0.8.12 patch.
>
> Regards,
> Bogdan
>
> Izzi Fiorenzo wrote:
>
> > Hi Bogdan
> > I applied ptm patch as you said, but I had as result of compilation:
> >
> > [root at localhost ser-0.8.12-con_tm_patch]# make modules > errore1
> > t_reply.c: In function `run_failure_handlers':
> > t_reply.c:492: structure has no member named `body_lumps'
> > t_reply.c:493: structure has no member named `body_lumps'
> > t_reply.c:493: structure has no member named `body_lumps'
> > t_reply.c:494: structure has no member named `body_lumps'
> > t_reply.c:527: structure has no member named `body_lumps'
> > t_reply.c:528: structure has no member named `body_lumps'
> > t_reply.c: In function `t_should_relay_response':
> > t_reply.c:654: warning: implicit declaration of function `failure_route'
> > make[1]: *** [t_reply.o] Error 1
> >
> > If compile with old (of ser0.8.12) t_reply.c file, compilation is OK.
> >
> > I think there is something wrong or missing in t_reply.c patch.
> >
> > It seemd to me there was an "s" exceeding in "body_lumps" and
> > eliminated it, but error remained.
> >
> > I attach my new t_replay.c with patch.
> >
> > Ciao.
> >
> > Enzo
> >
> >
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list