Hi,
I'm trying to use the CPL-C module in ser version 0.8.12 (stable). However, I cannot get it to compile. I'm getting the following error message:
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -Wa,-xarch=v8plus -DNAME='"cpl-c.so"' -DVERSION='"0.8.12"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 2.95"' -D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -I/usr/include/libxml2 -c cpl_run.c -o cpl_run.o In file included from cpl_run.c:829: cpl_proxy.h: In function `run_proxy': cpl_proxy.h:444: structure has no member named `register_req_cb' cpl_proxy.h:450: structure has no member named `register_req_cb' make: *** [cpl_run.o] Error 1
The above is a compile log from Solaris, however, I'm getting the same on Redhat 8. Any hints how to fix it?
Thanks, Mario
Hi Mario,
In version 0.8.12 cpl-c is not fully released, so, if you want to compile it you have to apply a patch on tm module. The patch file is located in modules/cpl-c/tm.patch. In sip_router directory, do "patch -p0<modules/cpl-c/tm.patch" After that everything should compile properly.
On the other hand you may try the CVS head version on which cpl-c is fully supported.
Regards, Bogdan
Mario Kolberg wrote:
Hi,
I'm trying to use the CPL-C module in ser version 0.8.12 (stable). However, I cannot get it to compile. I'm getting the following error message:
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -Wa,-xarch=v8plus -DNAME='"cpl-c.so"' -DVERSION='"0.8.12"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 2.95"' -D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -I/usr/include/libxml2 -c cpl_run.c -o cpl_run.o In file included from cpl_run.c:829: cpl_proxy.h: In function `run_proxy': cpl_proxy.h:444: structure has no member named `register_req_cb' cpl_proxy.h:450: structure has no member named `register_req_cb' make: *** [cpl_run.o] Error 1
The above is a compile log from Solaris, however, I'm getting the same on Redhat 8. Any hints how to fix it?
Thanks, Mario