[sr-dev] How to compile Kamailio AVPOPS module in SR?

Edson - Lists 4lists at gmail.com
Fri Jun 26 16:34:20 CEST 2009


Hi, Guys...

I'm, finally, after compilation success, migrating my config to test SR 
functionality. But now I need some AVP functionality... I see that they 
are SER and Kamailio AVPOPS. If I include AVPOPS on the "include_module" 
of the "make" command, it try to compile SER module and it is giving me 
the following error:

make[1]: Entering directory `/root/sr/sip-router/modules_s/avpops'
gcc -fPIC -DPIC -g -O9 .................................... 
-DMOD_NAME='"avpops"' -c avpops.c -o avpops.o

In file included from avpops_impl.h:41,
                 from avpops_parse.h:38,
                 from avpops.c:50:
avpops_db.h:66: error: expected â)â before â*â token
make[1]: *** [avpops.o] Error 1
make[1]: Leaving directory `/root/sr/sip-router/modules_s/avpops'
make: *** [install-modules_s] Error 1

I try to find the error, but nothing catch my attention...

The compilation output shows:

config.mak included
make[1]: Entering directory `/root/sr/sip-router/modules/db_mysql'
make[1]: Nothing to be done for `man'.
make[1]: Leaving directory `/root/sr/sip-router/modules/db_mysql'

make: *** modules_s/db_mysql: No such file or directory.  Stop.
make: [modules_s-man] Error 1 (ignored)

make: *** modules_k/db_mysql: No such file or directory.  Stop.
make: [modules_k-man] Error 1 (ignored)

Indicating that compilation process looks for "db_mysql" module on k and 
s subdirectories...

So, how to compile just Kamailio or SER version of a desired module (in 
my case AVPOPS)?

Edson.



More information about the sr-dev mailing list