I'm trying to compile ser 0.8.13-dev-33-usrloc (i386/linux)
i get the following errors:
make[1]: Entering directory `/usr/local/src/cvsser/sip_router/modules/cpl' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.13-dev-33-usrloc"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -c cpl.c -o cpl.o cpl.c: In function `cpl_run_script': cpl.c:118: error: `sock_info' undeclared (first use in this function) cpl.c:118: error: (Each undeclared identifier is reported only once cpl.c:118: error: for each function it appears in.) cpl.c: In function `cpl_update_contact': cpl.c:204: warning: implicit declaration of function `build_lump_rpl' cpl.c:204: warning: assignment makes pointer from integer without a cast cpl.c:211: warning: passing arg 2 of `add_lump_rpl' from incompatible pointer type cpl.c:211: error: too few arguments to function `add_lump_rpl' make[1]: *** [cpl.o] Error 1 make[1]: Leaving directory `/usr/local/src/cvsser/sip_router/modules/cpl'
make[1]: Entering directory `/usr/local/src/cvsser/sip_router/modules/extcmd' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.13-dev-33-usrloc"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -c extcmd_funcs.c -o extcmd_funcs.o extcmd_funcs.c: In function `tuac_callback': extcmd_funcs.c:327: error: structure has no member named `cbp' extcmd_funcs.c:336: error: structure has no member named `cbp' extcmd_funcs.c: In function `send_sip_req': extcmd_funcs.c:435: warning: passing arg 7 of pointer to function from incompatible pointer type make[1]: *** [extcmd_funcs.o] Error 1 make[1]: Leaving directory `/usr/local/src/cvsser/sip_router/modules/extcmd'
Hi Jesus,
this two modules are old, so they are not supoorted anymore. Please put them back in "exclude_modules" in Makefile.
bogdan
Jesus Bernardo Ruiz Flores wrote:
I'm trying to compile ser 0.8.13-dev-33-usrloc (i386/linux)
i get the following errors:
make[1]: Entering directory `/usr/local/src/cvsser/sip_router/modules/cpl' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.13-dev-33-usrloc"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -c cpl.c -o cpl.o cpl.c: In function `cpl_run_script': cpl.c:118: error: `sock_info' undeclared (first use in this function) cpl.c:118: error: (Each undeclared identifier is reported only once cpl.c:118: error: for each function it appears in.) cpl.c: In function `cpl_update_contact': cpl.c:204: warning: implicit declaration of function `build_lump_rpl' cpl.c:204: warning: assignment makes pointer from integer without a cast cpl.c:211: warning: passing arg 2 of `add_lump_rpl' from incompatible pointer type cpl.c:211: error: too few arguments to function `add_lump_rpl' make[1]: *** [cpl.o] Error 1 make[1]: Leaving directory `/usr/local/src/cvsser/sip_router/modules/cpl'
make[1]: Entering directory `/usr/local/src/cvsser/sip_router/modules/extcmd' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.13-dev-33-usrloc"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -c extcmd_funcs.c -o extcmd_funcs.o extcmd_funcs.c: In function `tuac_callback': extcmd_funcs.c:327: error: structure has no member named `cbp' extcmd_funcs.c:336: error: structure has no member named `cbp' extcmd_funcs.c: In function `send_sip_req': extcmd_funcs.c:435: warning: passing arg 7 of pointer to function from incompatible pointer type make[1]: *** [extcmd_funcs.o] Error 1 make[1]: Leaving directory `/usr/local/src/cvsser/sip_router/modules/extcmd'
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers